NSVD Reader  0.0.1
nodamushi::visitor Namespace Reference

Namespaces

 details
 

Classes

struct  is_static
 

Enumerations

enum  result { result::CONTINUE, result::BREAK, result::SKIP }
 
enum  _visitor_member_type_ : int { _visitor_member_type_::staticmt =0, _visitor_member_type_::mt =1 }
 

Functions

template<typename CONTROLLER , typename VISITOR , typename T >
result apply (T &t)
 
template<typename CONTROLLER , typename VISITOR , typename T >
result apply (T &t, VISITOR &v)
 
template<typename CONTROLLER , typename VISITOR , typename T >
result applyController (T &t)
 
template<typename CONTROLLER , typename VISITOR , typename T >
result applyController (T &t, VISITOR &v)
 
template<typename VISITOR , typename T >
result applyVisit (T &t)
 
template<typename VISITOR , typename T >
result applyVisit (T &t, VISITOR &v)
 
template<typename VISITOR , typename T >
result applyPostVisit (T &t)
 
template<typename VISITOR , typename T >
result applyPostVisit (T &t, VISITOR &v)
 

Enumeration Type Documentation

◆ _visitor_member_type_

Enumerator
staticmt 
mt 

Definition at line 45 of file visitor.hpp.

◆ result

Enumerator
CONTINUE 

continue visitor processing

BREAK 

stop visitor processing

SKIP 

finish the current processing hierarchy

Definition at line 15 of file result.hpp.

Function Documentation

◆ apply() [1/2]

template<typename CONTROLLER , typename VISITOR , typename T >
result nodamushi::visitor::apply ( T &  t)

Definition at line 197 of file imple.hpp.

◆ apply() [2/2]

template<typename CONTROLLER , typename VISITOR , typename T >
result nodamushi::visitor::apply ( T &  t,
VISITOR &  v 
)

Definition at line 205 of file imple.hpp.

◆ applyController() [1/2]

template<typename CONTROLLER , typename VISITOR , typename T >
result nodamushi::visitor::applyController ( T &  t)

Definition at line 212 of file imple.hpp.

◆ applyController() [2/2]

template<typename CONTROLLER , typename VISITOR , typename T >
result nodamushi::visitor::applyController ( T &  t,
VISITOR &  v 
)

Definition at line 220 of file imple.hpp.

◆ applyPostVisit() [1/2]

template<typename VISITOR , typename T >
result nodamushi::visitor::applyPostVisit ( T &  t)

Definition at line 311 of file imple.hpp.

◆ applyPostVisit() [2/2]

template<typename VISITOR , typename T >
result nodamushi::visitor::applyPostVisit ( T &  t,
VISITOR &  v 
)

Definition at line 318 of file imple.hpp.

◆ applyVisit() [1/2]

template<typename VISITOR , typename T >
result nodamushi::visitor::applyVisit ( T &  t)

Definition at line 296 of file imple.hpp.

◆ applyVisit() [2/2]

template<typename VISITOR , typename T >
result nodamushi::visitor::applyVisit ( T &  t,
VISITOR &  v 
)

Definition at line 303 of file imple.hpp.