#include <Sacado_ParameterFamilyBase.hpp>
Inheritance diagram for Sacado::ParameterFamilyBase< EntryBase, EntryType >:

Public Member Functions | |
| ParameterFamilyBase (const std::string &name, bool supports_ad, bool supports_analytic) | |
| Constructor. | |
| virtual | ~ParameterFamilyBase () |
| Destructor. | |
| std::string | getName () const |
| Get the name of the family. | |
| bool | supportsAD () const |
| Indicates whether parameter supports AD derivatives. | |
| bool | supportsAnalytic () const |
| Indicates whether parameter supports analytic derivatives. | |
| template<typename ValueType> | |
| bool | hasType () const |
Determine if family has an entry for the given type ValueType. | |
| template<typename ValueType> | |
| bool | addEntry (const Teuchos::RCP< EntryType< ValueType > > &entry) |
| Add a new parameter using custom entry. | |
| template<typename ValueType> | |
| Teuchos::RCP< EntryType< ValueType > > | getEntry () |
| Gets the entry corresponding to type ValueType. | |
| template<typename ValueType> | |
| Teuchos::RCP< const EntryType< ValueType > > | getEntry () const |
| Gets the entry corresponding to type ValueType. | |
| void | printFamily (std::ostream &os) const |
| Print the family. | |
Protected Types | |
| typedef std::map< std::string, Teuchos::RCP< EntryBase > > | ValueMap |
| Map of entries for a parameter name. | |
| typedef ValueMap::const_iterator | const_iterator |
| Const iterator for ValueMap. | |
| typedef ValueMap::iterator | iterator |
| Iterator for ValueMap. | |
Protected Member Functions | |
| template<class ValueType> | |
| std::string | getTypeName () const |
| Returns a string representation of type ValueType. | |
Protected Attributes | |
| ValueMap | family |
| Family of parameter entries. | |
| const std::string | name |
| Family name. | |
| bool | supports_ad |
| Family supports AD. | |
| bool | supports_analytic |
| Family supports analytic derivatives. | |
Private Member Functions | |
| ParameterFamilyBase (const ParameterFamilyBase &) | |
| Private to prohibit copying. | |
| ParameterFamilyBase & | operator= (const ParameterFamilyBase &) |
| Private to prohibit copying. | |
Definition at line 47 of file Sacado_ParameterFamilyBase.hpp.
typedef std::map<std::string, Teuchos::RCP<EntryBase> > Sacado::ParameterFamilyBase< EntryBase, EntryType >::ValueMap [protected] |
typedef ValueMap::const_iterator Sacado::ParameterFamilyBase< EntryBase, EntryType >::const_iterator [protected] |
typedef ValueMap::iterator Sacado::ParameterFamilyBase< EntryBase, EntryType >::iterator [protected] |
| Sacado::ParameterFamilyBase< EntryBase, EntryType >::ParameterFamilyBase | ( | const std::string & | name, | |
| bool | supports_ad, | |||
| bool | supports_analytic | |||
| ) |
| Sacado::ParameterFamilyBase< EntryBase, EntryType >::~ParameterFamilyBase | ( | ) | [virtual] |
| Sacado::ParameterFamilyBase< EntryBase, EntryType >::ParameterFamilyBase | ( | const ParameterFamilyBase< EntryBase, EntryType > & | ) | [private] |
Private to prohibit copying.
| std::string Sacado::ParameterFamilyBase< EntryBase, EntryType >::getName | ( | ) | const |
| bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::supportsAD | ( | ) | const |
Indicates whether parameter supports AD derivatives.
Definition at line 63 of file Sacado_ParameterFamilyBaseImp.hpp.
| bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::supportsAnalytic | ( | ) | const |
Indicates whether parameter supports analytic derivatives.
Definition at line 71 of file Sacado_ParameterFamilyBaseImp.hpp.
| bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::hasType | ( | ) | const |
Determine if family has an entry for the given type ValueType.
Definition at line 80 of file Sacado_ParameterFamilyBaseImp.hpp.
| bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::addEntry | ( | const Teuchos::RCP< EntryType< ValueType > > & | entry | ) |
Add a new parameter using custom entry.
Returns true if successful in adding entry to library, false otherwise.
Definition at line 98 of file Sacado_ParameterFamilyBaseImp.hpp.
| Teuchos::RCP< EntryType< ValueType > > Sacado::ParameterFamilyBase< EntryBase, EntryType >::getEntry | ( | ) |
Gets the entry corresponding to type ValueType.
Definition at line 123 of file Sacado_ParameterFamilyBaseImp.hpp.
| Teuchos::RCP< const EntryType< ValueType > > Sacado::ParameterFamilyBase< EntryBase, EntryType >::getEntry | ( | ) | const |
Gets the entry corresponding to type ValueType.
Definition at line 154 of file Sacado_ParameterFamilyBaseImp.hpp.
| void Sacado::ParameterFamilyBase< EntryBase, EntryType >::printFamily | ( | std::ostream & | os | ) | const |
| std::string Sacado::ParameterFamilyBase< EntryBase, EntryType >::getTypeName | ( | ) | const [protected] |
Returns a string representation of type ValueType.
Definition at line 199 of file Sacado_ParameterFamilyBaseImp.hpp.
| ParameterFamilyBase& Sacado::ParameterFamilyBase< EntryBase, EntryType >::operator= | ( | const ParameterFamilyBase< EntryBase, EntryType > & | ) | [private] |
Private to prohibit copying.
ValueMap Sacado::ParameterFamilyBase< EntryBase, EntryType >::family [protected] |
const std::string Sacado::ParameterFamilyBase< EntryBase, EntryType >::name [protected] |
bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::supports_ad [protected] |
bool Sacado::ParameterFamilyBase< EntryBase, EntryType >::supports_analytic [protected] |
Family supports analytic derivatives.
Definition at line 125 of file Sacado_ParameterFamilyBase.hpp.
1.4.7