OpenASIP  2.0
Public Member Functions | Private Member Functions | List of all members
EntryKeyData Class Referenceabstract

#include <EntryKeyData.hh>

Inheritance diagram for EntryKeyData:
Inheritance graph
Collaboration diagram for EntryKeyData:
Collaboration graph

Public Member Functions

 EntryKeyData ()
 
virtual ~EntryKeyData ()
 
virtual EntryKeyDatacopy () const =0
 Copies data. More...
 
virtual bool isEqual (const EntryKeyData *) const =0
 Checks if two data are equal. More...
 
virtual bool isGreater (const EntryKeyData *) const =0
 Checks if this data is greater than another data. More...
 
virtual bool isSmaller (const EntryKeyData *) const =0
 Checks if this data is smaller than another data. More...
 
virtual double coefficient (const EntryKeyData *, const EntryKeyData *) const =0
 Returns the relative position between two data. More...
 
virtual std::string toString () const =0
 Converts the data into a string. More...
 

Private Member Functions

 EntryKeyData (const EntryKeyData &)
 Copying not allowed. More...
 
EntryKeyDataoperator= (const EntryKeyData &)
 Assignment not allowed. More...
 

Detailed Description

Interface for the data of the entry field.

Definition at line 53 of file EntryKeyData.hh.

Constructor & Destructor Documentation

◆ EntryKeyData() [1/2]

EntryKeyData::EntryKeyData ( )

Default constructor.

Definition at line 57 of file EntryKeyData.cc.

57  {
58 }

◆ ~EntryKeyData()

EntryKeyData::~EntryKeyData ( )
virtual

Destructor.

Definition at line 63 of file EntryKeyData.cc.

63  {
64 }

◆ EntryKeyData() [2/2]

EntryKeyData::EntryKeyData ( const EntryKeyData )
private

Copying not allowed.

Member Function Documentation

◆ coefficient()

virtual double EntryKeyData::coefficient ( const EntryKeyData ,
const EntryKeyData  
) const
pure virtual

Returns the relative position between two data.

Implemented in EntryKeyDataFunctionUnit, EntryKeyDataBool, EntryKeyDataOperationSet, EntryKeyDataDouble, and EntryKeyDataInt.

Referenced by EntryKeyField::coefficient().

◆ copy()

virtual EntryKeyData* EntryKeyData::copy ( ) const
pure virtual

◆ isEqual()

virtual bool EntryKeyData::isEqual ( const EntryKeyData ) const
pure virtual

◆ isGreater()

virtual bool EntryKeyData::isGreater ( const EntryKeyData ) const
pure virtual

Checks if this data is greater than another data.

Implemented in EntryKeyDataFunctionUnit, EntryKeyDataBool, EntryKeyDataOperationSet, EntryKeyDataDouble, and EntryKeyDataInt.

Referenced by EntryKeyField::isGreater().

◆ isSmaller()

virtual bool EntryKeyData::isSmaller ( const EntryKeyData ) const
pure virtual

Checks if this data is smaller than another data.

Implemented in EntryKeyDataFunctionUnit, EntryKeyDataBool, EntryKeyDataOperationSet, EntryKeyDataDouble, and EntryKeyDataInt.

Referenced by EntryKeyField::isSmaller().

◆ operator=()

EntryKeyData& EntryKeyData::operator= ( const EntryKeyData )
private

Assignment not allowed.

◆ toString()

virtual std::string EntryKeyData::toString ( ) const
pure virtual

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