Euphoria
Public Member Functions | List of all members
eu::kdl::Node Class Reference
Inheritance diagram for eu::kdl::Node:
eu::kdl::HasTypeAnnotation

Public Member Functions

 Node ()=default
 
 Node (Node const &)=default
 
 Node (Node &&)=default
 
 Node (std::string_view name)
 
 Node (std::string_view type_annotation, std::string_view name)
 
 Node (std::string_view name, std::vector< Value > args, std::map< std::string, Value, std::less<> > properties, std::vector< Node > children)
 
 Node (std::string_view type_annotation, std::string_view name, std::vector< Value > args, std::map< std::string, Value, std::less<> > properties, std::vector< Node > children)
 
Nodeoperator= (Node const &)=default
 
Nodeoperator= (Node &&)=default
 
std::string constname () const
 
void set_name (std::string_view name)
 
const std::vector< Value > & args () const
 
std::vector< Value > & args ()
 
const std::map< std::string, Value, std::less<> > & properties () const
 
std::map< std::string, Value, std::less<> > & properties ()
 
const std::vector< Node > & children () const
 
std::vector< Node > & children ()
 
- Public Member Functions inherited from eu::kdl::HasTypeAnnotation
const std::optional< std::string > & type_annotation () const
 
void set_type_annotation (std::string_view type_annotation)
 
void remove_type_annotation ()
 
bool operator== (const HasTypeAnnotation &) const =default
 
bool operator!= (const HasTypeAnnotation &) const =default
 

Additional Inherited Members

- Protected Member Functions inherited from eu::kdl::HasTypeAnnotation
 HasTypeAnnotation ()=default
 
 HasTypeAnnotation (std::string_view t)
 

Detailed Description

Definition at line 269 of file kdl.h.

Constructor & Destructor Documentation

◆ Node() [1/7]

eu::kdl::Node::Node ( )
default

◆ Node() [2/7]

eu::kdl::Node::Node ( Node const )
default

◆ Node() [3/7]

eu::kdl::Node::Node ( Node &&  )
default

◆ Node() [4/7]

eu::kdl::Node::Node ( std::string_view  name)
inline

Definition at line 280 of file kdl.h.

◆ Node() [5/7]

eu::kdl::Node::Node ( std::string_view  type_annotation,
std::string_view  name 
)
inline

Definition at line 281 of file kdl.h.

◆ Node() [6/7]

eu::kdl::Node::Node ( std::string_view  name,
std::vector< Value args,
std::map< std::string, Value, std::less<> >  properties,
std::vector< Node children 
)
inline

Definition at line 286 of file kdl.h.

◆ Node() [7/7]

eu::kdl::Node::Node ( std::string_view  type_annotation,
std::string_view  name,
std::vector< Value args,
std::map< std::string, Value, std::less<> >  properties,
std::vector< Node children 
)
inline

Definition at line 296 of file kdl.h.

Member Function Documentation

◆ args() [1/2]

std::vector< Value > & eu::kdl::Node::args ( )
inline

Definition at line 316 of file kdl.h.

◆ args() [2/2]

const std::vector< Value > & eu::kdl::Node::args ( ) const
inline

Definition at line 315 of file kdl.h.

◆ children() [1/2]

std::vector< Node > & eu::kdl::Node::children ( )
inline

Definition at line 320 of file kdl.h.

◆ children() [2/2]

const std::vector< Node > & eu::kdl::Node::children ( ) const
inline

Definition at line 319 of file kdl.h.

◆ name()

std::string const & eu::kdl::Node::name ( ) const
inline

Definition at line 312 of file kdl.h.

◆ operator=() [1/2]

Node & eu::kdl::Node::operator= ( Node &&  )
default

◆ operator=() [2/2]

Node & eu::kdl::Node::operator= ( Node const )
default

◆ properties() [1/2]

std::map< std::string, Value, std::less<> > & eu::kdl::Node::properties ( )
inline

Definition at line 318 of file kdl.h.

◆ properties() [2/2]

const std::map< std::string, Value, std::less<> > & eu::kdl::Node::properties ( ) const
inline

Definition at line 317 of file kdl.h.

◆ set_name()

void eu::kdl::Node::set_name ( std::string_view  name)
inline

Definition at line 313 of file kdl.h.


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