ARB
Public Member Functions | List of all members
ExplicitRange Class Reference

#include <pos_range.h>

Inheritance diagram for ExplicitRange:
Inheritance graph
[legend]
Collaboration diagram for ExplicitRange:
Collaboration graph
[legend]

Public Member Functions

 ExplicitRange (const ExplicitRange &limRange)
 
 ExplicitRange (const PosRange &limRange)
 
 ExplicitRange (const PosRange &range, int maxlen)
 
 ExplicitRange (int start_, int end_)
 
 ExplicitRange (int len)
 
 DECLARE_ASSIGNMENT_OPERATOR (ExplicitRange)
 
- Public Member Functions inherited from PosRange
 PosRange ()
 
 PosRange (int From, int to)
 
int start () const
 
int end () const
 
int size () const
 
bool is_whole () const
 
bool is_empty () const
 
bool is_part () const
 
bool has_end () const
 
bool is_limited () const
 
bool is_unlimited () const
 
bool operator== (const PosRange &other) const
 
bool operator!= (const PosRange &other) const
 
void copy_corresponding_part (char *dest, const char *source, size_t source_len) const
 
chardup_corresponding_part (const char *source, size_t source_len) const
 
bool contains (int pos) const
 
bool contains (const PosRange &other) const
 
PosRange after () const
 
PosRange prior () const
 

Additional Inherited Members

- Static Public Member Functions inherited from PosRange
static PosRange empty ()
 
static PosRange whole ()
 
static PosRange from (int pos)
 
static PosRange after (int pos)
 
static PosRange till (int pos)
 
static PosRange prior (int pos)
 

Detailed Description

Definition at line 116 of file pos_range.h.

Constructor & Destructor Documentation

ExplicitRange::ExplicitRange ( const ExplicitRange limRange)
inline

Definition at line 127 of file pos_range.h.

ExplicitRange::ExplicitRange ( const PosRange limRange)
inlineexplicit

Definition at line 128 of file pos_range.h.

References arb_assert.

ExplicitRange::ExplicitRange ( const PosRange range,
int  maxlen 
)
inline

Definition at line 130 of file pos_range.h.

References arb_assert.

ExplicitRange::ExplicitRange ( int  start_,
int  end_ 
)
inline

Definition at line 136 of file pos_range.h.

References arb_assert.

ExplicitRange::ExplicitRange ( int  len)
inlineexplicit

Definition at line 140 of file pos_range.h.

References arb_assert.

Member Function Documentation

ExplicitRange::DECLARE_ASSIGNMENT_OPERATOR ( ExplicitRange  )

The documentation for this class was generated from the following file: