stlab.adobe.com Adobe Systems Incorporated

bitpath_t Struct Reference

#include <forest_bitpath.hpp>

List of all members.

Public Types

typedef boost::dynamic_bitset
< value_type
path_type
typedef path_type::size_type size_type
typedef unsigned char value_type

Public Member Functions

 bitpath_t ()
template<typename ForestFullorderIterator >
 bitpath_t (ForestFullorderIterator node, ForestFullorderIterator root)
 bitpath_t (const path_type &path)
 bitpath_t (const bitpath_t &rhs)
template<typename Container >
 bitpath_t (const Container &x)
bool empty () const
bool operator[] (size_type n) const
bool pop ()
adobe::vector< value_typeportable () const
void push (bool value=bitpath_first_child)
size_type size () const
bool valid () const

Friends

bool operator< (const bitpath_t &x, const bitpath_t &y)
std::ostream & operator<< (std::ostream &s, const bitpath_t &x)
bool operator== (const bitpath_t &x, const bitpath_t &y)

Detailed Description

Definition at line 36 of file forest_bitpath.hpp.


Member Typedef Documentation

typedef boost::dynamic_bitset<value_type> path_type

Definition at line 39 of file forest_bitpath.hpp.

typedef path_type::size_type size_type

Definition at line 40 of file forest_bitpath.hpp.

typedef unsigned char value_type

Definition at line 38 of file forest_bitpath.hpp.


Constructor & Destructor Documentation

bitpath_t (  )

Definition at line 42 of file forest_bitpath.hpp.

bitpath_t ( ForestFullorderIterator  node,
ForestFullorderIterator  root 
)

Definition at line 47 of file forest_bitpath.hpp.

bitpath_t ( const Container &  x ) [explicit]

Definition at line 64 of file forest_bitpath.hpp.

bitpath_t ( const path_type path ) [explicit]

Definition at line 70 of file forest_bitpath.hpp.

bitpath_t ( const bitpath_t rhs )

Definition at line 76 of file forest_bitpath.hpp.


Member Function Documentation

bool empty (  ) const

Definition at line 80 of file forest_bitpath.hpp.

bool operator[] ( size_type  n ) const

Definition at line 88 of file forest_bitpath.hpp.

bool pop (  )

Definition at line 100 of file forest_bitpath.hpp.

adobe::vector<value_type> portable (  ) const

Definition at line 111 of file forest_bitpath.hpp.

void push ( bool  value = bitpath_first_child )

Definition at line 91 of file forest_bitpath.hpp.

size_type size (  ) const

Definition at line 82 of file forest_bitpath.hpp.

bool valid (  ) const

Definition at line 85 of file forest_bitpath.hpp.


Friends And Related Function Documentation

bool operator< ( const bitpath_t x,
const bitpath_t y 
) [friend]

Definition at line 125 of file forest_bitpath.hpp.

std::ostream& operator<< ( std::ostream &  s,
const bitpath_t x 
) [friend]

Definition at line 135 of file forest_bitpath.hpp.

bool operator== ( const bitpath_t x,
const bitpath_t y 
) [friend]

Definition at line 122 of file forest_bitpath.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google