Definition in file const_edge.h.
#include "node.h"
#include "xtl_edge_trait.h"
Include dependency graph for const_edge.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | cttl |
Classes | |
struct | policy_default |
Provides default implementation for CTTL white space policy. More... | |
class | const_edge |
Implements concept of a logical immutable substring inside user input text. More... | |
Functions | |
template<typename StringT> | |
const_edge< policy_default, StringT > | operator- (node< StringT > &one_, node< StringT > &another_) |
Constructs cttl::const_edge object from pair of cttl::node objects. | |
template<typename StringT> | |
const_edge< policy_default, StringT > | operator+ (node< StringT > &one_, node< StringT > &another_) |
Constructs cttl::const_edge object from pair of cttl::node objects. | |
template<typename PolicyT, typename StringT> | |
const_edge< PolicyT, StringT > | new_edge (const_edge< PolicyT, StringT > &other_) |
Constructs new cttl::const_edge object from another edge. | |
template<typename StringT> | |
const_edge< policy_default, StringT > | new_edge (input< StringT > &inp_) |
Constructs new edge object pointing to the entire parseable universe. | |
template<typename StringT> | |
const_edge< policy_default, StringT > | new_edge (input< StringT > &inp_, size_t lhs_offset_, size_t rhs_offset_) |
Constructs new edge object pointing to the part of the cttl::input specified by the user. | |
template<typename PolicyT, typename StringT> | |
bool | operator< (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. | |
template<typename PolicyT, typename StringT> | |
bool | operator> (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. | |
template<typename PolicyT, typename StringT> | |
bool | operator>= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. | |
template<typename PolicyT, typename StringT> | |
bool | operator<= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. | |
template<typename PolicyT, typename StringT> | |
bool | operator== (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. | |
template<typename PolicyT, typename StringT> | |
bool | operator!= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_) |
Compares two edges by comparing the underlying text. |
|
Constructs new edge object pointing to the part of the
Definition at line 685 of file const_edge.h. References input::container(). |
|
Constructs new edge object pointing to the entire parseable universe.
Definition at line 658 of file const_edge.h. References input::container(), and input::length(). |
|
Constructs new
Definition at line 637 of file const_edge.h. References const_edge::first, const_edge::parent(), and const_edge::second. |
|
Compares two edges by comparing the underlying text.
Definition at line 792 of file const_edge.h. References const_edge::text(). |
|
Compares two edges by comparing the underlying text.
Definition at line 707 of file const_edge.h. References input::text(). |
|
Compares two edges by comparing the underlying text.
Definition at line 758 of file const_edge.h. References const_edge::text(). |
|
Compares two edges by comparing the underlying text.
Definition at line 775 of file const_edge.h. References const_edge::text(). |
|
Compares two edges by comparing the underlying text.
Definition at line 724 of file const_edge.h. References const_edge::text(). |
|
Compares two edges by comparing the underlying text.
Definition at line 741 of file const_edge.h. References const_edge::text(). |