本文整理汇总了C++中USRGenerator::str方法的典型用法代码示例。如果您正苦于以下问题:C++ USRGenerator::str方法的具体用法?C++ USRGenerator::str怎么用?C++ USRGenerator::str使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类USRGenerator
的用法示例。
在下文中一共展示了USRGenerator::str方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: clang_constructUSR_ObjCProperty
CXString clang_constructUSR_ObjCProperty(const char *property,
CXString classUSR) {
USRGenerator UG;
UG << extractUSRSuffix(clang_getCString(classUSR));
UG->GenObjCProperty(property);
return cxstring::createDup(UG.str());
}
示例2: clang_constructUSR_ObjCMethod
CXString clang_constructUSR_ObjCMethod(const char *name,
unsigned isInstanceMethod,
CXString classUSR) {
USRGenerator UG;
UG << extractUSRSuffix(clang_getCString(classUSR));
UG->GenObjCMethod(name, isInstanceMethod);
return cxstring::createDup(UG.str());
}
示例3: clang_constructUSR_ObjCCategory
CXString clang_constructUSR_ObjCCategory(const char *class_name,
const char *category_name) {
USRGenerator UG;
UG->GenObjCCategory(class_name, category_name);
return cxstring::createDup(UG.str());
}
示例4: clang_constructUSR_ObjCProtocol
CXString clang_constructUSR_ObjCProtocol(const char *name) {
USRGenerator UG;
UG->GenObjCProtocol(name);
return cxstring::createDup(UG.str());
}
示例5: clang_constructUSR_ObjCIvar
CXString clang_constructUSR_ObjCIvar(const char *name, CXString classUSR) {
USRGenerator UG;
UG << extractUSRSuffix(clang_getCString(classUSR));
UG->GenObjCIvar(name);
return cxstring::createDup(UG.str());
}
示例6: clang_constructUSR_ObjCProtocol
CXString clang_constructUSR_ObjCProtocol(const char *name) {
USRGenerator UG;
UG->GenObjCProtocol(name);
return createCXString(UG.str(), true);
}