ADMB Documentation  11.6rc.3405
 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 7489 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 7507 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 7503 of file fvar.hpp.

Referenced by index_type::isinteger().

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

Reimplemented in number_index.

Definition at line 7511 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 7519 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 7520 of file fvar.hpp.


Member Data Documentation

int* index_guts::ncopies [protected]

Definition at line 7492 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: