Definition in file inode_writer.h.
#include <cassert>
#include <vector>
#include <iterator>
#include <functional>
Include dependency graph for inode_writer.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 | inode_writer |
Represents writable node of a syntax tree, modeled on top of STL sequence container. More... | |
Functions | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const & | operator<< (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &lhs_, int size_) |
Inserts N copies of default values at the end of the sequence container. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator== (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator== (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator!= (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator!= (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator< (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator< (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator<= (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator<= (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator> (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator> (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator>= (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_, typename ContainerT::size_type offset_) |
Compare offsets. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator>= (typename ContainerT::size_type offset_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Compares offsets of two nodes. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator== (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &one_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &another_) |
Bidirectional iterator: comparison of two inode_writer objects returns true if positions of the nodes are equal, false otherwise. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator!= (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &one_, inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &another_) |
Bidirectional iterator: true if node positions are different. | |
template<int PreviousLinkT, int NextLinkT, typename ContainerT> | |
bool | operator! (inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &inode_) |
Bidirectional iterator: true if node position is zero. |
|
Bidirectional iterator: true if node position is zero.
Definition at line 659 of file inode_writer.h. References inode_writer::offset(). |
|
Bidirectional iterator: true if node positions are different.
Definition at line 649 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 546 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 536 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 566 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 556 of file inode_writer.h. References inode_writer::offset(). |
|
Inserts N copies of default values at the end of the sequence container. Adjusts node position accordingly to the insertion point. If N is zero, no insertions are made. Definition at line 480 of file inode_writer.h. References inode_writer::container(), and inode_writer::offset(). |
|
Compare offsets.
Definition at line 586 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 576 of file inode_writer.h. References inode_writer::offset(). |
|
Bidirectional iterator: comparison of two inode_writer objects returns true if positions of the nodes are equal, false otherwise.
Definition at line 639 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 526 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 516 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 606 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 596 of file inode_writer.h. References inode_writer::offset(). |
|
Compares offsets of two nodes.
Definition at line 626 of file inode_writer.h. References inode_writer::offset(). |
|
Compare offsets.
Definition at line 616 of file inode_writer.h. References inode_writer::offset(). |