INMOST
Mathematical Modelling Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
INMOST::interval< IndType, ValType > Class Template Reference

#include <container.hpp>

Inheritance diagram for INMOST::interval< IndType, ValType >:
Collaboration diagram for INMOST::interval< IndType, ValType >:

Public Types

typedef ValType * iterator
 
typedef ValType const * const_iterator
 

Public Member Functions

void clear ()
 
void swap (interval< IndType, ValType > &other)
 
 interval ()
 
 interval (IndType beg)
 
 if (beg!=end)
 
 interval (const interval &other)
 
 ~interval ()
 
intervaloperator= (interval const &other)
 
ValType & at (IndType row)
 
const ValType & at (IndType row) const
 
ValType & operator[] (IndType row)
 
const ValType & operator[] (IndType row) const
 
void set_interval_beg (IndType beg)
 
void set_interval_end (IndType end)
 
void shift_interval (IndType shift)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
IndType get_interval_beg () const
 
IndType get_interval_end () const
 
int size () const
 
bool empty () const
 

Public Attributes

 end_index = end
 
else array = NULL
 

Detailed Description

template<typename IndType, typename ValType>
class INMOST::interval< IndType, ValType >

Definition at line 1166 of file container.hpp.

Member Typedef Documentation

template<typename IndType, typename ValType>
typedef ValType const* INMOST::interval< IndType, ValType >::const_iterator

Definition at line 1170 of file container.hpp.

template<typename IndType, typename ValType>
typedef ValType* INMOST::interval< IndType, ValType >::iterator

Definition at line 1169 of file container.hpp.

Constructor & Destructor Documentation

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::interval ( )
inline

Definition at line 1199 of file container.hpp.

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::interval ( IndType  beg)
inline

Definition at line 1208 of file container.hpp.

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::interval ( const interval< IndType, ValType > &  other)
inline

Definition at line 1232 of file container.hpp.

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::~interval ( )
inline

Definition at line 1250 of file container.hpp.

Member Function Documentation

template<typename IndType, typename ValType>
ValType& INMOST::interval< IndType, ValType >::at ( IndType  row)
inline

Definition at line 1280 of file container.hpp.

template<typename IndType, typename ValType>
const ValType& INMOST::interval< IndType, ValType >::at ( IndType  row) const
inline

Definition at line 1286 of file container.hpp.

template<typename IndType, typename ValType>
iterator INMOST::interval< IndType, ValType >::begin ( )
inline

Definition at line 1355 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
const_iterator INMOST::interval< IndType, ValType >::begin ( ) const
inline

Definition at line 1356 of file container.hpp.

template<typename IndType, typename ValType>
void INMOST::interval< IndType, ValType >::clear ( )
inline

Definition at line 1176 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
bool INMOST::interval< IndType, ValType >::empty ( ) const
inline

Definition at line 1364 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
iterator INMOST::interval< IndType, ValType >::end ( )
inline

Definition at line 1358 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
const_iterator INMOST::interval< IndType, ValType >::end ( ) const
inline

Definition at line 1359 of file container.hpp.

template<typename IndType, typename ValType>
IndType INMOST::interval< IndType, ValType >::get_interval_beg ( ) const
inline

Definition at line 1361 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
IndType INMOST::interval< IndType, ValType >::get_interval_end ( ) const
inline

Definition at line 1362 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::if ( beg!  = end)
inline

Definition at line 1221 of file container.hpp.

template<typename IndType, typename ValType>
interval& INMOST::interval< IndType, ValType >::operator= ( interval< IndType, ValType > const &  other)
inline

Definition at line 1257 of file container.hpp.

template<typename IndType, typename ValType>
ValType& INMOST::interval< IndType, ValType >::operator[] ( IndType  row)
inline

Definition at line 1292 of file container.hpp.

template<typename IndType, typename ValType>
const ValType& INMOST::interval< IndType, ValType >::operator[] ( IndType  row) const
inline

Definition at line 1314 of file container.hpp.

template<typename IndType, typename ValType>
void INMOST::interval< IndType, ValType >::set_interval_beg ( IndType  beg)
inline

Definition at line 1320 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
void INMOST::interval< IndType, ValType >::set_interval_end ( IndType  end)
inline

Definition at line 1325 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
void INMOST::interval< IndType, ValType >::shift_interval ( IndType  shift)
inline

Definition at line 1348 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
int INMOST::interval< IndType, ValType >::size ( ) const
inline

Definition at line 1363 of file container.hpp.

Here is the caller graph for this function:

template<typename IndType, typename ValType>
void INMOST::interval< IndType, ValType >::swap ( interval< IndType, ValType > &  other)
inline

Definition at line 1183 of file container.hpp.

Here is the caller graph for this function:

Member Data Documentation

template<typename IndType, typename ValType>
else INMOST::interval< IndType, ValType >::array = NULL

Definition at line 1230 of file container.hpp.

template<typename IndType, typename ValType>
INMOST::interval< IndType, ValType >::end_index = end

Definition at line 1220 of file container.hpp.


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