YAMLParser
Public Member Functions | List of all members
CrossSectionDummy Class Reference

This class is a dummy for cross-section, used when no cross-section is specified in the input file. More...

#include <CrossSectionDummy.h>

Inheritance diagram for CrossSectionDummy:
GenericCrossSection Identifiable

Public Member Functions

 CrossSectionDummy ()
 
 ~CrossSectionDummy ()
 
Identifiable::Type getType ()
 
std::string getTypeAsString ()
 
virtual bool assignIndependentAttributes (YAML::Node &yamlNode) override
 
virtual void printAttributes () override
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
int getID () const
 Getter for the externally defined identification number. More...
 

Additional Inherited Members

- Public Types inherited from Identifiable
enum  Type {
  NULLTYPE, NODE, COORDSYS, BEAM,
  TRISHELL, QUADSHEL, VECTOR, ECCENT,
  ISOMATERIAL, PIPE, BOX, IHPROFIL,
  LSECTION, TSECTION, PLCOMP, CROSS_SECTION_DUMMY,
  NODELOAD, LOADCOMB
}
 
- Public Attributes inherited from Identifiable
std::vector< std::string > s_Types
 
Type type
 The FEM element type (see enum definition) More...
 
- Protected Member Functions inherited from Identifiable
void setID (int id)
 Setter for the externally defined identification number. More...
 
- Protected Attributes inherited from Identifiable
int id
 Externally defined identification number. More...
 

Detailed Description

This class is a dummy for cross-section, used when no cross-section is specified in the input file.

Constructor & Destructor Documentation

◆ CrossSectionDummy()

CrossSectionDummy::CrossSectionDummy ( )

◆ ~CrossSectionDummy()

CrossSectionDummy::~CrossSectionDummy ( )

Member Function Documentation

◆ assignIndependentAttributes()

bool CrossSectionDummy::assignIndependentAttributes ( YAML::Node &  yamlNode)
overridevirtual

Setter for independent (dependency level null) attributes

Implements GenericCrossSection.

◆ getType()

Identifiable::Type CrossSectionDummy::getType ( )
virtual

Function returning the type of the element.
Used to specify element types for operatins such as comparison.

Reimplemented from Identifiable.

◆ getTypeAsString()

std::string CrossSectionDummy::getTypeAsString ( )
virtual

Function returning the type as a string.
Used to throw informative error messages

Reimplemented from Identifiable.

◆ printAttributes()

void CrossSectionDummy::printAttributes ( )
overridevirtual

Print attributes to console

Implements GenericCrossSection.


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