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

Helper class to construct formula node trees. More...

#include <statistics.hh>

Public Member Functions

 Temp (const NodePtr &n)
 Copy the given pointer to this class. More...
 
 Temp (NodePtr &&n)
 
 operator NodePtr & ()
 Return the node pointer. More...
 
NodePtr getNodePtr () const
 Makde gcc < 4.6.3 happy and explicitly get the underlying node. More...
 
 Temp (const Scalar &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Value &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Average &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Vector &s)
 Create a new VectorStatNode. More...
 
 Temp (const AverageVector &s)
 
 Temp (const Formula &f)
 
template<class Stat >
 Temp (const ScalarProxy< Stat > &p)
 Create a new ScalarProxyNode. More...
 
 Temp (signed char value)
 Create a ConstNode. More...
 
 Temp (unsigned char value)
 Create a ConstNode. More...
 
 Temp (signed short value)
 Create a ConstNode. More...
 
 Temp (unsigned short value)
 Create a ConstNode. More...
 
 Temp (signed int value)
 Create a ConstNode. More...
 
 Temp (unsigned int value)
 Create a ConstNode. More...
 
 Temp (signed long value)
 Create a ConstNode. More...
 
 Temp (unsigned long value)
 Create a ConstNode. More...
 
 Temp (signed long long value)
 Create a ConstNode. More...
 
 Temp (unsigned long long value)
 Create a ConstNode. More...
 
 Temp (float value)
 Create a ConstNode. More...
 
 Temp (double value)
 Create a ConstNode. More...
 

Protected Attributes

NodePtr node
 Pointer to a Node object. More...
 

Detailed Description

Helper class to construct formula node trees.

Definition at line 2996 of file statistics.hh.

Constructor & Destructor Documentation

Stats::Temp::Temp ( const NodePtr n)
inline

Copy the given pointer to this class.

Parameters
nA pointer to a Node object to copy.

Definition at line 3009 of file statistics.hh.

Stats::Temp::Temp ( NodePtr &&  n)
inline

Definition at line 3011 of file statistics.hh.

Stats::Temp::Temp ( const Scalar s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3029 of file statistics.hh.

Stats::Temp::Temp ( const Value s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3037 of file statistics.hh.

Stats::Temp::Temp ( const Average s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3045 of file statistics.hh.

Stats::Temp::Temp ( const Vector s)
inline

Create a new VectorStatNode.

Parameters
sThe VectorStat to place in a node.

Definition at line 3053 of file statistics.hh.

Stats::Temp::Temp ( const AverageVector s)
inline

Definition at line 3057 of file statistics.hh.

Stats::Temp::Temp ( const Formula f)
inline

Definition at line 3064 of file statistics.hh.

template<class Stat >
Stats::Temp::Temp ( const ScalarProxy< Stat > &  p)
inline

Create a new ScalarProxyNode.

Parameters
pThe ScalarProxy to place in a node.

Definition at line 3073 of file statistics.hh.

Stats::Temp::Temp ( signed char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3081 of file statistics.hh.

Stats::Temp::Temp ( unsigned char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3089 of file statistics.hh.

Stats::Temp::Temp ( signed short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3097 of file statistics.hh.

Stats::Temp::Temp ( unsigned short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3105 of file statistics.hh.

Stats::Temp::Temp ( signed int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3113 of file statistics.hh.

Stats::Temp::Temp ( unsigned int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3121 of file statistics.hh.

Stats::Temp::Temp ( signed long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3129 of file statistics.hh.

Stats::Temp::Temp ( unsigned long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3137 of file statistics.hh.

Stats::Temp::Temp ( signed long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3145 of file statistics.hh.

Stats::Temp::Temp ( unsigned long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3153 of file statistics.hh.

Stats::Temp::Temp ( float  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3161 of file statistics.hh.

Stats::Temp::Temp ( double  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3169 of file statistics.hh.

Member Function Documentation

NodePtr Stats::Temp::getNodePtr ( ) const
inline

Makde gcc < 4.6.3 happy and explicitly get the underlying node.

Definition at line 3022 of file statistics.hh.

References node.

Referenced by Stats::Formula::Formula(), Stats::Formula::operator+=(), and Stats::Formula::operator=().

Stats::Temp::operator NodePtr & ( )
inline

Return the node pointer.

Returns
the node pointer.

Definition at line 3017 of file statistics.hh.

References node.

Member Data Documentation

NodePtr Stats::Temp::node
protected

Pointer to a Node object.

Definition at line 3002 of file statistics.hh.

Referenced by getNodePtr(), and operator NodePtr &().


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

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