10 #ifndef TEUCHOS_CONDITIONXMLCONVERTERDB_HPP
11 #define TEUCHOS_CONDITIONXMLCONVERTERDB_HPP
108 out <<
"Known ConditionXMLConverters: " << std::endl;
110 ConverterMap::const_iterator it = getConverterMap().begin();
111 it != getConverterMap().end();
114 out <<
"\t" << it->first <<std::endl;
126 typedef std::map<std::string, RCP<ConditionXMLConverter> > ConverterMap;
129 typedef std::pair<std::string, RCP<ConditionXMLConverter> > ConverterPair;
134 static ConverterMap& getConverterMap();
148 #define TEUCHOS_ADD_NUMBERCONDITION_CONVERTER(T) \
149 Teuchos::ConditionXMLConverterDB::addConverter( \
150 Teuchos::DummyObjectGetter<Teuchos::NumberCondition< T > >:: \
152 Teuchos::rcp(new Teuchos::NumberConditionConverter< T >));
154 #endif // TEUCHOS_CONDITIONXMLCONVERTERDB_HPP
Provides ability to lookup ConditionXMLConverters.
static void printKnownConverters(std::ostream &out)
prints the xml tags associated with all known converters
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
std::map< RCP< const ParameterEntry >, ParameterEntry::ParameterEntryID, RCPConstComp > EntryIDsMap
std::map< ParameterEntry::ParameterEntryID, RCP< ParameterEntry > > EntryIDsMap
Convenience typedef.
A Condition determines whether or not a particular set of conditions are currently occuring...
Smart reference counting pointer class for automatic garbage collection.
A collection of standard ConditionXMLConverters.
Standard Conditions to be used.