Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

c4_Reference Class Reference

A reference is used to get or set typed data, using derived classes. More...

#include <mk4.h>

Inheritance diagram for c4_Reference:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 c4_Reference (const c4_RowRef &, const c4_Property &)
 Constructor.
c4_Referenceoperator= (const c4_Reference &)
 Assignment of one data item.
int GetSize () const
 Return width of the referenced data item.
bool GetData (c4_Bytes &) const
 Retrieve the value of the referenced data item.
void SetData (const c4_Bytes &) const
 Store a value into the referenced data item.

Protected Attributes

c4_Cursor _cursor
 The cursor which points to the data.
const c4_Property_property
 The property associated to this reference.

Friends

bool operator== (const c4_Reference &, const c4_Reference &)
 Return true if the contents of both references is equal.
bool operator!= (const c4_Reference &, const c4_Reference &)
 Return true if the contents of both references is not equal.

Detailed Description

A reference is used to get or set typed data, using derived classes.


The documentation for this class was generated from the following files:

Metakit C++ API Reference - https://www.equi4.com/metakit.html - extracted with Doxygen