43#ifndef TEUCHOS_CONDITIONXMLCONVERTERDB_HPP
44#define TEUCHOS_CONDITIONXMLCONVERTERDB_HPP
100 getConverter(
const XMLObject& xmlObject);
141 out <<
"Known ConditionXMLConverters: " << std::endl;
143 ConverterMap::const_iterator it = getConverterMap().begin();
144 it != getConverterMap().end();
147 out <<
"\t" << it->first <<std::endl;
159 typedef std::map<std::string, RCP<ConditionXMLConverter> > ConverterMap;
162 typedef std::pair<std::string, RCP<ConditionXMLConverter> > ConverterPair;
167 static ConverterMap& getConverterMap();
181#define TEUCHOS_ADD_NUMBERCONDITION_CONVERTER(T) \
182 Teuchos::ConditionXMLConverterDB::addConverter( \
183 Teuchos::DummyObjectGetter<Teuchos::NumberCondition< T > >:: \
185 Teuchos::rcp(new Teuchos::NumberConditionConverter< T >));
A collection of standard ConditionXMLConverters.
Standard Conditions to be used.
Provides ability to lookup ConditionXMLConverters.
static void printKnownConverters(std::ostream &out)
prints the xml tags associated with all known converters
A Condition determines whether or not a particular set of conditions are currently occuring.
Smart reference counting pointer class for automatic garbage collection.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
std::map< ParameterEntry::ParameterEntryID, RCP< ParameterEntry > > EntryIDsMap
Convenience typedef.
std::map< RCP< const ParameterEntry >, ParameterEntry::ParameterEntryID, RCPConstComp > EntryIDsMap
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...