OIDList Class Reference
[Gdb]

Sparksee object identifier list. More...

List of all members.

Public Member Functions

int32_t Count () const
 Number of elements in the list.
OIDListIteratorIterator ()
 Gets a new OIDListIterator.
 OIDList ()
 Constructor.
 OIDList (int32_t numInvalidOIDs)
 Constructor.
 OIDList (const std::vector< oid_t > &v)
 Constructor.
 ~OIDList ()
 Destructor.
void Add (oid_t attr)
 Adds a Sparksee object identifier at the end of the list.
void Set (int32_t pos, oid_t oid)
 Sets a Sparksee object identifier at the specified position of the list.
void Clear ()
 Clears the list.


Detailed Description

Sparksee object identifier list.

It stores a Sparksee object identifier list.

Use OIDListIterator to access all elements into this collection.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

OIDList::OIDList (  ) 

Constructor.

This creates an empty list.

OIDList::OIDList ( int32_t  numInvalidOIDs  ) 

Constructor.

This creates a list with N invalid oids.

Parameters:
numInvalidOIDs [in] The number of invalid oids added to the list.

OIDList::OIDList ( const std::vector< oid_t > &  v  ) 

Constructor.

Parameters:
v [in] Vector.


Member Function Documentation

int32_t OIDList::Count (  )  const [inline]

Number of elements in the list.

Returns:
Number of elements in the list.

OIDListIterator* OIDList::Iterator (  ) 

Gets a new OIDListIterator.

Returns:
OIDListIterator instance.

void OIDList::Add ( oid_t  attr  )  [inline]

Adds a Sparksee object identifier at the end of the list.

Parameters:
attr [in] Sparksee object identifier.

void OIDList::Set ( int32_t  pos,
oid_t  oid 
) [inline]

Sets a Sparksee object identifier at the specified position of the list.

Parameters:
pos [in] List position [0..Count()-1].
oid [in] Sparksee object identifier.


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

Generated on Fri Sep 12 13:36:37 2014 for Sparksee by  doxygen 1.5.6