FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | Protected Member Functions | List of all members
FFaNoPrintField< valueT > Class Template Reference

Subclass used for internal fields that should not be printed. More...

#include <FFaField.H>

Inheritance diagram for FFaNoPrintField< valueT >:
Inheritance graph
[legend]
Collaboration diagram for FFaNoPrintField< valueT >:
Collaboration graph
[legend]

Public Member Functions

bool isPrintable () const final
 Returns false, since this field should never be printed. More...
 
- Public Member Functions inherited from FFaField< valueT >
 FFaField ()
 Empty default constructor. More...
 
virtual ~FFaField ()
 Empty destructor. More...
 
valueT & operator= (const valueT &data)
 Assignment operator. More...
 
const valueT & getValue () const
 Returns a const reference to myData. More...
 
valueT & getValue ()
 Returns a reference to myData (for update). More...
 
bool setValue (const valueT &newData, bool checkChanged=true)
 Assigns a new value to the field. More...
 
bool setDefaultValue (const valueT &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...
 

Protected Member Functions

void write (std::ostream &) const final
 Overridden to do nothing. More...
 
void read (std::istream &) final
 Overridden to do nothing. More...
 
- Protected Member Functions inherited from FFaField< valueT >
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...
 

Additional Inherited Members

- 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< valueT >
valueT myData
 Current field value. More...
 
valueT myDefaultValue
 Default field value. More...
 

Detailed Description

template<class valueT>
class FFaNoPrintField< valueT >

Subclass used for internal fields that should not be printed.

Member Function Documentation

◆ isPrintable()

template<class valueT >
bool FFaNoPrintField< valueT >::isPrintable ( ) const
inlinefinalvirtual

Returns false, since this field should never be printed.

Implements FFaFieldBase.

◆ read()

template<class valueT >
void FFaNoPrintField< valueT >::read ( std::istream &  )
inlinefinalprotectedvirtual

Overridden to do nothing.

Implements FFaFieldBase.

◆ write()

template<class valueT >
void FFaNoPrintField< valueT >::write ( std::ostream &  ) const
inlinefinalprotectedvirtual

Overridden to do nothing.

Implements FFaFieldBase.


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