OW_NAMESPACE::IndexEntry Struct Reference

#include <OW_Index.hpp>

Collaboration diagram for OW_NAMESPACE::IndexEntry:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Int32 IndexEntry::* safe_bool

Public Member Functions

 IndexEntry ()
 Create a null IndexEntry.
 IndexEntry (const String &k, Int32 o)
 Create an IndexEntry with the given key and offset.
 operator safe_bool () const
bool operator! () const

Public Attributes

String key
 The key associated with this index entry.
Int32 offset
 The offset associated with this index entry.

Detailed Description

Definition at line 167 of file OW_Index.hpp.


Member Typedef Documentation

typedef Int32 IndexEntry::* OW_NAMESPACE::IndexEntry::safe_bool
 

Definition at line 181 of file OW_Index.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::IndexEntry::IndexEntry  )  [inline]
 

Create a null IndexEntry.

Definition at line 172 of file OW_Index.hpp.

OW_NAMESPACE::IndexEntry::IndexEntry const String k,
Int32  o
[inline]
 

Create an IndexEntry with the given key and offset.

Parameters:
k The key for this index entry.
o The offset associated with the given key.

Definition at line 178 of file OW_Index.hpp.


Member Function Documentation

OW_NAMESPACE::IndexEntry::operator safe_bool  )  const [inline]
 

Returns:
true if this IndexEntry contains a value.

Definition at line 185 of file OW_Index.hpp.

References offset.

bool OW_NAMESPACE::IndexEntry::operator!  )  const [inline]
 

Definition at line 186 of file OW_Index.hpp.


Member Data Documentation

String OW_NAMESPACE::IndexEntry::key
 

The key associated with this index entry.

If it has a zero length, this should be considered an invalid IndexEntry.

Definition at line 191 of file OW_Index.hpp.

Referenced by OW_NAMESPACE::AssocDb::findEntry().

Int32 OW_NAMESPACE::IndexEntry::offset
 

The offset associated with this index entry.

If this is -1L, this should be considered an invalid IndexEntry.

Definition at line 196 of file OW_Index.hpp.

Referenced by OW_NAMESPACE::AssocDb::deleteEntry(), OW_NAMESPACE::AssocDb::findEntry(), OW_NAMESPACE::HDBNode::HDBNode(), OW_NAMESPACE::AssocDb::nextEntry(), and operator safe_bool().


The documentation for this struct was generated from the following file:
Generated on Thu Feb 9 09:16:40 2006 for openwbem by  doxygen 1.4.6