OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::TokenMap Class Reference

#include <TokenMap.hpp>

Public Types

typedef std::map< std::string, TokenTokenMapType

Public Member Functions

TokengetToken (const std::string &ident)

Static Public Member Functions

static TokenMapgetInstance ()

Private Member Functions

 TokenMap ()
 ~TokenMap ()

Private Attributes

TokenMapType tokenMap_

Static Private Attributes

static TokenMapinstance_ = NULL

Detailed Description

Definition at line 51 of file TokenMap.hpp.

Member Typedef Documentation

◆ TokenMapType

typedef std::map<std::string, Token> OpenMD::TokenMap::TokenMapType

Definition at line 53 of file TokenMap.hpp.

Constructor & Destructor Documentation

◆ TokenMap()

◆ ~TokenMap()

OpenMD::TokenMap::~TokenMap ( )

Definition at line 100 of file TokenMap.cpp.

References tokenMap_.

Referenced by getInstance().

Member Function Documentation

◆ getInstance()

static TokenMap* OpenMD::TokenMap::getInstance ( )

Definition at line 54 of file TokenMap.hpp.

References getToken(), instance_, TokenMap(), and ~TokenMap().

Referenced by OpenMD::SelectionCompiler::internalCompile().

◆ getToken()

Token * OpenMD::TokenMap::getToken ( const std::string &  ident)

Definition at line 94 of file TokenMap.cpp.

References tokenMap_.

Referenced by getInstance(), and OpenMD::SelectionCompiler::internalCompile().

Member Data Documentation

◆ instance_

TokenMap * OpenMD::TokenMap::instance_ = NULL

Definition at line 69 of file TokenMap.hpp.

Referenced by getInstance().

◆ tokenMap_

TokenMapType OpenMD::TokenMap::tokenMap_

Definition at line 71 of file TokenMap.hpp.

Referenced by getToken(), TokenMap(), and ~TokenMap().

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