Public Types | |
enum | Type { F_Unknown, F_Text, F_Number, F_Date, F_Time, F_Formula, F_FormulaSum, F_Checkbox, F_PopupMenu, F_RadioButton, F_ValueList, F_Multimedia } |
Public Member Functions | |
Field () | |
bool | isText () const |
bool | isFormula () const |
int | getNumDefault (int version) const |
Public Attributes | |
Type | m_type |
int | m_defType |
the local definition type | |
int | m_resType |
the result type | |
std::string | m_name |
the field name | |
std::string | m_default |
the default value | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Field const &field) |
operator<< |
CWDatabaseInternal::Field::Field | ( | ) | [inline] |
int CWDatabaseInternal::Field::getNumDefault | ( | int | version | ) | const [inline] |
Referenced by CWDatabase::readDefaults().
bool CWDatabaseInternal::Field::isFormula | ( | ) | const [inline] |
Referenced by CWDatabase::readDefaults().
bool CWDatabaseInternal::Field::isText | ( | ) | const [inline] |
Referenced by CWDatabase::readDefaults().
std::ostream& operator<< | ( | std::ostream & | o, |
Field const & | field | ||
) | [friend] |
operator<<
std::string CWDatabaseInternal::Field::m_default |
the default value
the local definition type
Referenced by getNumDefault(), and CWDatabase::readFields().
std::string CWDatabaseInternal::Field::m_name |
the field name
Referenced by CWDatabase::readFields().
the result type
Referenced by CWDatabase::readFields(), and CWDatabase::sendDatabase().
Referenced by getNumDefault(), isFormula(), isText(), CWDatabase::readDefaults(), CWDatabase::readFields(), and CWDatabase::sendDatabase().