Teamcenter C++ API Reference  2312
Public Types | List of all members
Teamcenter::StdSmMap< Key, Value, Predicate > Struct Template Reference

#include <TcBaseTypes.hxx>

Public Types

typedef std::map< Key, Value,
Predicate, std::allocator
< std::pair< const Key, Value > > > 
Map
 

Detailed Description

template<typename Key, typename Value, typename Predicate = std::less< Key >>
struct Teamcenter::StdSmMap< Key, Value, Predicate >

Helper class to typedef std::map with an sm_allocator.

Example.

StdSmMap< tag_t, TagList >::Map aMap;
StdSmMap< tag_t, TagList >::Map::iterator iter = aMap.find( aTag );
if ( aMap.end() != iter )
{
aMap[ tag_t ] = aTagList;
}

Definition at line 65 of file TcBaseTypes.hxx.

Member Typedef Documentation

template<typename Key, typename Value, typename Predicate = std::less< Key >>
typedef std::map< Key, Value, Predicate, std::allocator< std::pair< const Key, Value > > > Teamcenter::StdSmMap< Key, Value, Predicate >::Map

Definition at line 68 of file TcBaseTypes.hxx.


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