Open-RJ C/C++ User's Journal Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

field Class Reference

#include <openrj/stl/field.hpp>

List of all members.


Detailed Description

This class represents a field in a record in the database.
Examples:

example_stl_1.cpp, example_stl_2.cpp, and example_stl_7.cpp.


Public Member Functions

Construction
 field (ORJField const *field)
 Conversion constructor.
 field ()
 Default constructor.
 field (field const &rhs)
 Copy constructor.
fieldoperator= (field const &rhs)
 Copy assignment operator.
Attributes
string_t name () const
 The name of the field.
string_t value () const
 The value of the field.
Attributes
ORJField const * get_field () const
 Provides access to the underlying field pointer.
ORJRecord const * get_record () const
 Provides access to the field's record, in the form of its underlying field pointer.


Constructor & Destructor Documentation

field ( ORJField const *  field  )  [inline, explicit]

Conversion constructor.

field (  )  [inline]

Default constructor.

field ( field const &  rhs  )  [inline]

Copy constructor.


Member Function Documentation

ORJField const * get_field (  )  const [inline]

Provides access to the underlying field pointer.

ORJRecord const * get_record (  )  const [inline]

Provides access to the field's record, in the form of its underlying field pointer.

string_t name (  )  const [inline]

The name of the field.

field & operator= ( field const &  rhs  )  [inline]

Copy assignment operator.

string_t value (  )  const [inline]

The value of the field.


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

Open-RJ Library documentation © Synesis Software Pty Ltd, 2004-2005