STOFFStarMathToMMLConverterInternal::Node Struct Reference

a data node More...

Public Types

enum  Type {
  Root, Empty, Unknown, Sequence,
  SequenceRow, Relation, Addition, Multiplication,
  Position, Function, Accent, Integral,
  UnaryOperator, Parenthesis, ParenthesisLeft, ParenthesisRight,
  Special, String, Number
}
 the node type More...
 

Public Member Functions

 Node (Type type=Unknown, std::string const &spaces="")
 constructor More...
 

Public Attributes

Type m_type
 the node type More...
 
std::string m_spaces
 the different spaces More...
 
std::string m_function
 the function More...
 
std::string m_data
 the data More...
 
std::vector< std::shared_ptr< Node > > m_childs
 list of child More...
 

Friends

std::ostream & operator<< (std::ostream &o, Node const &nd)
 operator<< More...
 

Detailed Description

a data node

Member Enumeration Documentation

◆ Type

the node type

Enumerator
Root 
Empty 
Unknown 
Sequence 
SequenceRow 
Relation 
Addition 
Multiplication 
Position 
Function 
Accent 
Integral 
UnaryOperator 
Parenthesis 
ParenthesisLeft 
ParenthesisRight 
Special 
String 
Number 

Constructor & Destructor Documentation

◆ Node()

STOFFStarMathToMMLConverterInternal::Node::Node ( Type  type = Unknown,
std::string const &  spaces = "" 
)
inlineexplicit

constructor

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Node const &  nd 
)
friend

operator<<

Member Data Documentation

◆ m_childs

◆ m_data

std::string STOFFStarMathToMMLConverterInternal::Node::m_data

◆ m_function

std::string STOFFStarMathToMMLConverterInternal::Node::m_function

◆ m_spaces

std::string STOFFStarMathToMMLConverterInternal::Node::m_spaces

◆ m_type

Type STOFFStarMathToMMLConverterInternal::Node::m_type

The documentation for this struct was generated from the following file:

Generated on Mon Jan 20 2020 23:02:23 for libstaroffice by doxygen 1.8.16