HTM SpatialIndex Class Reference

class SpatialBoundsError : public SpatialException

SpatialException thrown on violation of array bounds

Inheritance:


Public Methods

SpatialBoundsError ( const char *what = 0 ) throw()
Default and explicit constructors.
SpatialBoundsError ( const char *context, const char *array, int32 limit =-1, int32 index=-1 ) throw()
Standard constructor
SpatialBoundsError ( const SpatialBoundsError& ) throw()
Copy constructor.

Inherited from SpatialException:

Public Fields

static char* defaultstr[]

Public Methods

SpatialException& operator=( const SpatialException& ) throw()
virtual const char* what() const throw()
int slen(const char *) const
void clear()

Protected Fields

char* str_

Documentation

SpatialException thrown on violation of array bounds. This Exception should be thrown on detection of an attempt to access elements beyond the boundaries of an array. A special constructor is provided for assembling the message from the typical components: program context, array name, violated boundary, and violating index.
SpatialBoundsError( const char *what = 0 ) throw()
Default and explicit constructors.

SpatialBoundsError( const char *context, const char *array, int32 limit =-1, int32 index=-1 ) throw()
Standard constructor. If limit and index are -1, both are considered unknown. Note that the upper limit of a zero-offset array is not the same as the number of elements.

SpatialBoundsError( const SpatialBoundsError& ) throw()
Copy constructor.


This class has no child classes.

alphabetic index hierarchy of classes


© Copyright The Johns Hopkins University 1999, All Rights Reserved.
Peter Z. Kunszt,

generated by doc++