PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.Teuchos.XMLParameterListReader Class Reference
Inheritance diagram for PyTrilinos.Teuchos.XMLParameterListReader:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.Teuchos.XMLParameterListReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def toParameterList
def setAllowsDuplicateSublists
def getAllowsDuplicateSublists

Public Attributes

 this

Detailed Description

Writes an XML object to a parameter list.

C++ includes: Teuchos_XMLParameterListReader.hpp 

Constructor & Destructor Documentation

__init__(Teuchos::XMLParameterListReader self) -> XMLParameterListReader

Teuchos::XMLParameterListReader::XMLParameterListReader() 

Member Function Documentation

getAllowsDuplicateSublists(XMLParameterListReader self) -> bool

bool
Teuchos::XMLParameterListReader::getAllowsDuplicateSublists() const

Specifies the current policy regarding duplicated sublists. See
setAllowsDuplicateSublists() for more details. 
setAllowsDuplicateSublists(XMLParameterListReader self, bool policy)

void
Teuchos::XMLParameterListReader::setAllowsDuplicateSublists(bool
policy)

Set policy regarding duplicated sublists.

The default behavior of this class is to allow duplicated sublists,
although the resulting ParameterList is undefined for the duplicated
sublists (in most cases, they will be merged in the order they are
encountered in the XML character stream).

If set false, then duplicated sublists in the XML tree will result in
the Teuchos::DuplicateParameterSublist exception being thrown.

If set true, the default behavior is restored. 
toParameterList(XMLParameterListReader self, XMLObject xml) -> ParameterList

ParameterList
Teuchos::XMLParameterListReader::toParameterList(const XMLObject &xml)
const

Write the given XML object to a parameter list 

The documentation for this class was generated from the following file:
 All Classes Functions