Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

VM::NamespaceInfo::PtrListOperators< T > Struct Template Reference

#include <nspcinfo.h>

Inheritance diagram for VM::NamespaceInfo::PtrListOperators< T >:

Inheritance graph
[legend]
Collaboration diagram for VM::NamespaceInfo::PtrListOperators< T >:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

bool lt (T const *a, T const *b)
bool gt (T const *a, T const *b)
bool le (T const *a, T const *b)
bool eq (T const *a, T const *b)
bool lt (T const *a, TLString const &b)
bool gt (T const *a, TLString const &b)
bool eq (T const *a, TLString const &b)
template<typename I> T *& idx (T **array, I i)

Static Public Attributes

const bool pdt = 1

Detailed Description

template<typename T>
struct VM::NamespaceInfo::PtrListOperators< T >

Used to sort the child lists and to keep a B-tree of the children to quickly look up names. Also used for symbol lookup B-tree. Refer to TLDefaultOperators_PDT in defop.h for more information. For T, you may use NamespaceInfo or SymbolEntry (non-internal symbols only!).

Definition at line 75 of file nspcinfo.h.


Member Function Documentation

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::eq T const *  a,
TLString const &  b
[inline, static]
 

Definition at line 95 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::eq T const *  a,
T const *  b
[inline, static]
 

Definition at line 88 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::gt T const *  a,
TLString const &  b
[inline, static]
 

Definition at line 93 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::gt T const *  a,
T const *  b
[inline, static]
 

Definition at line 83 of file nspcinfo.h.

template<typename T>
template<typename I>
T* & VM::NamespaceInfo::PtrListOperators< T >::idx T **  array,
i
[inline, static]
 

Definition at line 98 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::le T const *  a,
T const *  b
[inline, static]
 

Definition at line 86 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::lt T const *  a,
TLString const &  b
[inline, static]
 

Definition at line 91 of file nspcinfo.h.

template<typename T>
bool VM::NamespaceInfo::PtrListOperators< T >::lt T const *  a,
T const *  b
[inline, static]
 

Definition at line 81 of file nspcinfo.h.


Member Data Documentation

template<typename T>
const bool VM::NamespaceInfo::PtrListOperators< T >::pdt = 1 [static]
 

If this type (T) is a plain data type or not. Plain data types are all PODs and structures without constructor, destructor, virtual functions,...

Reimplemented from TLDefaultOperators_Construct_PDT< T * >.

Definition at line 79 of file nspcinfo.h.


The documentation for this struct was generated from the following file:
Generated on Sat Feb 19 22:36:17 2005 for Ray by doxygen 1.3.5