10#ifndef TEUCHOS_STRING_TO_INT_MAP_HPP 
   11#define TEUCHOS_STRING_TO_INT_MAP_HPP 
   13#include "Teuchos_Assert.hpp" 
   80  int get( 
const std::string& 
option, 
const std::string& groupName = 
"" ) 
const;
 
   83  template<
class EnumType>
 
   84  EnumType get( 
const std::string& 
option, 
const std::string& groupName = 
"" ) 
const;
 
   91  typedef std::map< std::string, int > map_t;  
 
   92  std::string defaultGroupName_;
 
   95  std::string validSelections() 
const;
 
 
  105template<
class EnumType>
 
  109  ,std::string 
const& 
option 
  110  ,std::string 
const& groupName = 
"" 
 
  119template<
class EnumType>
 
  129  return defaultGroupName_;
 
 
Smart reference counting pointer class for automatic garbage collection.
 
T * get() const
Get the raw C++ pointer to the underlying object.
 
Map a std::string to an enumeration.
 
EnumType get(StringToIntMap const &theMap, std::string const &option, std::string const &groupName="")
Nonmember get function.
 
int get(const std::string &option, const std::string &groupName="") const
 
const std::string & defaultGroupName() const
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...