www.mooseframework.org
EFANode.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef EFANODE_H
9 #define EFANODE_H
10 
11 #include <string>
12 
13 class EFANode
14 {
15 public:
17  {
23  };
24 
25  EFANode(unsigned int nid, N_CATEGORY ncat, EFANode * nparent = NULL);
26 
27 private:
29  unsigned int _id;
31 
32 public:
33  std::string idCatString();
34  unsigned int id() const;
35  N_CATEGORY category() const;
37  EFANode * parent() const;
38  void removeParent();
39 };
40 
41 #endif
EFANode * parent() const
Definition: EFANode.C:46
std::string idCatString()
Definition: EFANode.C:18
N_CATEGORY
Definition: EFANode.h:16
N_CATEGORY _category
Definition: EFANode.h:28
void removeParent()
Definition: EFANode.C:52
N_CATEGORY category() const
Definition: EFANode.C:40
EFANode(unsigned int nid, N_CATEGORY ncat, EFANode *nparent=NULL)
Definition: EFANode.C:12
void setCategory(EFANode::N_CATEGORY category)
Definition: EFANode.C:58
unsigned int id() const
Definition: EFANode.C:34
unsigned int _id
Definition: EFANode.h:29
EFANode * _parent
Definition: EFANode.h:30