ldas-tools-framecpp
2.7.0
|
Implementation of FrTable according to the frame specification. More...
#include <FrTable.hh>
Public Types | |
typedef std::vector< STRING > | column_name_container_type |
Collection of column names. More... | |
typedef std::vector< STRING > | column_name_container_type |
Collection of column names. More... | |
typedef INT_4U | nRow_type |
Storage class for the number of rows. More... | |
typedef INT_4U | nRow_type |
Storage class for the number of rows. More... | |
typedef INT_2U | nColumn_type |
Storage class for the number of columns. More... | |
typedef INT_2U | nColumn_type |
Storage class for the number of columns. More... | |
Public Member Functions | |
virtual cmn_streamsize_type | Bytes (const Common::StreamBase &Stream) const |
Stream size of object. More... | |
virtual FrTable * | Create (istream_type &Stream) const |
constructor - virtual | |
virtual const char * | ObjectStructName () const |
Retrieve the class name of the object. More... | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. More... | |
bool | operator== (const FrTable &RHS) const |
comparison operator More... | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
comparison operator | |
virtual cmn_streamsize_type | Bytes (const Common::StreamBase &Stream) const |
Stream size of object. More... | |
virtual FrTable * | Create (istream_type &Stream) const |
constructor - virtual | |
virtual const char * | ObjectStructName () const |
Retrieve the class name of the object. More... | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. More... | |
bool | operator== (const FrTable &RHS) const |
comparison operator More... | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
comparison operator | |
class_type | GetClass () const |
Retrieve the class identifier. More... | |
class_type | GetClass () const |
Retrieve the class identifier. More... | |
const Description * | GetDescription () const |
Retrieve FrSH/FrSE description of the parent object. More... | |
const Description * | GetDescription () const |
Retrieve FrSH/FrSE description of the parent object. More... | |
ostream_type & | WriteNext (ostream_type &Stream) const |
Write a next pointer to the parent to the stream. More... | |
ostream_type & | WriteNext (ostream_type &Stream) const |
Write a next pointer to the parent to the stream. More... | |
virtual Object * | Create () const |
constructor - virtual | |
virtual Object * | Create (std::istream &Buffer) const |
constructor - virtual | |
virtual Object * | Clone () const |
constructor - virtual copy constructor | |
virtual Object * | Clone () const |
constructor - virtual copy constructor | |
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
Verify an object. More... | |
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
Verify an object. More... | |
column_name_container_type | GetColumnName () const |
Retrieve the list of column names. More... | |
column_name_container_type | GetColumnName () const |
Retrieve the list of column names. More... | |
nColumn_type | GetNColumn () const |
Retrieve the number of columns. More... | |
nColumn_type | GetNColumn () const |
Retrieve the number of columns. More... | |
nRow_type | GetNRow () const |
Retrieve the number of rows. More... | |
nRow_type | GetNRow () const |
Retrieve the number of rows. More... | |
const column_type & | RefColumn () const |
Retrieve reference to columns. More... | |
column_type & | RefColumn () |
Retrieve reference to columns. More... | |
const column_type & | RefColumn () const |
Retrieve reference to columns. More... | |
column_type & | RefColumn () |
Retrieve reference to columns. More... | |
Static Public Member Functions | |
static const Common::Description * | StructDescription () |
Full description for the FrTable structure. More... | |
static const char * | StructName () |
Name of the frame specification structure. More... | |
static const Common::Description * | StructDescription () |
Full description for the FrTable structure. More... | |
static const char * | StructName () |
Name of the frame specification structure. More... | |
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
Down grade an object. More... | |
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
Down grade an object. More... | |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
Upgrade an object. More... | |
template<typename PreviousType , typename CurrentType > | |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
Upgrade an object. More... | |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
Upgrade an object. More... | |
template<typename PreviousType , typename CurrentType > | |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
Upgrade an object. More... | |
Static Public Attributes | |
static const Common::FrameSpec::Info::frame_object_types | CLASS_ID |
Dictionary class id for this structure. | |
Protected Member Functions | |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. | |
virtual promote_ret_type | promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) const |
Up grade an object. | |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. | |
virtual promote_ret_type | promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) const |
Up grade an object. | |
virtual class_type | getClass () const |
Retrieve the class identifier. | |
virtual class_type | getClass () const |
Retrieve the class identifier. | |
Implementation of FrTable according to the frame specification.
|
inherited |
Collection of column names.
This storage class is used to abstract the container type used to maintain the collection of column names used in the table. The container maintains the column order of the column names.
|
inherited |
Collection of column names.
This storage class is used to abstract the container type used to maintain the collection of column names used in the table. The container maintains the column order of the column names.
|
inherited |
Storage class for the number of columns.
This storage class is used to abstract the data type used to store the number of columns in the table.
|
inherited |
Storage class for the number of columns.
This storage class is used to abstract the data type used to store the number of columns in the table.
|
inherited |
Storage class for the number of rows.
This storage class is used to abstract the data type used to store the number of rows in the table.
|
inherited |
Storage class for the number of rows.
This storage class is used to abstract the data type used to store the number of rows in the table.
|
virtual |
Stream size of object.
[in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Stream size of object.
[in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
staticinherited |
Down grade an object.
[in] | Target | This is the version of the frame specification of the demoted object. |
[in] | Obj | The base object. |
[in] | Stream | Stream from which Obj was created. |
|
staticinherited |
Down grade an object.
[in] | Target | This is the version of the frame specification of the demoted object. |
[in] | Obj | The base object. |
[in] | Stream | Stream from which Obj was created. |
|
inlineinherited |
Retrieve the class identifier.
|
inherited |
Retrieve the class identifier.
|
inlineinherited |
Retrieve the list of column names.
|
inlineinherited |
Retrieve the list of column names.
|
virtualinherited |
Retrieve FrSH/FrSE description of the parent object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlinevirtualinherited |
Retrieve FrSH/FrSE description of the parent object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlineinherited |
Retrieve the number of columns.
|
inlineinherited |
Retrieve the number of columns.
|
inlineinherited |
Retrieve the number of rows.
|
inlineinherited |
Retrieve the number of rows.
|
virtual |
Retrieve the class name of the object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Retrieve the class name of the object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inline |
comparison operator
[in] | RHS | Right hand side of equality expression. |
bool FrameCPP::Version_6::FrTable::operator== | ( | const FrTable & | RHS | ) | const |
comparison operator
[in] | RHS | Right hand side of equality expression. |
|
staticinherited |
Upgrade an object.
[in] | Target | Promote Obj to this version of the frame specification. |
[in] | Source | Obj conforms to this version of the frame specification. |
[in] | Obj | Object to be converted |
[in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
[in] | Target | Promote Obj to this version of the frame specification. |
[in] | Source | Obj conforms to this version of the frame specification. |
[in] | Obj | Object to be converted |
[in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
[in] | Target | Promote Obj to this version of the frame specification. |
[in] | Source | Obj conforms to this version of the frame specification. |
[in] | Obj | Object to be converted |
[in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
[in] | Target | Promote Obj to this version of the frame specification. |
[in] | Source | Obj conforms to this version of the frame specification. |
[in] | Obj | Object to be converted |
[in] | Stream | Originating stream for Obj. |
|
inlineinherited |
Retrieve reference to columns.
|
inherited |
Retrieve reference to columns.
|
inherited |
Retrieve reference to columns.
|
inlineinherited |
Retrieve reference to columns.
|
static |
|
static |
|
inlinestatic |
Name of the frame specification structure.
|
static |
Name of the frame specification structure.
|
virtualinherited |
Verify an object.
[in,out] | Verifier | Set of rules to use in verification of the object. If an error occurs, the violation is logged here. |
[in] | Stream | The stream that is being used to read the object. |
Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, and FrameCPP::Version_8::FrHeader.
|
virtualinherited |
Verify an object.
[in,out] | Verifier | Set of rules to use in verification of the object. If an error occurs, the violation is logged here. |
[in] | Stream | The stream that is being used to read the object. |
Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, and FrameCPP::Version_8::FrHeader.
|
virtual |
Write object to the stream.
[in,out] | Stream | The stream being written with the contents of object. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Write object to the stream.
[in,out] | Stream | The stream being written with the contents of object. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inherited |
Write a next pointer to the parent to the stream.
[in,out] | Stream | The output stream to receive the next pointer. |
|
inherited |
Write a next pointer to the parent to the stream.
[in,out] | Stream | The output stream to receive the next pointer. |