OIDList Class Reference
[GDB]

Dex 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 N)
 Constructor.
 OIDList (const std::vector< oid_t > &v)
 Constructor.
void Add (oid_t attr)
 Adds a Dex object identifier at the end of the list.
void Set (int32_t pos, oid_t oid)
 Sets a Dex object identifier at the specified position of the list.
void Clear ()
 Clears the list.


Detailed Description

Dex object identifier list.

It stores a Dex 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  N  ) 

Constructor.

This creates a list with N invalid oids.

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 Dex object identifier at the end of the list.

Parameters:
attr [in] Dex object identifier.

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

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

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


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

Generated on Tue Jul 16 12:10:25 2013 for Dex by  doxygen 1.5.6