gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Arguments Class Reference

#include <arguments.hh>

Classes

class  Data
 

Public Member Functions

 Arguments (ThreadContext *ctx, int n=0)
 
 Arguments (const Arguments &args)
 
 ~Arguments ()
 
ThreadContextgetThreadContext () const
 
const Argumentsoperator= (const Arguments &args)
 
bool operator! ()
 
Argumentsoperator++ ()
 
Arguments operator++ (int)
 
Argumentsoperator-- ()
 
Arguments operator-- (int)
 
const Argumentsoperator+= (int index)
 
const Argumentsoperator-= (int index)
 
Arguments operator[] (int index)
 
template<class T >
 operator T ()
 
template<class T >
 operator T * ()
 
 operator char * ()
 

Protected Member Functions

uint64_t getArg (uint16_t size=(uint16_t)(-1), bool fp=false)
 

Protected Attributes

ThreadContexttc
 
int number
 
std::shared_ptr< Datadata
 

Detailed Description

Definition at line 41 of file arguments.hh.

Constructor & Destructor Documentation

Arguments::Arguments ( ThreadContext ctx,
int  n = 0 
)
inline

Definition at line 65 of file arguments.hh.

References number.

Referenced by operator[]().

Arguments::Arguments ( const Arguments args)
inline

Definition at line 68 of file arguments.hh.

Arguments::~Arguments ( )
inline

Definition at line 70 of file arguments.hh.

Member Function Documentation

uint64_t Arguments::getArg ( uint16_t  size = (uint16_t)(-1),
bool  fp = false 
)
protected

Definition at line 53 of file arguments.cc.

References AlphaISA::getArgument(), number, and tc.

Referenced by operator char *(), operator T(), operator T *(), and operator!().

ThreadContext* Arguments::getThreadContext ( ) const
inline

Definition at line 72 of file arguments.hh.

References tc.

Arguments::operator char * ( )
inline

Definition at line 144 of file arguments.hh.

References CopyStringOut(), data, getArg(), and tc.

template<class T >
Arguments::operator T ( )
inline

Definition at line 131 of file arguments.hh.

References ArmISA::d, and getArg().

template<class T >
Arguments::operator T * ( )
inline

Definition at line 138 of file arguments.hh.

References CopyOut(), data, getArg(), and tc.

bool Arguments::operator! ( )
inline

Definition at line 84 of file arguments.hh.

References getArg().

Arguments& Arguments::operator++ ( )
inline

Definition at line 88 of file arguments.hh.

References number.

Arguments Arguments::operator++ ( int  )
inline

Definition at line 94 of file arguments.hh.

References number.

const Arguments& Arguments::operator+= ( int  index)
inline

Definition at line 114 of file arguments.hh.

References MipsISA::index, and number.

Arguments& Arguments::operator-- ( )
inline

Definition at line 101 of file arguments.hh.

References number.

Arguments Arguments::operator-- ( int  )
inline

Definition at line 107 of file arguments.hh.

References number.

const Arguments& Arguments::operator-= ( int  index)
inline

Definition at line 120 of file arguments.hh.

References MipsISA::index, and number.

const Arguments& Arguments::operator= ( const Arguments args)
inline

Definition at line 74 of file arguments.hh.

References data, number, and tc.

Arguments Arguments::operator[] ( int  index)
inline

Definition at line 126 of file arguments.hh.

References Arguments(), and tc.

Member Data Documentation

std::shared_ptr<Data> Arguments::data
protected

Definition at line 62 of file arguments.hh.

Referenced by Arguments::Data::alloc(), operator char *(), operator T *(), and operator=().

int Arguments::number
protected

Definition at line 45 of file arguments.hh.

Referenced by Arguments(), getArg(), operator++(), operator+=(), operator--(), operator-=(), and operator=().

ThreadContext* Arguments::tc
protected

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

Generated on Fri Jun 9 2017 13:04:00 for gem5 by doxygen 1.8.6