www.mooseframework.org
EFANode.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include <string>
13 
14 class EFANode
15 {
16 public:
18  {
24  };
25 
26  EFANode(unsigned int nid, N_CATEGORY ncat, EFANode * nparent = NULL);
27 
28 private:
30  unsigned int _id;
32 
33 public:
34  std::string idCatString();
35  unsigned int id() const;
36  N_CATEGORY category() const;
38  EFANode * parent() const;
39  void removeParent();
40 };
41 
EFANode::category
N_CATEGORY category() const
Definition: EFANode.C:42
EFANode::id
unsigned int id() const
Definition: EFANode.C:36
EFANode::EFANode
EFANode(unsigned int nid, N_CATEGORY ncat, EFANode *nparent=NULL)
Definition: EFANode.C:14
EFANode::_parent
EFANode * _parent
Definition: EFANode.h:31
EFANode::N_CATEGORY_EMBEDDED
Definition: EFANode.h:21
EFANode::N_CATEGORY_LOCAL_INDEX
Definition: EFANode.h:23
EFANode::N_CATEGORY_TEMP
Definition: EFANode.h:20
EFANode::_id
unsigned int _id
Definition: EFANode.h:30
EFANode::setCategory
void setCategory(EFANode::N_CATEGORY category)
Definition: EFANode.C:60
EFANode::idCatString
std::string idCatString()
Definition: EFANode.C:20
EFANode::N_CATEGORY
N_CATEGORY
Definition: EFANode.h:17
EFANode::N_CATEGORY_PERMANENT
Definition: EFANode.h:19
EFANode::_category
N_CATEGORY _category
Definition: EFANode.h:29
EFANode::N_CATEGORY_EMBEDDED_PERMANENT
Definition: EFANode.h:22
EFANode
Definition: EFANode.h:14
EFANode::parent
EFANode * parent() const
Definition: EFANode.C:48
EFANode::removeParent
void removeParent()
Definition: EFANode.C:54