ClarisWksDatabaseInternal::Field Struct Reference documentation

Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ClarisWksDatabaseInternal::Field Struct Reference

## 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 More...
int | m_resType
| the result type More...
std::string | m_name
| the field name More...
std::string | m_default
| the default value More...

## Friends
std::ostream & | operator<< (std::ostream &o, Field const &field)
| operator<< More...

## Member Enumeration Documentation

## § Type

enum ClarisWksDatabaseInternal::Field::Type

Enumerator
F_Unknown |
F_Text |
F_Number |
F_Date |
F_Time |
F_Formula |
F_FormulaSum |
F_Checkbox |
F_PopupMenu |
F_RadioButton |
F_ValueList |
F_Multimedia |

## Constructor & Destructor Documentation

## § Field()

ClarisWksDatabaseInternal::Field::Field | ( |  | ) |
| inline

## Member Function Documentation

## § getNumDefault()

int ClarisWksDatabaseInternal::Field::getNumDefault | ( | int | version | ) | const
| inline

Referenced by ClarisWksDatabase::readDefaults().

## § isFormula()

bool ClarisWksDatabaseInternal::Field::isFormula | ( |  | ) | const
| inline

Referenced by ClarisWksDatabase::readDefaults().

## § isText()

bool ClarisWksDatabaseInternal::Field::isText | ( |  | ) | const
| inline

Referenced by ClarisWksDatabase::readDefaults().

## Friends And Related Function Documentation

## § operator<<

std::ostream& operator<< | ( | std::ostream & | o,
|  | Field const & | field
| ) |  |
| friend

operator<<

## Member Data Documentation

## § m_default

std::string ClarisWksDatabaseInternal::Field::m_default

the default value

## § m_defType

int ClarisWksDatabaseInternal::Field::m_defType

the local definition type

Referenced by getNumDefault(), and ClarisWksDatabase::readFields().

## § m_name

std::string ClarisWksDatabaseInternal::Field::m_name

the field name

Referenced by ClarisWksDatabase::readFields().

## § m_resType

int ClarisWksDatabaseInternal::Field::m_resType

the result type

Referenced by ClarisWksDatabase::readFields().

## § m_type

Type ClarisWksDatabaseInternal::Field::m_type

Referenced by getNumDefault(), isFormula(), isText(), ClarisWksDatabase::readDefaults(), and ClarisWksDatabase::readFields().

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

- ClarisWksDatabase.cxx