Manages RVC::OBJTYPE_GenericRef objects. More...
#include <rvc/list.h>

Public Member Functions | |
| LIST (const RVC::LIST &obj) | |
| LIST () | |
| virtual | ~LIST () |
| INT32 | GetItemSize (INT32 ItemNum) const |
| INT32 | GetMaxItemSize () const |
| INT32 | GetNumItems () const |
| ERRVALUE | InsertItems (INT32 StartPosn, INT32 NumItems=1) |
| ERRVALUE | Make (RVC::OBJITEM &ObjItem, const char *Source=0, const CREDENTIALS *Credentials=0) |
| ERRVALUE | Make (const RVC::OBJECT &parent, const RVC::DESCRIPTOR &Descriptor, const CREDENTIALS *Credentials RVC_DEFAULT_CREDENTIALS) |
| RVC::LIST & | operator= (const RVC::LIST &rhs) |
| template<class _CT > | |
| ERRVALUE | Read (INT32 ItemNum, INT32 StartPosn, INT32 Length, SIMPLE_ARRAY< _CT > &data) const |
| INT32 | Read (INT32 ItemNum, INT32 StartPosn, INT32 Length, void *ptr) const |
| template<class _CT > | |
| ERRVALUE | Read (INT32 ItemNum, DOUBLE_ARRAY< _CT > &data) const |
| template<class _CT > | |
| ERRVALUE | Read (INT32 ItemNum, SIMPLE_ARRAY< _CT > &data) const |
| INT32 | Read (INT32 ItemNum, void **buffer, INT32 BufferSize) const |
| INT32 | Read (INT32 ItemNum, MIDOUBLEARRAY &ptr) const |
| INT32 | Read (INT32 ItemNum, void *ptr) const |
| ERRVALUE | Resize (INT32 NewNumItems) |
| ERRVALUE | ResizeItem (INT32 ItemNum, INT32 NewItemSize) |
| ERRVALUE | SwapItems (INT32 Item1, INT32 Item2) |
| template<class _CT > | |
| ERRVALUE | Write (INT32 ItemNum, const DOUBLE_ARRAY< _CT > &data) |
| template<class _CT > | |
| ERRVALUE | Write (INT32 ItemNum, const SIMPLE_ARRAY< _CT > &data) |
| INT32 | Write (INT32 ItemNum, INT32 TotalSize, INT32 StartPosn, INT32 Length, const void *ptr) |
| INT32 | Write (INT32 ItemNum, INT32 Length, const void *ptr) |
Protected Member Functions | |
| ERRVALUE | Make (const OBJECT &parent, const DESCRIPTOR &Descriptor, GENLISTINFO &newinfo, int HeaderSize, int HeaderType, const CREDENTIALS *Credentials) |
| ERRVALUE | OpenObject (OPENMODE OpenFlags, GENLISTINFO &newinfo, int HeaderSize, int HeaderType, MDLGPARENT parent, const CREDENTIALS *Credentials) |
Manages RVC::OBJTYPE_GenericRef objects.
Valid parents for this class:
| RVC::LIST::LIST | ( | ) |
Default constructor.
| RVC::LIST::LIST | ( | const RVC::LIST & | obj | ) |
Copy constructor.
| virtual RVC::LIST::~LIST | ( | ) | [virtual] |
Destructor.
Obtain the size of a list entry.
| INT32 RVC::LIST::GetMaxItemSize | ( | ) | const |
Obtain the size of the largest list entry.
| INT32 RVC::LIST::GetNumItems | ( | ) | const |
Obtain the number of list entries.
Inserts 1 or more entries into a generic list with each new entry initially the size of zero.
| ERRVALUE RVC::LIST::Make | ( | const OBJECT & | parent, | |
| const DESCRIPTOR & | Descriptor, | |||
| GENLISTINFO & | newinfo, | |||
| int | HeaderSize, | |||
| int | HeaderType, | |||
| const CREDENTIALS * | Credentials | |||
| ) | [protected] |
Used for objects that inherit from this object.
| ERRVALUE RVC::LIST::Make | ( | RVC::OBJITEM & | ObjItem, | |
| const char * | Source = 0, |
|||
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
Create a new rvc list object under a specified parent rvc object with name, description, and source.
| ObjItem | Parent object and DESCRIPTOR of object to create, new location RETURNED | |
| Source | Source of new list object, default is application name | |
| Credentials | User credentials passed in, NULL for default behavior |
| ERRVALUE RVC::LIST::Make | ( | const RVC::OBJECT & | parent, | |
| const RVC::DESCRIPTOR & | Descriptor, | |||
| const CREDENTIALS *Credentials | RVC_DEFAULT_CREDENTIALS | |||
| ) |
Create a new rvc list object under a specified parent rvc object with name, description, and source.
| parent | Parent object to create list object under | |
| Descriptor | Name of new list object | |
| RVC_DEFAULT_CREDENTIALS | User credentials passed in, NULL for default behavior |
| ERRVALUE RVC::LIST::OpenObject | ( | OPENMODE | OpenFlags, | |
| GENLISTINFO & | newinfo, | |||
| int | HeaderSize, | |||
| int | HeaderType, | |||
| MDLGPARENT | parent, | |||
| const CREDENTIALS * | Credentials | |||
| ) | [protected] |
Used for objects that inherit from this object.
Assignment. Will close if necessary and reopen if 'rhs' is open.
Reimplemented from RVC::OBJECT.
| ERRVALUE RVC::LIST::Read | ( | INT32 | ItemNum, | |
| INT32 | StartPosn, | |||
| INT32 | Length, | |||
| SIMPLE_ARRAY< _CT > & | data | |||
| ) | const [inline] |
Read a list entry into a SIMPLE_ARRAY.
Set to correct number of items
| Length | Length in _CT units |
Partially read a list entry.
| ERRVALUE RVC::LIST::Read | ( | INT32 | ItemNum, | |
| DOUBLE_ARRAY< _CT > & | data | |||
| ) | const [inline] |
Read a list entry into a DOUBLE_ARRAY.
Set to correct number of items
| ERRVALUE RVC::LIST::Read | ( | INT32 | ItemNum, | |
| SIMPLE_ARRAY< _CT > & | data | |||
| ) | const [inline] |
Read a list entry into a SIMPLE_ARRAY.
Set to correct number of items
Read a list entry.
| INT32 RVC::LIST::Read | ( | INT32 | ItemNum, | |
| MIDOUBLEARRAY & | ptr | |||
| ) | const |
Read a list entry.
Read a list entry.
Resize a list item to a new size.
| ERRVALUE RVC::LIST::Write | ( | INT32 | ItemNum, | |
| const DOUBLE_ARRAY< _CT > & | data | |||
| ) | [inline] |
Write SIMPLE_ARRAY<> to a list item.
| ERRVALUE RVC::LIST::Write | ( | INT32 | ItemNum, | |
| const SIMPLE_ARRAY< _CT > & | data | |||
| ) | [inline] |
Write SIMPLE_ARRAY<> to a list item.
| INT32 RVC::LIST::Write | ( | INT32 | ItemNum, | |
| INT32 | TotalSize, | |||
| INT32 | StartPosn, | |||
| INT32 | Length, | |||
| const void * | ptr | |||
| ) |
Write partial data to a list item.
Write data to a list item.
1.6.1