Phalanx  Development
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Types | Public Member Functions | Protected Attributes | Friends | 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 bool operator!= (const FieldTag &t) const
 

Protected Attributes

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

Friends

template<typename >
class Tag
 

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.


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