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

#include <match.hh>

Public Member Functions

 ObjectMatch ()
 
 ObjectMatch (const std::string &expression)
 
void setExpression (const std::string &expression)
 
void setExpression (const std::vector< std::string > &expression)
 
bool match (const std::string &name) const
 

Protected Member Functions

bool domatch (const std::string &name) const
 

Protected Attributes

std::vector< std::vector
< std::string > > 
tokens
 

Detailed Description

Definition at line 41 of file match.hh.

Constructor & Destructor Documentation

ObjectMatch::ObjectMatch ( )

Definition at line 37 of file match.cc.

ObjectMatch::ObjectMatch ( const std::string &  expression)

Member Function Documentation

bool ObjectMatch::domatch ( const std::string &  name) const
protected
Todo:
this should probably be changed to just use regular expression code

Definition at line 70 of file match.cc.

References ArmISA::i, ArmISA::j, and tokenize().

Referenced by match().

bool ObjectMatch::match ( const std::string &  name) const
inline

Definition at line 52 of file match.hh.

References domatch(), and tokens.

Referenced by Trace::Logger::dprintf(), Trace::Logger::dump(), and Trace::OstreamLogger::logMessage().

void ObjectMatch::setExpression ( const std::string &  expression)
void ObjectMatch::setExpression ( const std::vector< std::string > &  expression)

Member Data Documentation

std::vector<std::vector<std::string> > ObjectMatch::tokens
protected

Definition at line 44 of file match.hh.

Referenced by match().


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

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