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

Field Class Reference

#include <openrj/cpp/field.hpp>

List of all members.


Detailed Description

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

example_cpp_1.cpp, example_cpp_5.cpp, and example_cpp_6.cpp.


Public Member Functions

Construction
 Field ()
 Default constructor.
 Field (class_type const &rhs)
 Copy constructor.
class_typeoperator= (class_type const &rhs)
 Copy assignment operator.
Attributes
char const * GetName () const
 Returns the name of the field.
char const * GetValue () const
 Returns the value of the field.
Comparison
Attributes
ORJField const * GetField () const
 Provides access to the underlying field pointer.
ORJRecord const * GetRecord () const
 Provides access to the field's record, in the form of its underlying field pointer.


Constructor & Destructor Documentation

Field (  )  [inline]

Default constructor.

Field ( class_type const &  rhs  )  [inline]

Copy constructor.


Member Function Documentation

ORJField const* GetField (  )  const [inline]

Provides access to the underlying field pointer.

char const* GetName (  )  const [inline]

Returns the name of the field.

ORJRecord const* GetRecord (  )  const [inline]

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

char const* GetValue (  )  const [inline]

Returns the value of the field.

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

Copy assignment operator.


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

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