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

#include <TcBaseTypes.hxx>

Public Types

typedef std::set< Key,
Predicate, std::allocator< Key > > 
Set
 

Detailed Description

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

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

Example.

StdSmSet<std::string>::Set aSet;
StdSmSet<std::string>::Set::iterator iter = aSet.begin();
for( ; iter != aSet.end(); ++iter )
{
printf( "%s", iter->c_str() );
}

Definition at line 85 of file TcBaseTypes.hxx.

Member Typedef Documentation

template<typename Key, typename Predicate = std::less< Key >>
typedef std::set< Key, Predicate, std::allocator< Key > > Teamcenter::StdSmSet< Key, Predicate >::Set

Definition at line 88 of file TcBaseTypes.hxx.


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