ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends | List of all members
index_guts Class Referenceabstract

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

#include <fvar.hpp>

Public Member Functions

 index_guts ()
 Default constructor. More...
 
 index_guts (const index_guts &ig)
 Copy constructor. More...
 
virtual ~index_guts ()
 Destructor. More...
 
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 7682 of file fvar.hpp.

Constructor & Destructor Documentation

index_guts::index_guts ( )

Default constructor.

Definition at line 14 of file indextyp.cpp.

index_guts::index_guts ( const index_guts ig)

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
inlinevirtual

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

Definition at line 7700 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
inlinevirtual

Reimplemented in number_index.

Definition at line 7696 of file fvar.hpp.

Referenced by index_type::isinteger().

virtual index_guts::operator int ( )
inlinevirtual

Reimplemented in number_index.

Definition at line 7704 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 7712 of file fvar.hpp.

friend class index_type
friend

Definition at line 7713 of file fvar.hpp.

Member Data Documentation

int* index_guts::ncopies
protected

Definition at line 7685 of file fvar.hpp.

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


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