Main Page | Namespace List | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

inode_writer.h File Reference


Detailed Description

Inode implementation file.

Definition in file inode_writer.h.

#include <cassert>
#include <vector>
#include <iterator>
#include <functional>

Include dependency graph for inode_writer.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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.


Function Documentation

bool operator! inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_  ) 
 

Bidirectional iterator: true if node position is zero.

Definition at line 659 of file inode_writer.h.

References inode_writer::offset().

bool operator!= inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  one_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  another_
 

Bidirectional iterator: true if node positions are different.

Definition at line 649 of file inode_writer.h.

References inode_writer::offset().

bool operator!= typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compare offsets.

Definition at line 546 of file inode_writer.h.

References inode_writer::offset().

bool operator!= inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 536 of file inode_writer.h.

References inode_writer::offset().

bool operator< typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compare offsets.

Definition at line 566 of file inode_writer.h.

References inode_writer::offset().

bool operator< inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 556 of file inode_writer.h.

References inode_writer::offset().

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.

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().

bool operator<= typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compare offsets.

Definition at line 586 of file inode_writer.h.

References inode_writer::offset().

bool operator<= inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 576 of file inode_writer.h.

References inode_writer::offset().

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.

Definition at line 639 of file inode_writer.h.

References inode_writer::offset().

bool operator== typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compare offsets.

Definition at line 526 of file inode_writer.h.

References inode_writer::offset().

bool operator== inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 516 of file inode_writer.h.

References inode_writer::offset().

bool operator> typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compare offsets.

Definition at line 606 of file inode_writer.h.

References inode_writer::offset().

bool operator> inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 596 of file inode_writer.h.

References inode_writer::offset().

bool operator>= typename ContainerT::size_type  offset_,
inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_
 

Compares offsets of two nodes.

Definition at line 626 of file inode_writer.h.

References inode_writer::offset().

bool operator>= inode_writer< PreviousLinkT, NextLinkT, ContainerT > const &  inode_,
typename ContainerT::size_type  offset_
 

Compare offsets.

Definition at line 616 of file inode_writer.h.

References inode_writer::offset().


Generated on Thu Nov 2 17:43:45 2006 for CTTL Utility Classes and Functions by  doxygen 1.3.9.1