gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
str.cc File Reference
#include "base/str.hh"
#include <string>
#include <vector>

Go to the source code of this file.

Functions

bool split_first (const string &s, string &lhs, string &rhs, char c)
 
bool split_last (const string &s, string &lhs, string &rhs, char c)
 
void tokenize (vector< string > &v, const string &s, char token, bool ignore)
 

Function Documentation

bool split_first ( const string &  s,
string &  lhs,
string &  rhs,
char  c 
)

Definition at line 39 of file str.cc.

References ArmISA::offset, and ArmISA::s.

bool split_last ( const string &  s,
string &  lhs,
string &  rhs,
char  c 
)

Definition at line 54 of file str.cc.

References ArmISA::offset, and ArmISA::s.

void tokenize ( vector< string > &  v,
const string &  s,
char  token,
bool  ignore 
)

Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6