#include <edge.h>
Inheritance diagram for edge:


PolicyT cttl::policy_default.StringT std::string
Definition at line 63 of file edge.h.
Public Types | |
| typedef StringT | string_T |
| Defines type of encapsulated string. | |
| typedef StringT::value_type | char_T |
| Defines type of encapsulated character. | |
|
typedef xtl_mutable_offset_manager< StringT > | offset_manager_T |
| Defines offset manager type for this type of edge. | |
| typedef PolicyT | policy_T |
| Defines type of space policy. | |
| typedef PolicyT::strict_policy_T | strict_policy_T |
| Defines type of policy for strict universe. | |
| typedef edge< strict_policy_T, StringT > | strict_edge_T |
| Defines type of edge template specialization for strict grammar evaluation. | |
| typedef node< StringT > | node_T |
| Defines type of the encapsulated cttl::node objects. | |
Public Member Functions | |
| edge (input< StringT > &inp_, int start_, int finish_) | |
Constructs new edge from the instance of cttl::input object. | |
| edge (node< StringT > &node_first_, node< StringT > &node_second_) | |
Constructs new edge from two cttl::node objects. | |
| template<typename Other_policyT> | |
| edge (const_edge< Other_policyT, StringT > const &other_) | |
Constructs new edge from another edge or const_edge with different policy type. | |
| edge (const_edge< PolicyT, StringT > const &other_) | |
| Constructs exact copy of the existing edge. | |
| template<typename Other_policyT> | |
| edge (const_edge< Other_policyT, StringT > const &other_, PolicyT &policy_) | |
Constructs new edge from another edge with policy type explicitly provided by the user. | |
| void | text (StringT const &str_) |
| Changes underlying text. | |
| void | text (const_edge< PolicyT, StringT > const &other_) |
| Changes underlying text. | |
| StringT | text () const |
| Returns underlying text. | |
| void | text_swap (edge< PolicyT, StringT > &other_) |
| Swaps underlying text of two edges. | |
| edge< PolicyT, StringT > & | operator= (const_edge< PolicyT, StringT > const &other_) |
| Edge assignment. | |
| edge< PolicyT, StringT > & | operator= (StringT const &str_) |
| Assigns new text to the edge. | |
|
|
Defines type of edge template specialization for strict grammar evaluation. For more information, see strict universe overview. Reimplemented from const_edge. |
|
|
Defines type of policy for strict universe. C++ type designated as strict policy type must provide a default constructor. The strict policy is always constructed as a static member of the strict universe using the default constructor, and therefore, the strict policy must have stateless implementation. Reimplemented from const_edge. |
|
||||||||||||||||
|
Constructs new
|
|
||||||||||||
|
Constructs new
|
|
|
Constructs new
|
|
||||||||||||
|
Constructs new
|
|
|
Assigns new text to the edge.
|
|
|
Edge assignment.
Reimplemented from const_edge. |
|
|
Swaps underlying text of two edges.
Definition at line 226 of file edge.h. References edge::text(). |
1.3.9.1