GPUOcelot
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

trace::Token Class Reference

command token More...

List of all members.

Public Types

enum  Type {
  String, Number, PtxType, VectorType,
  BracketOpen, BracketClose, Unknown
}

Public Member Functions

 Token (const std::string &str)

Static Public Member Functions

static std::vector< Tokentokenize (const std::string &str)
 given a command, break into a sequence of tokens

Public Attributes

Type type
std::string valString
size_t valNumber
ir::PTXOperand::DataType valPtxType
ir::PTXOperand::Vec valVecType

Detailed Description

command token


Member Enumeration Documentation

Enumerator:
String 
Number 
PtxType 
VectorType 
BracketOpen 
BracketClose 
Unknown 

Constructor & Destructor Documentation

trace::Token::Token ( const std::string &  str) [inline]

Member Function Documentation

static std::vector< Token > trace::Token::tokenize ( const std::string &  str) [inline, static]

given a command, break into a sequence of tokens


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines