OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
owl::TMapNode< T1, T2 > Class Template Reference

Map node. More...

#include <owl/template.h>

Public Member Functions

 TMapNode (T1 &name, T2 &val)
 
 TMapNode (T1 &name)
 
 TMapNode (const TMapNode< T1, T2 > &node)
 
 TMapNode ()
 
 ~TMapNode ()
 
bool operator< (const TMapNode &ms) const
 
bool operator== (const TMapNode &ms) const
 
TMapNodeoperator= (const TMapNode &other)
 

Public Attributes

T1 Name
 
T2 Value
 

Detailed Description

template<class T1, class T2>
class owl::TMapNode< T1, T2 >

Map node.

Usage: typedef TMapNode<string,string> TStringMapNode; typedef TSortedObjectArray<TStringMapNode> TStringMap; typedef TSortedObjectArray<TStringMapNode>::Iterator TStringMapIterator;

Definition at line 631 of file template.h.

Constructor & Destructor Documentation

◆ TMapNode() [1/4]

template<class T1 , class T2 >
owl::TMapNode< T1, T2 >::TMapNode ( T1 & name,
T2 & val )
inline

Definition at line 635 of file template.h.

◆ TMapNode() [2/4]

template<class T1 , class T2 >
owl::TMapNode< T1, T2 >::TMapNode ( T1 & name)
inline

Definition at line 636 of file template.h.

◆ TMapNode() [3/4]

template<class T1 , class T2 >
owl::TMapNode< T1, T2 >::TMapNode ( const TMapNode< T1, T2 > & node)
inline

Definition at line 637 of file template.h.

◆ TMapNode() [4/4]

template<class T1 , class T2 >
owl::TMapNode< T1, T2 >::TMapNode ( )
inline

Definition at line 638 of file template.h.

◆ ~TMapNode()

template<class T1 , class T2 >
owl::TMapNode< T1, T2 >::~TMapNode ( )
inline

Definition at line 639 of file template.h.

Member Function Documentation

◆ operator<()

template<class T1 , class T2 >
bool owl::TMapNode< T1, T2 >::operator< ( const TMapNode< T1, T2 > & ms) const
inline

Definition at line 641 of file template.h.

References owl::TMapNode< T1, T2 >::Name.

◆ operator=()

template<class T1 , class T2 >
TMapNode & owl::TMapNode< T1, T2 >::operator= ( const TMapNode< T1, T2 > & other)
inline

Definition at line 643 of file template.h.

References owl::TMapNode< T1, T2 >::Name, and owl::TMapNode< T1, T2 >::Value.

◆ operator==()

template<class T1 , class T2 >
bool owl::TMapNode< T1, T2 >::operator== ( const TMapNode< T1, T2 > & ms) const
inline

Definition at line 642 of file template.h.

References owl::TMapNode< T1, T2 >::Name.

Member Data Documentation

◆ Name

template<class T1 , class T2 >
T1 owl::TMapNode< T1, T2 >::Name

Definition at line 650 of file template.h.

◆ Value

template<class T1 , class T2 >
T2 owl::TMapNode< T1, T2 >::Value

Definition at line 651 of file template.h.


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