YAMLParser
FETsection.h
Go to the documentation of this file.
1 
5 #pragma once
6 #include "yaml-cpp/yaml.h"
7 #include "GenericCrossSection.h"
8 class FETsection :
10 {
11 public:
12  FETsection(YAML::Node& yamlNode);
13  ~FETsection();
14 
15  //---------- Functions -----------
16  //Inherited via Identifiable
17  virtual Identifiable::Type getType() override;
18  virtual std::string getTypeAsString() override;
19 
20  // Inherited via GenericCrossSection
21  virtual void printAttributes() override;
22  virtual bool assignIndependentAttributes(YAML::Node & yamlNode) override;
23 
24  //---------- Data fields ----------
25  double H;
26  double T_web;
27  double Width;
28  double T_top;
29 };
30 
double H
Height of profile.
Definition: FETsection.h:25
double T_web
Thickness of the vertical part.
Definition: FETsection.h:26
double Width
Width of the top flange.
Definition: FETsection.h:27
virtual Identifiable::Type getType() override
Definition: FETsection.cpp:15
virtual std::string getTypeAsString() override
Definition: FETsection.cpp:16
virtual void printAttributes() override
Definition: FETsection.cpp:36
virtual bool assignIndependentAttributes(YAML::Node &yamlNode) override
Definition: FETsection.cpp:18
This class represents a T-profile cross-sections, used by for instance BEAM elements.
Definition: FETsection.h:8
Type
Definition: Identifiable.h:26
FETsection(YAML::Node &yamlNode)
Definition: FETsection.cpp:5
double T_top
Thickness of the top flange.
Definition: FETsection.h:28
This is the base class for all cross-section classes.
Definition: GenericCrossSection.h:13
~FETsection()
Definition: FETsection.cpp:12