25    getShowIfAttributeName(), VisualDependency::getShowIfDefaultValue());
 
 
   56    "A Validator Dependency can only have 1 dependee!" <<
 
   57    std::endl << std::endl);
 
 
  105    "A StringVisualDependency can only have 1 dependee!" <<
 
  106    std::endl << std::endl);
 
  114    "StringVisualDependency!" << std::endl <<std::endl);
 
 
  147    "A BoolVisualDependency can only have 1 dependee!" <<
 
  148    std::endl << std::endl);
 
 
  176    "ConditionVisualDependencies must have a Condition tag!" 
 
  196    StringValidatorDependency::ValueToValidatorMap::const_iterator 
it =
 
  202    pairTag.addAttribute(getValueAttributeName(), 
it->first);
 
  206    pairTag.addAttribute(getValidatorIdAttributeName(),
 
  218      getDefaultValidatorIdAttributeName(),
 
 
  236    "Error: All StringValidatorDependencies must have a " <<
 
  242    std::string value = 
child.getRequired(getValueAttributeName());
 
  245        getValidatorIdAttributeName());
 
  248      "Could not find a validator corresponding to the ID " << 
valiID <<
 
  249      " in the given validatorIDsMap!" << std::endl << std::endl);
 
  257  if(
xmlObj.hasAttribute(getDefaultValidatorIdAttributeName())){
 
  260        getDefaultValidatorIdAttributeName());
 
  264      "Could not find a validator (for the default validator) " <<
 
  266      " in the given validatorIDsMap!" << std::endl << std::endl);
 
 
  294      getTrueValidatorIdAttributeName(),
 
  304      getFalseValidatorIdAttributeName(),
 
 
  321  if(
xmlObj.hasAttribute(getTrueValidatorIdAttributeName())){
 
  325        getTrueValidatorIdAttributeName());
 
  332      "Could not find a Validator for the True validator " <<
 
  334      " in the given validatorIDsMap!" << std::endl << std::endl);
 
  341  if(
xmlObj.hasAttribute(getFalseValidatorIdAttributeName())){
 
  344        getFalseValidatorIdAttributeName());
 
  351      "Could not find a Validator for the False validator " <<
 
  353      " in the given validatorIDsMap!" << std::endl << std::endl);
 
 
A database for ConditionXMLConverters.
 
A collection of standard DependencyXMLConverters.
 
std::vector< std::string >::const_iterator const_iterator
The type of a const forward iterator.
 
void convertSpecialValidatorAttributes(RCP< const ValidatorDependency > dependency, XMLObject &xmlObj, ValidatortoIDMap &validatorIDsMap) const
 
A BoolValidatorDependency says the following about the relationship between two parameters: Dependeni...
 
void convertSpecialVisualAttributes(RCP< const VisualDependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const
 
A bool visual dependency says the following about the relationship between two elements in a Paramete...
 
void convertSpecialVisualAttributes(RCP< const VisualDependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const
 
A condition visual dependency says the following about the relationship between elements in a Paramet...
 
static RCP< Condition > convertXML(const XMLObject &xmlObject, const XMLParameterListReader::EntryIDsMap &entryIDsMap)
Given an XMLObject and IDtoConditionMap, converts the XMLObject to a Condition.
 
static XMLObject convertCondition(RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap)
Given a condition and ConditiontoIDMap, converts the condition to XML.
 
static const std::string & getXMLTagName()
 
std::set< RCP< ParameterEntry >, RCPComp > ParameterEntryList
A list of Dependees.
 
std::set< RCP< const ParameterEntry >, RCPConstComp > ConstParameterEntryList
A list of dependents.
 
Maps Validators to integers.
 
Thrown when no condtion tag is found when converting a ConditionVisualDependency from XML.
 
Thrown when converting a dependency that has validaotrs to and from XML. This excetpion indicates tha...
 
Thrown when converting a StrinvValidatorDependcny from XML and no valuesAndValidators tag is found.
 
Smart reference counting pointer class for automatic garbage collection.
 
static const std::string & getValuesAndValidatorsTag()
 
void convertSpecialValidatorAttributes(RCP< const ValidatorDependency > dependency, XMLObject &xmlObj, ValidatortoIDMap &validatorIDsMap) const
 
A StringValidatorDependency says the following about the relationship between two parameters: Depende...
 
std::pair< std::string, RCP< const ParameterEntryValidator > > ValueToValidatorPair
Conveniece typedef.
 
std::map< std::string, RCP< const ParameterEntryValidator > > ValueToValidatorMap
Conveniece typedef.
 
static const std::string & getStringValuesTagName()
Gets the StringValues Tag.
 
void convertSpecialVisualAttributes(RCP< const VisualDependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const
 
A string visual dependency says the following about the relationship between two elements in a Parame...
 
Thrown when a Dependency has too many dependees specified in its XML.
 
void convertDependency(const RCP< const Dependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const
 
RCP< Dependency > convertXML(const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const
 
virtual void convertSpecialValidatorAttributes(RCP< const ValidatorDependency > dependency, XMLObject &xmlObj, ValidatortoIDMap &validatorIDsMap) const =0
Converts any special aspects of a specific validator dependency to xml.
 
A class for mapping validators to integers.
 
Thrown when a StringVisualDependency is being converted from XML and no Values tag is found.
 
void convertDependency(const RCP< const Dependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const
 
RCP< Dependency > convertXML(const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const
 
virtual void convertSpecialVisualAttributes(RCP< const VisualDependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const =0
Converts any special aspects of a specific visual dependency to xml.
 
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
 
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
 
bool nonnull(const std::shared_ptr< T > &p)
Returns true if p.get()!=NULL.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.