ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Protected Attributes | Friends
index_guts Class Reference

Abstract base class for different index types. More...

#include <fvar.hpp>

Public Member Functions

 index_guts ()
 Default constructor.
 index_guts (const index_guts &ig)
 Copy constructor.
virtual ~index_guts ()
 Destructor.
virtual int dimension () const
virtual int indexmax () const =0
virtual int indexmin () const =0
virtual int isinteger () const
virtual operator int ()
virtual index_gutsoperator[] (int)=0

Protected Attributes

int * ncopies

Friends

class ad_integer
class index_type

Detailed Description

Abstract base class for different index types.

Definition at line 7476 of file fvar.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 14 of file indextyp.cpp.

Copy constructor.

Definition at line 20 of file indextyp.cpp.

index_guts::~index_guts ( ) [virtual]

Destructor.

Definition at line 26 of file indextyp.cpp.


Member Function Documentation

virtual int index_guts::dimension ( ) const [inline, virtual]

Reimplemented in i4_index, i3_index, matrix_index, vector_index, and number_index.

Definition at line 7494 of file fvar.hpp.

Referenced by index_type::dimension().

virtual int index_guts::indexmax ( ) const [pure virtual]
virtual int index_guts::indexmin ( ) const [pure virtual]
virtual int index_guts::isinteger ( ) const [inline, virtual]

Reimplemented in number_index.

Definition at line 7490 of file fvar.hpp.

Referenced by index_type::isinteger().

virtual index_guts::operator int ( ) [inline, virtual]

Reimplemented in number_index.

Definition at line 7498 of file fvar.hpp.

virtual index_guts* index_guts::operator[] ( int  ) [pure virtual]

Friends And Related Function Documentation

friend class ad_integer [friend]

Definition at line 7506 of file fvar.hpp.

friend class index_type [friend]

Reimplemented in i4_index, i3_index, matrix_index, vector_index, and number_index.

Definition at line 7507 of file fvar.hpp.


Member Data Documentation

int* index_guts::ncopies [protected]

Definition at line 7479 of file fvar.hpp.

Referenced by index_guts(), ~index_guts(), and index_type::~index_type().

List of all members.


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