Lines Matching refs:std
46 std::string m_aModuleName;
55 IndexerPreProcessor( const std::string& aModuleName, const fs::path& fsIndexBaseDir,
59 void processDocument( xmlDocPtr doc, const std::string& EncodedDocPath );
63 ( const std::string& aModuleName, const fs::path& fsIndexBaseDir, in IndexerPreProcessor()
89 std::string getEncodedPath( const std::string& Path ) in getEncodedPath()
98 std::string aStdStr_PathURL( aOStr_PathURL.getStr() ); in getEncodedPath()
103 ( xmlDocPtr doc, const std::string &EncodedDocPath ) in processDocument()
105 std::string aStdStr_EncodedDocPathURL = getEncodedPath( EncodedDocPath ); in processDocument()
114 … std::string aCaptionPureTextFileStr_docURL = fsCaptionPureTextFile_docURL.native_file_string(); in processDocument()
157 std::vector<std::string> _idList;
158 typedef std::vector<std::string>::const_iterator cIter;
160 void append(const std::string &id) in append()
165 std::string getString() const in getString()
167 std::string ret; in getString()
175 void writeKeyValue_DBHelp( FILE* pFile, const std::string& aKeyStr, const std::string& aValueStr ) in writeKeyValue_DBHelp()
202 typedef std::hash_map<std::string, Data, pref_hash> DataHashtable;
206 void insert(const std::string &key, const std::string &id) in insert()
233 void main(std::vector<std::string> &args,
234 std::string* pExtensionPath = NULL,
235 std::string* pDestination = NULL,
257 std::string extsource;
258 std::string extdestination;
259 std::string module;
260 std::string lang;
261 std::string extensionPath;
262 std::string extensionDestination;
270 void addBookmark( FILE* pFile_DBHelp, std::string thishid,
271 const std::string& fileB, const std::string& anchorB,
272 const std::string& jarfileB, const std::string& titleB );
277 static std::string encode(const std::string &rIn) in encode()
282 std::string result; in encode()
298 void HelpLinker::addBookmark( FILE* pFile_DBHelp, std::string thishid, in addBookmark()
299 const std::string& fileB, const std::string& anchorB, in addBookmark()
300 const std::string& jarfileB, const std::string& titleB) in addBookmark()
302 HCDBG(std::cerr << "HelpLinker::addBookmark " << thishid << " " << in addBookmark()
303 fileB << " " << anchorB << " " << jarfileB << " " << titleB << std::endl); in addBookmark()
312 std::vector<unsigned char> dataB(dataLen); in addBookmark()
333 std::string aValueStr( dataB.begin(), dataB.end() ); in addBookmark()
342 std::string mod = module; in initIndexerPreProcessor()
343 std::transform (mod.begin(), mod.end(), mod.begin(), tolower); in initIndexerPreProcessor()
366 std::string mod = module; in link()
367 std::transform (mod.begin(), mod.end(), mod.begin(), tolower); in link()
372 std::string appl = mod; in link()
416 std::cout << "Making " << outputFile.native_file_string() << in link()
417 " from " << helpFiles.size() << " input files" << std::endl; in link()
427 std::cout << "."; in link()
428 std::cout.flush(); in link()
434 const std::string &xhpFileName = *iter; in link()
439 std::cerr << in link()
453 std::string xhpFileNameComplete( extensionPath ); in link()
466 HCDBG(std::cerr << "before compile of " << xhpFileName << std::endl); in link()
468 HCDBG(std::cerr << "after compile of " << xhpFileName << std::endl); in link()
472 std::stringstream aStrStream; in link()
482 const std::string documentBaseId = streamTable.document_id; in link()
483 std::string documentPath = streamTable.document_path; in link()
487 std::string documentJarfile = streamTable.document_module + ".jar"; in link()
489 std::string documentTitle = streamTable.document_title; in link()
493 const std::string& fileB = documentPath; in link()
494 const std::string& jarfileB = documentJarfile; in link()
495 std::string& titleB = documentTitle; in link()
498 addBookmark(pFileDbBase_DBHelp, documentPath, fileB, std::string(), jarfileB, titleB); in link()
510 std::string thishid = *hidListIter; in link()
512 std::string anchorB; in link()
514 if (index != std::string::npos) in link()
529 std::string fakedHid = URLEncoder::encode(documentPath); in link()
534 const std::string &anchor = enumer->first; in link()
537 std::string totalId = fakedHid + "#" + anchor; in link()
560 std::string helpTextId = helpTextIter->first; in link()
561 const std::string& helpTextText = helpTextIter->second; in link()
579 std::string temp = module; in link()
580 std::transform (temp.begin(), temp.end(), temp.begin(), tolower); in link()
587 std::cout << std::endl; in link()
614 const std::string &additionalFileName = enumer->second; in link()
615 const std::string &additionalFileKey = enumer->first; in link()
618 std::string aNativeStr = fsAdditionalFileName.native_file_string(); in link()
620 std::cerr << pStr; in link()
631 void HelpLinker::main( std::vector<std::string> &args, in main()
632 std::string* pExtensionPath, std::string* pDestination, in main()
641 std::vector<std::string> stringList; in main()
642 std::string strBuf; in main()
643 std::ifstream fileReader(args[0].substr(1).c_str()); in main()
647 std::string token; in main()
666 std::stringstream aStrStream; in main()
667 aStrStream << "extension source missing" << std::endl; in main()
679 std::stringstream aStrStream; in main()
680 aStrStream << "extension destination missing" << std::endl; in main()
690 std::stringstream aStrStream; in main()
691 aStrStream << "sourceroot missing" << std::endl; in main()
702 std::stringstream aStrStream; in main()
703 aStrStream << "embeddingStylesheet missing" << std::endl; in main()
714 std::stringstream aStrStream; in main()
715 aStrStream << "idxtemp missing" << std::endl; in main()
726 std::stringstream aStrStream; in main()
727 aStrStream << "idxcaption stylesheet missing" << std::endl; in main()
738 std::stringstream aStrStream; in main()
739 aStrStream << "idxcontent stylesheet missing" << std::endl; in main()
750 std::stringstream aStrStream; in main()
751 aStrStream << "outputfilename missing" << std::endl; in main()
762 std::stringstream aStrStream; in main()
763 aStrStream << "module name missing" << std::endl; in main()
774 std::stringstream aStrStream; in main()
775 aStrStream << "language name missing" << std::endl; in main()
788 std::string addFile, addFileUnderPath; in main()
792 std::stringstream aStrStream; in main()
793 aStrStream << "pathname missing" << std::endl; in main()
801 std::stringstream aStrStream; in main()
802 aStrStream << "pathname missing" << std::endl; in main()
829 std::stringstream aStrStream; in main()
830 aStrStream << "-extlangdest is missing" << std::endl; in main()
850 std::stringstream aStrStream; in main()
851 aStrStream << "-src must not be used together with -extsource missing" << std::endl; in main()
858 std::stringstream aStrStream; in main()
859 aStrStream << "no index dir given" << std::endl; in main()
869 std::stringstream aStrStream; in main()
870 aStrStream << "no index caption stylesheet given" << std::endl; in main()
882 std::string aStdStr_IdxCaptionPathFileURL( aOStr_IdxCaptionPathFileURL.getStr() ); in main()
893 std::stringstream aStrStream; in main()
894 aStrStream << "no index content stylesheet given" << std::endl; in main()
907 std::string aStdStr_IdxContentPathFileURL( aOStr_IdxContentPathFileURL.getStr() ); in main()
913 std::stringstream aStrStream; in main()
914 aStrStream << "no embedding resolving file given" << std::endl; in main()
919 std::stringstream aStrStream; in main()
920 aStrStream << "no sourceroot given" << std::endl; in main()
925 std::stringstream aStrStream; in main()
926 aStrStream << "no output file given" << std::endl; in main()
931 std::stringstream aStrStream; in main()
932 aStrStream << "module missing" << std::endl; in main()
937 std::stringstream aStrStream; in main()
938 aStrStream << "language missing" << std::endl; in main()
947 std::vector<std::string> args; in main()
949 args.push_back(std::string(argv[i])); in main()
958 std::cerr << e.m_aErrorMsg; in main()
963 std::cout << "time taken was " << (endtime-starttime)/1000.0 << " seconds" << std::endl; in main()
976 std::string aErrorMsg = error->message; in StructuredXMLErrorFunction()
977 std::string aXMLParsingFile; in StructuredXMLErrorFunction()
1013 std::vector<std::string> args; in compileExtensionHelp()
1015 args.push_back(std::string("-mod")); in compileExtensionHelp()
1017 args.push_back(std::string(aOExtensionName.getStr())); in compileExtensionHelp()
1024 args.push_back(std::string(aOXhpFile.getStr())); in compileExtensionHelp()
1029 std::string aStdStrExtensionPath = pExtensionPath; in compileExtensionHelp()
1032 std::string aStdStrDestination = pDestination; in compileExtensionHelp()