FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | List of all members
FFaFieldUnsignedInt Class Reference

Same as FFaField<int>, but hiding negative-valued instances. More...

#include <FmLink.H>

Inheritance diagram for FFaFieldUnsignedInt:
Inheritance graph
[legend]
Collaboration diagram for FFaFieldUnsignedInt:
Collaboration graph
[legend]

Public Member Functions

bool isPrintable () const final
 Returns true, if this field should be printed. More...
 
- Public Member Functions inherited from FFaField< int >
 FFaField ()
 Empty default constructor. More...
 
virtual ~FFaField ()
 Empty destructor. More...
 
int & operator= (const int &data)
 Assignment operator. More...
 
const int & getValue () const
 Returns a const reference to myData. More...
 
int & getValue ()
 Returns a reference to myData (for update). More...
 
bool setValue (const int &newData, bool checkChanged=true)
 Assigns a new value to the field. More...
 
bool setDefaultValue (const int &defaultVal, bool checkChanged=true)
 Assigns the default value of the field. More...
 
void reset () final
 Resets the field value to its default value. More...
 
void updateDefault () final
 Updates the default value of the field. More...
 
bool isDefault () const final
 Returns true, if the field value equals its default value. More...
 
bool isDataField () const override
 Returns true, if this is a numerical data field. More...
 
bool isPrintable () const override
 Returns true, if this field should be printed. More...
 
bool isPrintable () const
 Returns true, if this field should be printed. More...
 
- Public Member Functions inherited from FFaFieldBase
virtual void calculateChecksum (FFaCheckSum *) const
 Calculates the checksum of the field valiue. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FFaField< int >
FFaFieldBase * copy (const FFaFieldBase *field, bool defaultValueToo) override
 Copies another database field into *this. More...
 
void write (std::ostream &os) const override
 Writes the field name and value to an output stream. More...
 
void write (std::ostream &os) const
 
void read (std::istream &is) override
 Reads the field value from an input stream. More...
 
void read (std::istream &is, FmBlockPortReference &v) const
 
- Protected Member Functions inherited from FFaFieldBase
 FFaFieldBase ()
 Empty default constructor. More...
 
virtual ~FFaFieldBase ()
 Empty destructor. More...
 
- Static Protected Member Functions inherited from FFaFieldBase
static void writeString (std::ostream &os, const std::string &str, const char *pfx=NULL)
 Writes the string value str to the output stream os. More...
 
static void readString (std::istream &is, std::string &str)
 Reads a string value from an input stream. More...
 
static void readStrings (std::istream &os, Strings &str)
 Reads a list of string values from an input stream. More...
 
static bool readInt (std::istream &is, int &val, bool silence=false)
 Reads an integer value from an input stream. More...
 
- Protected Attributes inherited from FFaField< int >
int myData
 Current field value. More...
 
int myDefaultValue
 Default field value. More...
 

Detailed Description

Same as FFaField<int>, but hiding negative-valued instances.

Member Function Documentation

◆ isPrintable()

bool FFaFieldUnsignedInt::isPrintable ( ) const
inlinefinalvirtual

Returns true, if this field should be printed.

Implements FFaFieldBase.


The documentation for this class was generated from the following file: