Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Attributes | List of all members
Teuchos::ParameterListAcceptorDefaultBase Class Reference

Intermediate node base class for objects that accept parameter lists that implements some of the needed behavior automatically. More...

#include <Teuchos_ParameterListAcceptorDefaultBase.hpp>

Inheritance diagram for Teuchos::ParameterListAcceptorDefaultBase:
Inheritance graph

Private Attributes

RCP< ParameterListparamList_

Overridden from ParameterListAcceptor

RCP< ParameterListgetNonconstParameterList ()
RCP< ParameterListunsetParameterList ()
RCP< const ParameterListgetParameterList () const

Protected accessors to actual parameter list object.

void setMyParamList (const RCP< ParameterList > &paramList)
RCP< ParameterListgetMyNonconstParamList ()
RCP< const ParameterListgetMyParamList () const

Additional Inherited Members

- Public Member Functions inherited from Teuchos::ParameterListAcceptor
virtual ~ParameterListAcceptor ()
 Destructor. More...
virtual void setParameterList (const RCP< ParameterList > &paramList)=0
 Set parameters from a parameter list and return with default values. More...
virtual RCP< const ParameterListgetValidParameters () const
 Return a ParameterList containing all of the valid parameters that this->setParameterList(...) will accept, along with any validators. More...
virtual RCP< const
getDependencies () const
 Rreturn a const DependencySheet of all the dependencies that should be applied to the ParameterList returned by this->getValidParameters(). More...

Detailed Description

Intermediate node base class for objects that accept parameter lists that implements some of the needed behavior automatically.

Subclasses just need to implement setParameterList() and getValidParameters(). The underlying parameter list is accessed using the non-virtual protected members setMyParamList() and getMyParamList().

Definition at line 61 of file Teuchos_ParameterListAcceptorDefaultBase.hpp.

Member Function Documentation

RCP< ParameterList > Teuchos::ParameterListAcceptorDefaultBase::getNonconstParameterList ( )
RCP< ParameterList > Teuchos::ParameterListAcceptorDefaultBase::unsetParameterList ( )
RCP< const ParameterList > Teuchos::ParameterListAcceptorDefaultBase::getParameterList ( ) const

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 68 of file Teuchos_ParameterListAcceptorDefaultBase.cpp.

void Teuchos::ParameterListAcceptorDefaultBase::setMyParamList ( const RCP< ParameterList > &  paramList)
RCP< ParameterList > Teuchos::ParameterListAcceptorDefaultBase::getMyNonconstParamList ( )
RCP< const ParameterList > Teuchos::ParameterListAcceptorDefaultBase::getMyParamList ( ) const

Member Data Documentation

RCP<ParameterList> Teuchos::ParameterListAcceptorDefaultBase::paramList_

Definition at line 94 of file Teuchos_ParameterListAcceptorDefaultBase.hpp.

The documentation for this class was generated from the following files: