PHX::Tag< DataT > Class Template Reference

Typed Field Tag. More...

#include <Phalanx_FieldTag_Tag.hpp>

Inheritance diagram for PHX::Tag< DataT >:

Inheritance graph
[legend]
Collaboration diagram for PHX::Tag< DataT >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef DataT value_type

Public Member Functions

 Tag (const std::string &name, const Teuchos::RCP< PHX::DataLayout > &dl)
 ~Tag ()
Teuchos::RCP< FieldTagclone () const
void operator= (const PHX::Tag< DataT > &t)
bool operator== (const FieldTag &t) const
const std::string & name () const
const PHX::DataLayoutdataLayout () const
const std::type_info & dataTypeInfo () const
const std::string identifier () const
 Unique name identifier that can be used for strict weak ordering in stl std::map keys.
void print (std::ostream &os) const

Protected Attributes

std::string m_name
Teuchos::RCP< PHX::DataLayoutm_data_layout


Detailed Description

template<typename DataT>
class PHX::Tag< DataT >

Typed Field Tag.

This class is a concrete implementation of the FieldTag base class that is templated on the data type to determine type information.


Member Typedef Documentation

template<typename DataT>
typedef DataT PHX::Tag< DataT >::value_type


Constructor & Destructor Documentation

template<typename DataT >
PHX::Tag< DataT >::Tag ( const std::string &  name,
const Teuchos::RCP< PHX::DataLayout > &  dl 
) [inline]

template<typename DataT >
PHX::Tag< DataT >::~Tag (  )  [inline]


Member Function Documentation

template<typename DataT >
Teuchos::RCP< PHX::FieldTag > PHX::Tag< DataT >::clone (  )  const [inline, virtual]

template<typename DataT >
const PHX::DataLayout & PHX::Tag< DataT >::dataLayout (  )  const [inline, virtual]

Implements PHX::FieldTag.

References PHX::Tag< DataT >::m_data_layout.

Referenced by PHX::Tag< DataT >::identifier(), and PHX::Tag< DataT >::operator==().

Here is the caller graph for this function:

template<typename DataT >
const std::type_info & PHX::Tag< DataT >::dataTypeInfo (  )  const [inline, virtual]

Implements PHX::FieldTag.

Referenced by PHX::Tag< DataT >::identifier(), and PHX::Tag< DataT >::operator==().

Here is the caller graph for this function:

template<typename DataT >
const std::string PHX::Tag< DataT >::identifier (  )  const [inline, virtual]

Unique name identifier that can be used for strict weak ordering in stl std::map keys.

Implements PHX::FieldTag.

References PHX::Tag< DataT >::dataLayout(), PHX::Tag< DataT >::dataTypeInfo(), PHX::DataLayout::identifier(), and PHX::Tag< DataT >::name().

Here is the call graph for this function:

template<typename DataT >
const std::string & PHX::Tag< DataT >::name (  )  const [inline, virtual]

Implements PHX::FieldTag.

References PHX::Tag< DataT >::m_name.

Referenced by PHX::Tag< DataT >::identifier(), and PHX::Tag< DataT >::operator==().

Here is the caller graph for this function:

template<typename DataT>
void PHX::Tag< DataT >::operator= ( const PHX::Tag< DataT > &  t  )  [inline]

template<typename DataT >
bool PHX::Tag< DataT >::operator== ( const FieldTag< DataT > &  t  )  const [inline, virtual]

template<typename DataT >
void PHX::Tag< DataT >::print ( std::ostream &  os  )  const [inline, virtual]


Member Data Documentation

template<typename DataT>
Teuchos::RCP<PHX::DataLayout> PHX::Tag< DataT >::m_data_layout [protected]

template<typename DataT>
std::string PHX::Tag< DataT >::m_name [protected]


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

Generated on Thu Dec 17 11:06:25 2009 for Phalanx by  doxygen 1.5.9