GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
gcg::AbstractColumn Class Referenceabstract

Detailed Description

storage for column information

Definition at line 81 of file dialog_explore.cpp.

Public Member Functions

 AbstractColumn (const char *columnHeader, const char *columnDesc, RETTYPE columnType)
virtual ~AbstractColumn ()=default
virtual int compareValues (PARTIALDECOMP *firstdec, PARTIALDECOMP *seconddec)=0
virtual std::string getValueAsString (PARTIALDECOMP *partialdec)=0
RETTYPE getReturnType () const

Data Fields

std::string header
std::string desc

Constructor & Destructor Documentation

◆ AbstractColumn()

gcg::AbstractColumn::AbstractColumn ( const char * columnHeader,
const char * columnDesc,
RETTYPE columnType )
inline

Definition at line 84 of file dialog_explore.cpp.

References desc, and header.

Referenced by gcg::Column< T >::Column().

◆ ~AbstractColumn()

virtual gcg::AbstractColumn::~AbstractColumn ( )
virtualdefault

Member Function Documentation

◆ compareValues()

virtual int gcg::AbstractColumn::compareValues ( PARTIALDECOMP * firstdec,
PARTIALDECOMP * seconddec )
pure virtual

Implemented in gcg::Column< T >.

◆ getValueAsString()

virtual std::string gcg::AbstractColumn::getValueAsString ( PARTIALDECOMP * partialdec)
pure virtual

Implemented in gcg::Column< T >.

◆ getReturnType()

RETTYPE gcg::AbstractColumn::getReturnType ( ) const
inline

Definition at line 93 of file dialog_explore.cpp.

Referenced by gcg::Column< T >::compareValues().

Field Documentation

◆ header

std::string gcg::AbstractColumn::header

table header of the column

Definition at line 95 of file dialog_explore.cpp.

Referenced by AbstractColumn().

◆ desc

std::string gcg::AbstractColumn::desc

description of the column entries used in the menu help

Definition at line 96 of file dialog_explore.cpp.

Referenced by AbstractColumn().