TransformCard Class Reference
Inheritance diagram for TransformCard:
DataCard DataRef< Transform > Card

List of all members.

Public Member Functions

 TransformCard (InputDeck &deck, int ident_p, bool degree_format, const token_list_t &input)
const TransformgetData () const
TransformCardclone ()
virtual void print (std::ostream &str)
virtual kind getKind ()
int getIdent () const

Protected Attributes

int ident
Transform trans

Detailed Description

Definition at line 953 of file MCNPInput.cpp.

Constructor & Destructor Documentation

TransformCard::TransformCard ( InputDeck deck,
int  ident_p,
bool  degree_format,
const token_list_t input 

Definition at line 972 of file MCNPInput.cpp.

  DataCard(deck), ident(ident_p), trans( Transform( makeTransformArgs( input ), degree_format ) )

Member Function Documentation

TransformCard* TransformCard::clone ( ) [inline, virtual]

Implements DataRef< Transform >.

Definition at line 964 of file MCNPInput.cpp.

{ return new TransformCard(*this); }
const Transform& TransformCard::getData ( ) const [inline, virtual]

Implements DataRef< Transform >.

Definition at line 963 of file MCNPInput.cpp.

{ return trans; }
int TransformCard::getIdent ( ) const [inline]

Definition at line 968 of file MCNPInput.cpp.

{ return ident; }
virtual kind TransformCard::getKind ( ) [inline, virtual]

Reimplemented from DataCard.

Definition at line 967 of file MCNPInput.cpp.

{ return TR; }
void TransformCard::print ( std::ostream &  str) [virtual]

Implements DataCard.

Definition at line 976 of file MCNPInput.cpp.

  str << "TR" << ident << ": ";
  str << std::endl;

Member Data Documentation

int TransformCard::ident [protected]

Definition at line 956 of file MCNPInput.cpp.

Definition at line 957 of file MCNPInput.cpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines