inspect::Hierarchy

Summary

Constructors and Destructors

Hierarchy()
Hierarchy(NodeValue node, std::vector< Hierarchy > children)
Hierarchy(Hierarchy &&)
Hierarchy(const Hierarchy &)

Public functions

GetByPath(const std::vector< std::string > & path) const
const Hierarchy *
Sort()
void
Visit(fit::function< bool(const std::vector< std::string > &, Hierarchy *)> callback)
void
Visit(fit::function< bool(const std::vector< std::string > &, const Hierarchy *)> callback) const
void
add_child(Hierarchy child)
void
add_missing_value(MissingValueReason reason, std::string name)
void
children() const
const std::vector< Hierarchy > &
missing_values() const
const std::vector< MissingValue > &
name() const
const std::string &
node() const
const NodeValue &
node_ptr()
operator=(Hierarchy &&)=default
operator=(const Hierarchy &)=delete
take_children()
std::vector< Hierarchy >

Public functions

GetByPath

const Hierarchy * GetByPath(
  const std::vector< std::string > & path
) const 

Hierarchy

 Hierarchy()=default

Hierarchy

 Hierarchy(
  NodeValue node,
  std::vector< Hierarchy > children
)

Hierarchy

 Hierarchy(
  Hierarchy &&
)=default

Hierarchy

 Hierarchy(
  const Hierarchy &
)=delete

Sort

void Sort()

Visit

void Visit(
  fit::function< bool(const std::vector< std::string > &, Hierarchy *)> callback
)

Visit

void Visit(
  fit::function< bool(const std::vector< std::string > &, const Hierarchy *)> callback
) const 

add_child

void add_child(
  Hierarchy child
)

add_missing_value

void add_missing_value(
  MissingValueReason reason,
  std::string name
)

children

const std::vector< Hierarchy > & children() const 

missing_values

const std::vector< MissingValue > & missing_values() const 

name

const std::string & name() const 

node

const NodeValue & node() const 

node_ptr

NodeValue * node_ptr()

operator=

Hierarchy & operator=(
  Hierarchy &&
)=default

operator=

Hierarchy & operator=(
  const Hierarchy &
)=delete

take_children

std::vector< Hierarchy > take_children()