NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
CTreePair< TId, TValue, TIdEqual > Struct Template Reference

Search Toolkit Book for CTreePair

Node data template for id-value trees. More...

#include <corelib/ncbi_tree.hpp>

Public Types

typedef TId TIdType
typedef TValue TValueType
typedef CTreePair< TId, TValue, TIdEqual > TTreePair
 Node data type. More...
typedef CPairNodeKeyGetter< TTreePair, TIdEqual > TPairKeyGetter
 Key getter for CTreeNode. More...
typedef CTreeNode< TTreePair, TPairKeyGetterTPairTreeNode
 Tree node type. More...

Public Member Functions

 CTreePair ()
 CTreePair (const TId &aid, const TValue &avalue=TValue())

Public Attributes

TId id
TValue value

Detailed Description

template<class TId, class TValue, class TIdEqual = std::equal_to<TId>>
struct CTreePair< TId, TValue, TIdEqual >

Node data template for id-value trees.

Definition at line 452 of file ncbi_tree.hpp.

The documentation for this struct was generated from the following file:
Modified on Tue Apr 16 20:13:24 2024 by rev. 669887