An attribute ID is used to carry attribute types (no values) around.
Definition attrid.h:20
AccessMode GetAccessMode() const
get access type
Definition attrid.h:304
const Util::FourCC & GetFourCC() const
get fourcc code
Definition attrid.h:293
const Util::String & GetName() const
get attribute name
Definition attrid.h:271
ValueType GetValueType() const
get value type
Definition attrid.h:315
Describes a column in a database table.
Definition column.h:23
Attr::AttrId attrId
Definition column.h:59
Type type
Definition column.h:60
bool committed
Definition column.h:61
bool IsCommitted() const
return true if the column has been sync'd with the database
Definition column.h:149
void SetAttrId(const Attr::AttrId &attrId)
set attribute id (overrides name, fourcc, type and access mode)
Definition column.h:68
Attr::AccessMode GetAccessMode() const
get column access mode
Definition column.h:113
Type
column types
Definition column.h:27
@ Primary
Definition column.h:29
@ Default
Definition column.h:28
@ Indexed
Definition column.h:30
void SetType(Type t)
set column type
Definition column.h:122
Column()
default constructor
Definition column.cc:14
void SetCommitted(bool b)
set to true when the column is in-sync with the database
Definition column.h:140
const Attr::AttrId & GetAttrId() const
get attribute id
Definition column.h:77
Type GetType() const
get column type
Definition column.h:131
const Util::FourCC & GetFourCC() const
get column fourcc
Definition column.h:95
const Util::String & GetName() const
get column name
Definition column.h:86
Attr::ValueType GetValueType() const
get column value type
Definition column.h:104
A four-character-code is a quasi-human-readable 32-bit-id.
Definition fourcc.h:19
ValueType
Definition valuetype.h:20
Nebula's universal string class.
Definition string.h:50