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 >));
187 #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.