ClarisWksDatabaseInternal::Field Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

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

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

## Member Function Documentation

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

Referenced by ClarisWksDatabase::readDefaults().

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

Referenced by ClarisWksDatabase::readDefaults().

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

Referenced by ClarisWksDatabase::readDefaults().

## Friends And Related Function Documentation

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

operator<<

## Member Data Documentation

std::string ClarisWksDatabaseInternal::Field::m_default

the default value

int ClarisWksDatabaseInternal::Field::m_defType

the local definition type

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

std::string ClarisWksDatabaseInternal::Field::m_name

the field name

Referenced by ClarisWksDatabase::readFields().

int ClarisWksDatabaseInternal::Field::m_resType

the result type

Referenced by ClarisWksDatabase::readFields().

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