clang-tags
C/C++ source code indexing tool based on libclang
 All Classes Functions Variables Typedefs Groups Pages
Public Member Functions | List of all members
String Struct Reference

Utility std::string subclass. More...

#include <util.hxx>

Public Member Functions

 String (const std::string &other)
 Constructor from std::string.
bool startsWith (const std::string &prefix) const
 Tell whether the string begins with a prefix.

Detailed Description

Utility std::string subclass.

String provides all features of std::string, and more.

Example use:

Constructor & Destructor Documentation

String::String ( const std::string &  other)
inline

Constructor from std::string.

Parameters
otherexisting std::string to convert to String

Member Function Documentation

bool String::startsWith ( const std::string &  prefix) const
inline

Tell whether the string begins with a prefix.

Parameters
prefixprefix string to be tested
Returns
true iff the string begins with prefix

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