Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

varmap< T, C >::offset_map_key Class Reference

offset map key More...

List of all members.

Public Member Functions

 offset_map_key (mainmap_iter_t iter, size_t offset)
 constructor - for insertion and search
 offset_map_key (const char *x, size_t offset)
 constructor for partial comparision only
 offset_map_key (const offset_map_key &x)
 copy constructor
bool operator< (const offset_map_key &x) const
 less operator
bool partial_match (const main_map_key &x) const
 specific partial match function

Public Attributes

size_t _offset
 offset to the start token
mainmap_iter_t _iter
 iter to main map entry
const char * _pointer
 pointer for the partial match only

Private Member Functions

offset_map_keyoperator= (const offset_map_key &x)
 hidden assign operator


Detailed Description

template<class T, class C>
class varmap< T, C >::offset_map_key

offset map key

Definition at line 344 of file varmap.h.


Constructor & Destructor Documentation

template<class T, class C>
varmap< T, C >::offset_map_key::offset_map_key ( mainmap_iter_t  iter,
size_t  offset 
) [inline]

constructor - for insertion and search

Parameters:
iter  iterator to main map
offset  offset

Definition at line 350 of file varmap.h.

template<class T, class C>
varmap< T, C >::offset_map_key::offset_map_key ( const char *  x,
size_t  offset 
) [inline]

constructor for partial comparision only

Parameters:
x  string pointer
offset  offset

Definition at line 359 of file varmap.h.

template<class T, class C>
varmap< T, C >::offset_map_key::offset_map_key ( const offset_map_key x  )  [inline]

copy constructor

Definition at line 366 of file varmap.h.


Member Function Documentation

template<class T, class C>
offset_map_key& varmap< T, C >::offset_map_key::operator= ( const offset_map_key x  )  [private]

hidden assign operator

template<class T, class C>
bool varmap< T, C >::offset_map_key::operator< ( const offset_map_key x  )  const [inline]

template<class T, class C>
bool varmap< T, C >::offset_map_key::partial_match ( const main_map_key x  )  const [inline]


Member Data Documentation

template<class T, class C>
size_t varmap< T, C >::offset_map_key::_offset

offset to the start token

Definition at line 399 of file varmap.h.

Referenced by varmap< T, C >::offset_map_key::operator<(), and varmap< T, C >::offset_map_key::partial_match().

template<class T, class C>
mainmap_iter_t varmap< T, C >::offset_map_key::_iter

iter to main map entry

Definition at line 400 of file varmap.h.

Referenced by varmap< T, C >::offset_map_key::operator<(), and varmap< T, C >::offset_map_key::partial_match().

template<class T, class C>
const char* varmap< T, C >::offset_map_key::_pointer

pointer for the partial match only

Definition at line 401 of file varmap.h.

Referenced by varmap< T, C >::offset_map_key::operator<().


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


© Copyright Terimber 2003-.