Phalanx Development
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
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]

Public Types

typedef DataT value_type
 

Public Member Functions

 Tag (const std::string &name, const Teuchos::RCP< PHX::DataLayout > &dl)
 
template<typename InDataT , typename T = DataT>
 Tag (const Tag< InDataT > &t)
 
Teuchos::RCP< FieldTagclone () const override
 
void operator= (const PHX::Tag< const DataT > &t)
 
bool operator== (const FieldTag &t) const override
 
const std::string & name () const override
 
const PHX::DataLayoutdataLayout () const override
 
PHX::DataLayoutnonConstDataLayout () override
 
const std::type_info & dataTypeInfo () const override
 
const std::string identifier () const override
 Unique name identifier that can be used for strict weak ordering in stl std::map keys.
 
void print (std::ostream &os) const override
 
- Public Member Functions inherited from PHX::FieldTag
virtual Teuchos::RCP< FieldTagclone () const =0
 
virtual bool operator== (const FieldTag &t) const =0
 
virtual bool operator!= (const FieldTag &t) const
 
virtual const std::string & name () const =0
 
virtual const PHX::DataLayoutdataLayout () const =0
 
virtual PHX::DataLayoutnonConstDataLayout ()=0
 
virtual const std::type_info & dataTypeInfo () const =0
 
virtual const std::string identifier () const =0
 Unique name identifier that can be used for strict weak ordering in stl std::map keys.
 
virtual void print (std::ostream &os) const =0
 

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. NOTE: The constness on the DataT is ignored for object comparisons and identifier string creation.

Member Function Documentation

◆ clone()

template<typename DataT >
Teuchos::RCP< PHX::FieldTag > PHX::Tag< DataT >::clone
overridevirtual

Implements PHX::FieldTag.

◆ dataLayout()

template<typename DataT >
const PHX::DataLayout & PHX::Tag< DataT >::dataLayout
overridevirtual

Implements PHX::FieldTag.

◆ dataTypeInfo()

template<typename DataT >
const std::type_info & PHX::Tag< DataT >::dataTypeInfo
overridevirtual

Implements PHX::FieldTag.

◆ identifier()

template<typename DataT >
const std::string PHX::Tag< DataT >::identifier ( ) const
overridevirtual

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

Implements PHX::FieldTag.

◆ name()

template<typename DataT >
const std::string & PHX::Tag< DataT >::name
overridevirtual

Implements PHX::FieldTag.

◆ nonConstDataLayout()

template<typename DataT >
PHX::DataLayout & PHX::Tag< DataT >::nonConstDataLayout
overridevirtual

Implements PHX::FieldTag.

◆ operator==()

template<typename DataT >
bool PHX::Tag< DataT >::operator== ( const FieldTag< DataT > &  t) const
overridevirtual

Implements PHX::FieldTag.

◆ print()

template<typename DataT >
void PHX::Tag< DataT >::print ( std::ostream &  os) const
overridevirtual

Implements PHX::FieldTag.


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