diff options
216 files changed, 6680 insertions, 24110 deletions
diff --git a/Application.cpp b/Application.cpp index 7e217c50..72f5dd42 100644 --- a/Application.cpp +++ b/Application.cpp @@ -14,7 +14,6 @@ #include "ui/batch_status_handler.h" #include "ui/check_version.h" #include <wx/file.h> -#include "shared/xml_base.h" #include "library/resources.h" #include "ui/switch_to_gui.h" #include "shared/standard_paths.h" @@ -80,47 +79,26 @@ void Application::OnStartApplication(wxIdleEvent&) #ifdef FFS_LINUX Gtk::Main::init_gtkmm_internals(); - ::gtk_rc_parse(zen::wxToZ(zen::getResourceDir()) + "styles.rc"); //remove inner border from bitmap buttons + ::gtk_rc_parse((Zstring(zen::getResourceDir()) + "styles.rc").c_str()); //remove inner border from bitmap buttons #endif - //test if FFS is to be started on UI with config file passed as commandline parameter - - //try to set config/batch-filename set by %1 parameter - wxString cfgFilename; - if (argc > 1) - { - const wxString arg1(argv[1]); - - if (fileExists(wxToZ(arg1))) //load file specified by %1 parameter: - cfgFilename = arg1; - else if (fileExists(wxToZ(arg1 + wxT(".ffs_batch")))) - cfgFilename = arg1 + wxT(".ffs_batch"); - else if (fileExists(wxToZ(arg1 + wxT(".ffs_gui")))) - cfgFilename = arg1 + wxT(".ffs_gui"); - else - { - wxMessageBox(wxString(_("File does not exist:")) + wxT(" \"") + arg1 + wxT("\""), _("Error"), wxOK | wxICON_ERROR); - return; - } - } - #if wxCHECK_VERSION(2, 9, 1) wxToolTip::SetMaxWidth(-1); //disable tooltip wrapping wxToolTip::SetAutoPop(7000); //tooltip visibilty in ms, 5s seems to be default for Windows #endif - try //load global settings from XML + try //load global settings from XML: they are written on exit, so read them FIRST { if (fileExists(wxToZ(xmlAccess::getGlobalConfigFile()))) xmlAccess::readConfig(globalSettings); //else: globalSettings already has default values } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { //show messagebox and continue - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) ; //wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); -> ignore parsing errors: should be migration problems only *cross-fingers* else wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); @@ -130,6 +108,28 @@ void Application::OnStartApplication(wxIdleEvent&) zen::setLanguage(globalSettings.programLanguage); + //test if FFS is to be started on UI with config file passed as commandline parameter + + //try to set config/batch-filename set by %1 parameter + wxString cfgFilename; + if (argc > 1) + { + const wxString arg1(argv[1]); + + if (fileExists(wxToZ(arg1))) //load file specified by %1 parameter: + cfgFilename = arg1; + else if (fileExists(wxToZ(arg1 + wxT(".ffs_batch")))) + cfgFilename = arg1 + wxT(".ffs_batch"); + else if (fileExists(wxToZ(arg1 + wxT(".ffs_gui")))) + cfgFilename = arg1 + wxT(".ffs_gui"); + else + { + wxMessageBox(wxString(_("File does not exist:")) + wxT(" \"") + arg1 + wxT("\""), _("Error"), wxOK | wxICON_ERROR); + returnValue = -13; + return; + } + } + if (!cfgFilename.empty()) { //load file specified by %1 parameter: @@ -174,7 +174,14 @@ int Application::OnRun() safeOutput.Write(wxString::FromAscii(e.what())); wxSafeShowMessage(_("An exception occurred!"), wxString::FromAscii(e.what())); + return -9; + } + catch (...) //catch the rest + { + wxFile safeOutput(zen::getConfigDir() + wxT("LastError.txt"), wxFile::write); + safeOutput.Write(wxT("Unknown exception!")); + wxSafeShowMessage(_("An exception occurred!"), wxT("Unknown exception!")); return -9; } @@ -191,7 +198,7 @@ int Application::OnExit() { xmlAccess::writeConfig(globalSettings); } - catch (const xmlAccess::XmlError&) + catch (const xmlAccess::FfsXmlError&) { //wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); -> not that important/might be tedious in silent batch? assert(false); //get info in debug build @@ -217,9 +224,9 @@ void Application::runBatchMode(const wxString& filename, xmlAccess::XmlGlobalSet { xmlAccess::readConfig(filename, batchCfg); } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); + wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); //batch mode: break on errors AND even warnings! return; } //all settings have been read successfully... @@ -283,7 +290,7 @@ void Application::runBatchMode(const wxString& filename, xmlAccess::XmlGlobalSet wxSound::Play(soundFile, wxSOUND_ASYNC); //warning: this may fail and show a wxWidgets error message! } } - catch (zen::AbortThisProcess&) //exit used by statusHandler + catch (BatchAbortProcess&) //exit used by statusHandler { if (returnValue >= 0) returnValue = -12; diff --git a/BUILD/Changelog.txt b/BUILD/Changelog.txt index e12fa657..ca5e6c62 100644 --- a/BUILD/Changelog.txt +++ b/BUILD/Changelog.txt @@ -2,6 +2,21 @@ |FreeFileSync| -------------- +Changelog v3.18 +--------------- +Launcher running synchronously and returning application error code +Fixed sort by file extension +Fixed drag and drop of SAMBA network folder +Render (all) invalid file dates correctly on GUI +Correct layout selection for RTL and LTR languages +Correct GUI status texts while waiting for directory lock +Properly set default directory when loading configuration +New XML framework: zenXML +Addded Hebrew language +Addded Danish language +Updated translation files + + Changelog v3.17 --------------- Filter files by size diff --git a/BUILD/Languages/chinese_simple.lng b/BUILD/Languages/chinese_simple.lng index 28448ccf..50dc50b5 100644 --- a/BUILD/Languages/chinese_simple.lng +++ b/BUILD/Languages/chinese_simple.lng @@ -17,8 +17,22 @@ <target>实时åŒæ¥ - 自动åŒæ¥</target> <source>Browse</source> <target>æµè§ˆ</target> +<source>Invalid commandline: "%x"</source> +<target>éžæ³•å‘½ä»¤è¡Œ:"%x"</target> <source>Error resolving symbolic link:</source> <target>解决符å·é“¾æŽ¥å‡ºé”™:</target> +<source>Show popup</source> +<target>显示弹出窗å£</target> +<source>Show popup on errors or warnings</source> +<target>在错误或è¦å‘Šæ—¶æ˜¾ç¤ºå¼¹å‡ºçª—å£</target> +<source>Ignore errors</source> +<target>忽略错误</target> +<source>Hide all error and warning messages</source> +<target>éšè—所有错误与è¦å‘Šä¿¡æ¯</target> +<source>Exit instantly</source> +<target>ç«‹å³é€€å‡º</target> +<source>Abort synchronization immediately</source> +<target>ç«‹å³ä¸æ¢åŒæ¥</target> <source>Select alternate synchronization settings</source> <target>选择替æ¢åŒæ¥è®¾ç½®</target> <source>No filter selected</source> @@ -125,8 +139,6 @@ <target>文件ä¸å˜åœ¨:</target> <source>Error parsing configuration file:</source> <target>分æžé…置文件出错:</target> -<source>Error writing file:</source> -<target>写入文件出错:</target> <source>/sec</source> <target>/秒</target> <source> @@ -212,8 +224,6 @@ The command line is executed each time: <target>监视激活...</target> <source>Waiting for missing directories...</source> <target>æ£åœ¨ç‰å¾…丢失的目录...</target> -<source>Command line is empty!</source> -<target>命令行是空的!</target> <source>Could not initialize directory monitoring:</source> <target>ä¸èƒ½åˆå§‹åŒ–目录监视:</target> <source>A directory input field is empty.</source> @@ -254,12 +264,18 @@ The command line is executed each time: <target>å¤åˆ¶æ–‡ä»¶å‡ºé”™:</target> <source>Error opening file:</source> <target>打开文件出错:</target> +<source>Error writing file:</source> +<target>写入文件出错:</target> <source>Error reading file:</source> <target>读å–文件出错:</target> <source>Endless loop when traversing directory:</source> <target>éåŽ†ç›®å½•æ—¶å‡ºçŽ°æ— é™å¾ªçŽ¯:</target> <source>Error traversing directory:</source> <target>é历目录出错:</target> +<source>Windows Error Code %x:</source> +<target>Windows错误代ç %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux错误代ç %x:</target> <source>Error setting privilege:</source> <target>设置æƒé™æ—¶å‡ºé”™:</target> <source>Error moving to Recycle Bin:</source> @@ -284,18 +300,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>ä¸èƒ½ä»Žå¦‚下XML节点读å–数值:</target> -<source>Show popup</source> -<target>显示弹出窗å£</target> -<source>Show popup on errors or warnings</source> -<target>在错误或è¦å‘Šæ—¶æ˜¾ç¤ºå¼¹å‡ºçª—å£</target> -<source>Ignore errors</source> -<target>忽略错误</target> -<source>Hide all error and warning messages</source> -<target>éšè—所有错误与è¦å‘Šä¿¡æ¯</target> -<source>Exit instantly</source> -<target>ç«‹å³é€€å‡º</target> -<source>Abort synchronization immediately</source> -<target>ç«‹å³ä¸æ¢åŒæ¥</target> <source>Logging</source> <target>记录</target> <source>FreeFileSync batch file</source> @@ -400,8 +404,8 @@ The command line is executed each time: <target>å³ä¾§</target> <source>Batch job</source> <target>批处ç†ä½œä¸š</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>装é…一个批处ç†æ–‡ä»¶ç”¨äºŽè‡ªåŠ¨åŒæ¥. è¦å¼€å§‹æ‰¹å¤„ç†æ¨¡å¼åªéœ€ç®€å•åœ°å°†æ‰¹å¤„ç†æ–‡ä»¶åä¼ é€ç»™FreeFileSyncå¯æ‰§è¡Œæ–‡ä»¶:FreeFileSync.exe <batchfile>. 这个也å¯ä»¥å®‰æŽ’在您的æ“作系统的计划任务ä¸.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>为自动åŒæ¥åˆ›å»ºä¸€ä¸ªæ‰¹å¤„ç†. è¦å¼€å§‹æ‰¹å¤„ç†æ¨¡å¼åªéœ€ç®€å•åœ°åŒå‡»æ‰¹å¤„ç†æ–‡ä»¶æˆ–通过命令行执行:FreeFileSync.exe <批处ç†æ–‡ä»¶å>. æ¤å¤–还å¯ä»¥é€šè¿‡æ“作系统的计划任务æ¥å®šæ—¶æ‰§è¡Œ.</target> <source>Help</source> <target>帮助</target> <source>Configuration overview:</source> @@ -443,7 +447,7 @@ The command line is executed each time: <source>Select variant:</source> <target>选择å˜åŒ–çš„:</target> <source><Automatic></source> -<target>自动</target> +<target><自动></target> <source>Identify and propagate changes on both sides using a database. Deletions and conflicts are detected automatically.</source> <target>使用数æ®åº“æ¥è¯†åˆ«å’Œä¼ é€ä¸¤è¾¹çš„改å˜. è‡ªåŠ¨æ£€æµ‹åˆ é™¤å’Œå†²çªçŠ¶æ€.</target> <source>Mirror ->></source> @@ -451,7 +455,7 @@ The command line is executed each time: <source>Mirror backup of left folder. Right folder is modified to exactly match left folder after synchronization.</source> <target>é•œåƒå¤‡ä»½å·¦è¾¹çš„文件夹.åŒæ¥åŽå³è¾¹çš„文件夹被修改为和左边文件夹精确匹é….</target> <source>Update -></source> -<target>å‡çº§ -></target> +<target>æ›´æ–° -></target> <source>Copy new or updated files to right folder.</source> <target>å¤åˆ¶æ–°çš„或修改过的文件到å³ä¾§æ–‡ä»¶å¤¹</target> <source>Custom</source> @@ -468,18 +472,18 @@ The command line is executed each time: <target>分类</target> <source>Action</source> <target>动作</target> -<source>Files/folders that exist on left side only</source> -<target>仅在左侧å˜åœ¨çš„文件/文件夹</target> -<source>Files/folders that exist on right side only</source> -<target>仅在å³ä¾§å˜åœ¨çš„文件/文件夹</target> -<source>Files that exist on both sides, left one is newer</source> -<target>两侧都有,左侧较新的文件</target> -<source>Files that exist on both sides, right one is newer</source> -<target>两侧都有,å³ä¾§è¾ƒæ–°çš„文件</target> -<source>Files that have different content</source> -<target>有ä¸åŒå†…容的文件</target> -<source>Conflicts/files that cannot be categorized</source> -<target>冲çª/文件ä¸èƒ½è¢«å½’ç±»</target> +<source>File/folder exists on left side only</source> +<target>文件/文件夹仅å˜åœ¨äºŽå·¦ä¾§</target> +<source>File/folder exists on right side only</source> +<target>文件/文件夹仅å˜åœ¨äºŽå³ä¾§</target> +<source>Left file is newer</source> +<target>左侧文件较新</target> +<source>Right file is newer</source> +<target>å³ä¾§æ–‡ä»¶è¾ƒæ–°</target> +<source>Files have different content</source> +<target>文件内容ä¸åŒ</target> +<source>Conflict/file cannot be categorized</source> +<target>冲çª/文件ä¸èƒ½è¢«åˆ†ç±»</target> <source>Compare by...</source> <target>比较选项...</target> <source> @@ -544,7 +548,7 @@ As the name suggests, two files which share the same name are marked as equal if With this option enabled the decision tree is smaller: </source> <target> -顾åæ€ä¹‰,两个相åŒæ–‡ä»¶å的文件当且仅当它们具有相åŒçš„内容时会被认为是相åŒçš„。 +顾åæ€ä¹‰,两个相åŒæ–‡ä»¶å的文件当且仅当它们具有相åŒçš„内容时会被认为是相åŒçš„. æ¤é€‰é¡¹å¯¹äºŽä¸€è‡´æ€§æ£€æŸ¥æ¯”较有用,而ä¸æ˜¯å¤‡ä»½æ“作. å› æ¤,文件时间没有被考虑到. 通过æ¤é€‰é¡¹ä½¿å†³ç–æ ‘è¾ƒå°: @@ -616,8 +620,8 @@ Include: *.doc;*.zip;*.exe Exclude: \stuff\temp\* </source> <target> -Include: *.doc;*.zip;*.exe -Exclude: \stuff\temp\* +包括: *.doc;*.zip;*.exe +排除: \stuff\temp\* </target> <source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> <target>åŒæ¥æ‰€æœ‰ .doc, .zipå’Œ .exe 文件, 除了"temp"ä¸çš„一切.</target> @@ -703,10 +707,8 @@ Transfer file and directory permissions <target><多选></target> <source>D-Click</source> <target>åŒå‡»</target> -<source>Copy to clipboard CTRL+C</source> -<target>å¤åˆ¶åˆ°å‰ªè´´æ¿ CTRL+C</target> -<source>Delete files DEL</source> -<target>åˆ é™¤æ–‡ä»¶ DEL</target> +<source>Delete</source> +<target>åˆ é™¤</target> <source>Customize...</source> <target>自定义...</target> <source>Auto-adjust columns</source> @@ -846,11 +848,11 @@ Transfer file and directory permissions <source>on one side only</source> <target>仅在一侧</target> <source>same date</source> -<target></target> +<target>日期相åŒ</target> <source>different date</source> -<target></target> +<target>日期ä¸åŒ</target> <source>Inactive</source> -<target>ä¸æ´»åŠ¨</target> +<target>ä¸ä½¿ç”¨</target> <source>Second</source> <target>秒</target> <source>Minute</source> @@ -957,28 +959,28 @@ Transfer file and directory permissions <target>生æˆæ–‡ä»¶åˆ—表...</target> <source>Multiple...</source> <target>并è”...</target> -<source>Files that are equal on both sides</source> -<target>两边文件相åŒ</target> -<source>Equal files/folders that differ in attributes only</source> -<target>相ç‰çš„文件/文件夹仅仅文件属性ä¸åŒ</target> -<source>Copy from right to left</source> -<target>从å³ä¾§å¤åˆ¶åˆ°å·¦ä¾§</target> -<source>Copy from left to right</source> -<target>从左侧å¤åˆ¶åˆ°å³ä¾§</target> -<source>Delete files/folders existing on left side only</source> -<target>åˆ é™¤ä»…åœ¨å·¦ä¾§å˜åœ¨çš„文件/文件夹</target> -<source>Delete files/folders existing on right side only</source> -<target>åˆ é™¤ä»…åœ¨å³ä¾§å˜åœ¨çš„文件/文件夹</target> -<source>Copy from right to left overwriting</source> -<target>从å³ä¾§å¤åˆ¶åˆ°å·¦ä¾§(覆盖模å¼)</target> -<source>Copy from left to right overwriting</source> -<target>从左侧å¤åˆ¶åˆ°å³ä¾§(覆盖模å¼)</target> +<source>Both sides are equal</source> +<target>两侧相ç‰</target> +<source>Files/folders differ in attributes only</source> +<target>文件/文件夹仅属性ä¸åŒ</target> +<source>Copy new file/folder to left</source> +<target>å¤åˆ¶æ–°æ–‡ä»¶/文件夹至左侧</target> +<source>Copy new file/folder to right</source> +<target>å¤åˆ¶æ–°æ–‡ä»¶/文件夹至å³ä¾§</target> +<source>Delete left file/folder</source> +<target>åˆ é™¤å·¦ä¾§æ–‡ä»¶/文件夹</target> +<source>Delete right file/folder</source> +<target>åˆ é™¤å³ä¾§æ–‡ä»¶/文件夹</target> +<source>Overwrite left file/folder with right one</source> +<target>从å³ä¾§è¦†ç›–左侧的文件/文件夹</target> +<source>Overwrite right file/folder with left one</source> +<target>从左侧覆盖å³ä¾§çš„文件/文件夹</target> <source>Do nothing</source> <target>ä¿æŒä¸åŠ¨</target> -<source>Copy attributes only from right to left</source> -<target>从å³è¾¹åˆ°å·¦è¾¹åªå¤åˆ¶æ–‡ä»¶å±žæ€§</target> -<source>Copy attributes only from left to right</source> -<target>从左边到å³è¾¹åªå¤åˆ¶æ–‡ä»¶å±žæ€§</target> +<source>Copy file attributes only to left</source> +<target>ä»…å¤åˆ¶æ–‡ä»¶å±žæ€§åˆ°å·¦ä¾§</target> +<source>Copy file attributes only to right</source> +<target>ä»…å¤åˆ¶æ–‡ä»¶å±žæ€§åˆ°å³ä¾§</target> <source>Deleting file %x</source> <target>æ£åˆ 除文件 %x</target> <source>Deleting Symbolic Link %x</source> @@ -1009,6 +1011,8 @@ Transfer file and directory permissions <target>æ›´æ–° %x 的属性</target> <source>Source directory does not exist anymore:</source> <target>æºç›®å½•å·²ç»ä¸å˜åœ¨:</target> +<source>Generating database...</source> +<target>æ£åœ¨ç”Ÿæˆæ•°æ®åº“...</target> <source>Nothing to synchronize according to configuration!</source> <target>æ ¹æ®é…置没有任何åŒæ¥!</target> <source>Target directory name must not be empty!</source> @@ -1033,8 +1037,6 @@ Transfer file and directory permissions <target>有一个目录将被修改,而它是多个文件夹对的一部分!请é‡æ–°æ£€æŸ¥åŒæ¥è®¾ç½®!</target> <source>Processing folder pair:</source> <target>æ£åœ¨å¤„ç†æˆå¯¹æ–‡ä»¶å¤¹:</target> -<source>Generating database...</source> -<target>æ£åœ¨ç”Ÿæˆæ•°æ®åº“...</target> <source>Error copying locked file %x!</source> <target>å¤åˆ¶å·²é”定的文件时出错 %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/chinese_traditional.lng b/BUILD/Languages/chinese_traditional.lng index 9b0cdf5d..54f3d843 100644 --- a/BUILD/Languages/chinese_traditional.lng +++ b/BUILD/Languages/chinese_traditional.lng @@ -17,8 +17,22 @@ <target>å³æ™‚åŒæ¥ - 自動åŒæ¥</target> <source>Browse</source> <target>ç€è¦½</target> +<source>Invalid commandline: "%x"</source> +<target>無效的命令列:"%x"</target> <source>Error resolving symbolic link:</source> -<target>解决符號連çµéŒ¯èª¤ï¼š</target> +<target>解æžéŒ¯èª¤çš„符號連çµï¼š</target> +<source>Show popup</source> +<target>顯示彈出視窗</target> +<source>Show popup on errors or warnings</source> +<target>在彈出視窗上顯示錯誤或è¦å‘Šè¨Šæ¯</target> +<source>Ignore errors</source> +<target>忽略錯誤</target> +<source>Hide all error and warning messages</source> +<target>éš±è—所有錯誤和è¦å‘Šè¨Šæ¯</target> +<source>Exit instantly</source> +<target>ç«‹å³é€€å‡º</target> +<source>Abort synchronization immediately</source> +<target>ç«‹å³ä¸æ¢åŒæ¥</target> <source>Select alternate synchronization settings</source> <target>é¸æ“‡å‚™ç”¨åŒæ¥è¨å®š</target> <source>No filter selected</source> @@ -125,8 +139,6 @@ <target>檔案ä¸å˜åœ¨ï¼š</target> <source>Error parsing configuration file:</source> <target>分æžé…置檔案錯誤:</target> -<source>Error writing file:</source> -<target>寫入檔案錯誤:</target> <source>/sec</source> <target>/秒</target> <source> @@ -212,8 +224,6 @@ The command line is executed each time: <target>監測活動...</target> <source>Waiting for missing directories...</source> <target>ç‰å¾…缺少的目錄...</target> -<source>Command line is empty!</source> -<target>命令列是空的ï¼</target> <source>Could not initialize directory monitoring:</source> <target>無法åˆå§‹åŒ–目錄監測:</target> <source>A directory input field is empty.</source> @@ -254,12 +264,18 @@ The command line is executed each time: <target>複製檔案錯誤:</target> <source>Error opening file:</source> <target>開啟檔案錯誤:</target> +<source>Error writing file:</source> +<target>寫入檔案錯誤:</target> <source>Error reading file:</source> <target>讀å–檔案錯誤:</target> <source>Endless loop when traversing directory:</source> <target>當éæ·ç›®éŒ„時無é™å¾ªç’°ï¼š</target> <source>Error traversing directory:</source> <target>éæ·ç›®éŒ„錯誤:</target> +<source>Windows Error Code %x:</source> +<target>Windows 錯誤代碼 %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux 錯誤代碼 %x:</target> <source>Error setting privilege:</source> <target>è¨å®šæ¬Šé™éŒ¯èª¤ï¼š</target> <source>Error moving to Recycle Bin:</source> @@ -284,18 +300,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>ç„¡æ³•è®€å– XML 之後節點的值:</target> -<source>Show popup</source> -<target>顯示彈出視窗</target> -<source>Show popup on errors or warnings</source> -<target>在彈出視窗上顯示錯誤或è¦å‘Šè¨Šæ¯</target> -<source>Ignore errors</source> -<target>忽略錯誤</target> -<source>Hide all error and warning messages</source> -<target>éš±è—所有錯誤和è¦å‘Šè¨Šæ¯</target> -<source>Exit instantly</source> -<target>ç«‹å³é€€å‡º</target> -<source>Abort synchronization immediately</source> -<target>ç«‹å³ä¸æ¢åŒæ¥</target> <source>Logging</source> <target>日誌記錄</target> <source>FreeFileSync batch file</source> @@ -400,8 +404,8 @@ The command line is executed each time: <target>å³é‚Š</target> <source>Batch job</source> <target>批次處ç†ä½œæ¥</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>組åˆä¸€å€‹ç”¨æ–¼è‡ªå‹•åŒæ¥çš„批次檔。若è¦é–‹å§‹æ‰¹æ¬¡è™•ç†æ¨¡å¼ï¼Œåªéœ€ç°¡å–®çš„將批次檔å傳é€ç»™ FreeFileSync å¯åŸ·è¡Œæª”:FreeFileSync.exe <batchfile>。這個也å¯ä»¥å®‰æŽ’åœ¨ä½ çš„ä½œæ¥ç³»çµ±çš„計畫任務ä¸ã€‚</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>新建一個自動åŒæ¥çš„批次檔。若è¦é–‹å§‹æ‰¹æ¬¡è™•ç†æ¨¡å¼åªéœ€æŒ‰å…©ä¸‹æ¤æª”或通éŽå‘½ä»¤åˆ—執行:FreeFileSync.exe <batchfile>。還å¯ä»¥å®‰æŽ’在您的作æ¥ç³»çµ±çš„任務計畫ä¸ã€‚</target> <source>Help</source> <target>說明</target> <source>Configuration overview:</source> @@ -468,18 +472,18 @@ The command line is executed each time: <target>分類</target> <source>Action</source> <target>動作</target> -<source>Files/folders that exist on left side only</source> +<source>File/folder exists on left side only</source> <target>åªå˜åœ¨æ–¼å·¦é‚Šçš„檔案/資料夾</target> -<source>Files/folders that exist on right side only</source> +<source>File/folder exists on right side only</source> <target>åªå˜åœ¨æ–¼å³é‚Šçš„檔案/資料夾</target> -<source>Files that exist on both sides, left one is newer</source> -<target>檔案å˜åœ¨æ–¼å…©é‚Šï¼Œå·¦é‚Šæª”案較新</target> -<source>Files that exist on both sides, right one is newer</source> -<target>檔案å˜åœ¨æ–¼å…©é‚Šï¼Œå³é‚Šæª”案較新</target> -<source>Files that have different content</source> -<target>具有ä¸åŒå…§å®¹çš„檔案</target> -<source>Conflicts/files that cannot be categorized</source> -<target>è¡çª/檔案ä¸èƒ½è¢«åˆ†é¡ž</target> +<source>Left file is newer</source> +<target>左邊檔案較新</target> +<source>Right file is newer</source> +<target>å³é‚Šæª”案較新</target> +<source>Files have different content</source> +<target>檔案的內容ä¸åŒ</target> +<source>Conflict/file cannot be categorized</source> +<target>è¡çª/檔案無法分類</target> <source>Compare by...</source> <target>比å°é¸é …...</target> <source> @@ -595,9 +599,9 @@ Note: The name filter must be specified relative(!) to main synchronization dire <source>Hints:</source> <target>æ示:</target> <source>1. Enter relative file or directory names separated by ';' or a new line.</source> -<target>1. 輸入相å°æª”案或目錄å稱,使用';'或空行分隔。</target> +<target>1. 輸入相å°æª”案或目錄å稱,使用 ';' 或空行分隔。</target> <source>2. Use wildcard characters '*' and '?'.</source> -<target>2. 使用è¬ç”¨å—元‘*’和‘?’。</target> +<target>2. 使用è¬ç”¨å—å…ƒ '*' å’Œ '?'。</target> <source>3. Exclude files directly on main grid via context menu.</source> <target>3. 經由內容é¸å–®ç›´æŽ¥åœ¨ä¸»è¦ç¶²æ ¼æŽ’除檔案。</target> <source>Example</source> @@ -694,10 +698,8 @@ Transfer file and directory permissions <target><多é‡é¸æ“‡></target> <source>D-Click</source> <target>點兩下</target> -<source>Copy to clipboard CTRL+C</source> -<target>複製到剪貼簿 CTRL+C</target> -<source>Delete files DEL</source> -<target>刪除檔案 DEL</target> +<source>Delete</source> +<target>刪除</target> <source>Customize...</source> <target>自訂...</target> <source>Auto-adjust columns</source> @@ -836,8 +838,10 @@ Transfer file and directory permissions <target>檔案在兩邊å‡å·²å˜åœ¨</target> <source>on one side only</source> <target>åªæœ‰ä¸€é‚Š</target> -<source>different</source> -<target>ä¸åŒ</target> +<source>same date</source> +<target>相åŒæ—¥æœŸ</target> +<source>different date</source> +<target>ä¸åŒæ—¥æœŸ</target> <source>Inactive</source> <target>åœç”¨</target> <source>Second</source> @@ -946,28 +950,28 @@ Transfer file and directory permissions <target>產生檔案清單...</target> <source>Multiple...</source> <target>多個...</target> -<source>Files that are equal on both sides</source> -<target>兩邊相åŒçš„檔案</target> -<source>Equal files/folders that differ in attributes only</source> -<target>åŒç‰æª”案/資料夾åªåœ¨æ–¼å±¬æ€§ä¸åŒ</target> -<source>Copy from right to left</source> -<target>從å³é‚Šè¤‡è£½åˆ°å·¦é‚Š</target> -<source>Copy from left to right</source> -<target>從左邊複製到å³é‚Š</target> -<source>Delete files/folders existing on left side only</source> -<target>刪除åªå˜åœ¨æ–¼å·¦é‚Šçš„檔案/資料夾</target> -<source>Delete files/folders existing on right side only</source> -<target>刪除åªå˜åœ¨æ–¼å³é‚Šçš„檔案/資料夾</target> -<source>Copy from right to left overwriting</source> -<target>從å³é‚Šè¤‡è£½åˆ°å·¦é‚Šè¦†è“‹æª”案</target> -<source>Copy from left to right overwriting</source> -<target>從左邊複製到å³é‚Šè¦†è“‹æª”案</target> +<source>Both sides are equal</source> +<target>兩邊都相åŒ</target> +<source>Files/folders differ in attributes only</source> +<target>檔案/資料夾僅在於ä¸åŒçš„屬性</target> +<source>Copy new file/folder to left</source> +<target>複製新檔案/資料夾到左邊</target> +<source>Copy new file/folder to right</source> +<target>複製新檔案/資料夾到å³é‚Š</target> +<source>Delete left file/folder</source> +<target>刪除左邊檔案/資料夾</target> +<source>Delete right file/folder</source> +<target>刪除å³é‚Šæª”案/資料夾</target> +<source>Overwrite left file/folder with right one</source> +<target>用é©åˆæª”案/資料夾覆蓋左邊檔案/資料夾</target> +<source>Overwrite right file/folder with left one</source> +<target>用é©åˆæª”案/資料夾覆蓋å³é‚Šæª”案/資料夾</target> <source>Do nothing</source> <target>ç¶æŒåŽŸç‹€</target> -<source>Copy attributes only from right to left</source> -<target>複製åªæœ‰å¾žå³é‚Šåˆ°å·¦é‚Šçš„屬性</target> -<source>Copy attributes only from left to right</source> -<target>複製åªæœ‰å¾žå·¦é‚Šåˆ°å³é‚Šçš„屬性</target> +<source>Copy file attributes only to left</source> +<target>åªè¤‡è£½æª”案屬性到左邊</target> +<source>Copy file attributes only to right</source> +<target>åªè¤‡è£½æª”案屬性到å³é‚Š</target> <source>Deleting file %x</source> <target>æ£åœ¨åˆªé™¤æª”案 %x</target> <source>Deleting Symbolic Link %x</source> @@ -998,6 +1002,8 @@ Transfer file and directory permissions <target>æ›´æ–° %x 個的屬性</target> <source>Source directory does not exist anymore:</source> <target>來æºç›®éŒ„ä¸å˜åœ¨ï¼š</target> +<source>Generating database...</source> +<target>產生資料庫...</target> <source>Nothing to synchronize according to configuration!</source> <target>æ ¹æ“šé…置没有任何åŒæ¥ï¼</target> <source>Target directory name must not be empty!</source> @@ -1022,8 +1028,6 @@ Transfer file and directory permissions <target>一個目錄將被修改,這是多å°è³‡æ–™å¤¾çš„一部份ï¼è«‹æª¢é–±åŒæ¥è¨å®šï¼</target> <source>Processing folder pair:</source> <target>處ç†ä¸€å°è³‡æ–™å¤¾ï¼š</target> -<source>Generating database...</source> -<target>產生資料庫...</target> <source>Error copying locked file %x!</source> <target>複製已鎖定檔案錯誤 %xï¼</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/czech.lng b/BUILD/Languages/czech.lng index 16ac3707..367221a2 100644 --- a/BUILD/Languages/czech.lng +++ b/BUILD/Languages/czech.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automatická synchronizace</target> <source>Browse</source> <target>Procházet</target> +<source>Invalid commandline: "%x"</source> +<target>Neplatný pÅ™Ãkaz: "%x"</target> <source>Error resolving symbolic link:</source> <target>Chyba odkazu zástupce:</target> +<source>Show popup</source> +<target>Zobrazit okno</target> +<source>Show popup on errors or warnings</source> +<target>Zobrazit hlášenà pÅ™i chybÄ› nebo varovánÃ</target> +<source>Ignore errors</source> +<target>Ignorovat chyby</target> +<source>Hide all error and warning messages</source> +<target>Skrýt vÅ¡echny chyby a varovánÃ</target> +<source>Exit instantly</source> +<target>UkonÄit ihned</target> +<source>Abort synchronization immediately</source> +<target>PÅ™eruÅ¡it synchronizaci ihned</target> <source>Select alternate synchronization settings</source> <target>Vyberte alternativnà nastavenà synchronizace</target> <source>No filter selected</source> @@ -123,14 +137,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Závažná chyba</target> +<source>Invalid FreeFileSync config file!</source> +<target>Chybný konfiguraÄnà soubor FreeFileSync!</target> <source>File does not exist:</source> <target>Soubor neexistuje:</target> <source>Error parsing configuration file:</source> <target>Chyba zpracovánà konfigurace:</target> -<source>Error writing file:</source> -<target>Chyba zápisu souboru:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Chybný konfiguraÄnà soubor FreeFileSync!</target> <source>/sec</source> <target>/s</target> <source> @@ -222,8 +234,6 @@ PÅ™Ãkazová řádka je spuÅ¡tÄ›na pokaždé když: <target>Sledovánà zapnuto...</target> <source>Waiting for missing directories...</source> <target>ÄŒekánà na nedostupné adresáře...</target> -<source>Command line is empty!</source> -<target>PÅ™Ãkazová řádka je prázdná!</target> <source>Could not initialize directory monitoring:</source> <target>Nelze nastavit monitorovánà adresáře:</target> <source>A directory input field is empty.</source> @@ -264,12 +274,18 @@ PÅ™Ãkazová řádka je spuÅ¡tÄ›na pokaždé když: <target>Chyba kopÃrovánà souboru:</target> <source>Error opening file:</source> <target>Chyba otevÅ™enà souboru:</target> +<source>Error writing file:</source> +<target>Chyba zápisu souboru:</target> <source>Error reading file:</source> <target>Chyba Ätenà souboru:</target> <source>Endless loop when traversing directory:</source> <target>Zacyklenà pÅ™i procházenà adresáře:</target> <source>Error traversing directory:</source> <target>Chyba procházenà adresáře:</target> +<source>Windows Error Code %x:</source> +<target>Chybový kód Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Chybový kód Linux %x:</target> <source>Error setting privilege:</source> <target>Chyba nastavenà práv:</target> <source>Error moving to Recycle Bin:</source> @@ -294,18 +310,6 @@ PÅ™Ãkazová řádka je spuÅ¡tÄ›na pokaždé když: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Nelze naÄÃst hodnoty následujÃcÃch XML elementy:</target> -<source>Show popup</source> -<target>Zobrazit okno</target> -<source>Show popup on errors or warnings</source> -<target>Zobrazit hlášenà pÅ™i chybÄ› nebo varovánÃ</target> -<source>Ignore errors</source> -<target>Ignorovat chyby</target> -<source>Hide all error and warning messages</source> -<target>Skrýt vÅ¡echny chyby a varovánÃ</target> -<source>Exit instantly</source> -<target>UkonÄit ihned</target> -<source>Abort synchronization immediately</source> -<target>PÅ™eruÅ¡it synchronizaci ihned</target> <source>Logging</source> <target>ZaznamenávánÃ</target> <source>FreeFileSync batch file</source> @@ -410,8 +414,8 @@ PÅ™Ãkazová řádka je spuÅ¡tÄ›na pokaždé když: <target>Pravý</target> <source>Batch job</source> <target>Dávkový soubor</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>VytvoÅ™enà dávkového souboru pro automatický provoz. Ke spuÅ¡tÄ›nà dávky jednoduÅ¡e jejà jméno zadejte jako parametr pÅ™i spuÅ¡tÄ›nà FreeFileSync: FreeFileSync.exe <batchfile>.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Vytvořà dávkový souboru pro automatický provoz. Ke spuÅ¡tÄ›nà dávky jednoduÅ¡e poklikejte na vytvoÅ™ený soubor nebo jejho jméno zadejte jako parametr pÅ™i spuÅ¡tÄ›nà FreeFileSync: FreeFileSync.exe <batchfile>. StejnÄ› tak můžete ke spuÅ¡tÄ›nà využÃt plánovaÄ Ãºloh vaÅ¡eho operaÄnÃho systému.</target> <source>Help</source> <target>NápovÄ›da</target> <source>Configuration overview:</source> @@ -478,17 +482,17 @@ PÅ™Ãkazová řádka je spuÅ¡tÄ›na pokaždé když: <target>Kategorie</target> <source>Action</source> <target>Akce</target> -<source>Files/folders that exist on left side only</source> +<source>File/folder exists on left side only</source> <target>Soubory/adresáře, které existujà pouze vlevo</target> -<source>Files/folders that exist on right side only</source> +<source>File/folder exists on right side only</source> <target>Soubory/adresáře, které existujà pouze vpravo</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Soubory, které existujà na obou stranách, z nichž vlevo je novÄ›jÅ¡Ã</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Soubory, které existujà na obou stranách, z nichž vpravo je novÄ›jÅ¡Ã</target> -<source>Files that have different content</source> +<source>Left file is newer</source> +<target>Levý soubor je novÄ›jÅ¡Ã</target> +<source>Right file is newer</source> +<target>Pravý soubor je novÄ›jÅ¡Ã</target> +<source>Files have different content</source> <target>Soubory, které majà rozdÃlný obsah</target> -<source>Conflicts/files that cannot be categorized</source> +<source>Conflict/file cannot be categorized</source> <target>Konflikty/soubory které nelze zaÅ™adit</target> <source>Compare by...</source> <target>Porovnat ...</target> @@ -544,8 +548,8 @@ je stejný <target>- existuje pouze na levé stranÄ›</target> <source>- exists right only</source> <target>- existuje pouze na pravé stranÄ›</target> -<source>- conflict</source> -<target>- konflikt</target> +<source>- conflict (same date, different size)</source> +<target>- konflikt (stejné datum, jiná velikost)</target> <source>Compare by "File content"</source> <target>Porovnat "podle obsahu souboru"</target> <source> @@ -712,10 +716,8 @@ PÅ™enést pÅ™Ãstupová oprávnÄ›nà souborů a adresářů <target><vÃcenásobný výbÄ›r></target> <source>D-Click</source> <target>Dvojklik</target> -<source>Copy to clipboard CTRL+C</source> -<target>Vložit do schránky CTRL+C</target> -<source>Delete files DEL</source> -<target>Smazat soubory DEL</target> +<source>Delete</source> +<target>Smazat</target> <source>Customize...</source> <target>VlastnÃ....</target> <source>Auto-adjust columns</source> @@ -862,14 +864,10 @@ PÅ™enést pÅ™Ãstupová oprávnÄ›nà souborů a adresářů <target>soubor existuje na obou stranách</target> <source>on one side only</source> <target>pouze na jedné stranÄ›</target> -<source>- left</source> -<target>- vlevo</target> -<source>- right</source> -<target>- vpravo</target> -<source>different</source> -<target>rozdÃlný</target> -<source>- conflict (same date, different size)</source> -<target>- konflikt (stejné datum, jiná velikost)</target> +<source>same date</source> +<target>stejné datum</target> +<source>different date</source> +<target>rozdÃlné datum</target> <source>Inactive</source> <target>Vypnuto</target> <source>Second</source> @@ -982,28 +980,28 @@ PÅ™enést pÅ™Ãstupová oprávnÄ›nà souborů a adresářů <target>Vytvářenà seznamu souborů...</target> <source>Multiple...</source> <target>NÄ›kolikanásobný...</target> -<source>Files that are equal on both sides</source> -<target>Soubory shodné na obou stranách</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Stejné soubory/adresáře, které se liÅ¡Ã pouze ve vlastnostech</target> -<source>Copy from right to left</source> -<target>KopÃrovat z prava do leva</target> -<source>Copy from left to right</source> -<target>KopÃrovat z leva do prava</target> -<source>Delete files/folders existing on left side only</source> -<target>Smazat soubory/adresáře existujÃcà pouze na levé stranÄ›</target> -<source>Delete files/folders existing on right side only</source> -<target>Smazat soubory/adresáře existujÃcà pouze na pravé stranÄ›</target> -<source>Copy from right to left overwriting</source> -<target>KopÃrovat z prava do leva pÅ™episem</target> -<source>Copy from left to right overwriting</source> -<target>KopÃrovat z leva do prava pÅ™episem</target> +<source>Both sides are equal</source> +<target>ObÄ› strany jsou shodné</target> +<source>Files/folders differ in attributes only</source> +<target>Soubory/adresáře se liÅ¡Ã pouze ve vlastnostech</target> +<source>Copy new file/folder to left</source> +<target>KopÃrovat nový soubor/adresář do leva</target> +<source>Copy new file/folder to right</source> +<target>KopÃrovat nový soubor/adresář do prava</target> +<source>Delete left file/folder</source> +<target>Smazat soubor/adresář z leva</target> +<source>Delete right file/folder</source> +<target>Smazat soubor/adresáře z prava</target> +<source>Overwrite left file/folder with right one</source> +<target>PÅ™epsat levý soubor/adresář tÃm z prava</target> +<source>Overwrite right file/folder with left one</source> +<target>PÅ™epsat pravý soubor/adresář tÃm z leva</target> <source>Do nothing</source> <target>Nic nedÄ›lat</target> -<source>Copy attributes only from right to left</source> -<target>KopÃrovat vlastnosti jen z prava do leva</target> -<source>Copy attributes only from left to right</source> -<target>KopÃrovat vlastnosti jen z leva do prava</target> +<source>Copy file attributes only to left</source> +<target>KopÃrovat vlastnosti souboru pouze do leva</target> +<source>Copy file attributes only to right</source> +<target>KopÃrovat vlastnosti souboru pouze do prava</target> <source>Deleting file %x</source> <target>Mazánà souboru %x</target> <source>Deleting Symbolic Link %x</source> @@ -1034,6 +1032,8 @@ PÅ™enést pÅ™Ãstupová oprávnÄ›nà souborů a adresářů <target>Aktualizace atributů souboru %x</target> <source>Source directory does not exist anymore:</source> <target>Zdrojový adresář již neexistuje:</target> +<source>Generating database...</source> +<target>Vytvářenà databáze...</target> <source>Nothing to synchronize according to configuration!</source> <target>Podle dané konfigurace nenà co synchronizovat!</target> <source>Target directory name must not be empty!</source> @@ -1058,8 +1058,6 @@ PÅ™enést pÅ™Ãstupová oprávnÄ›nà souborů a adresářů <target>Bude zmÄ›nÄ› adresář, který je souÄástà adresářového páru vÃcenásobného porovnánÃ! ProsÃm zkontrolujte si nastavenà synchronizace!</target> <source>Processing folder pair:</source> <target>Zpracovávánà adresářové páru:</target> -<source>Generating database...</source> -<target>Vytvářenà databáze...</target> <source>Error copying locked file %x!</source> <target>Chyba kopÃrovánà zamÄeného souboru %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/danish.lng b/BUILD/Languages/danish.lng new file mode 100644 index 00000000..4c0c3f65 --- /dev/null +++ b/BUILD/Languages/danish.lng @@ -0,0 +1,1053 @@ +<header> + <language name>Dansk</language name> + <translator>Kim Monberg</translator> + <locale>da_DK</locale> + <flag file>denmark.png</flag file> + <plural forms>2</plural forms> + <plural definition>n == 1 ? 0 : 1</plural definition> +</header> + +<source>Show in Explorer</source> +<target>Vis i Explorer</target> +<source>Open with default application</source> +<target>Ã…ben med standard program</target> +<source>Browse directory</source> +<target>Gennemse Bibliotek</target> +<source>RealtimeSync - Automated Synchronization</source> +<target>RealtimeSynk - Automatisk Synkronisering</target> +<source>Browse</source> +<target>Gennemse</target> +<source>Invalid commandline: "%x"</source> +<target>Ugyldig kommando: "%x"</target> +<source>Error resolving symbolic link:</source> +<target>Error resolving symbolic link:</target> +<source>Show popup</source> +<target>Vis popup</target> +<source>Show popup on errors or warnings</source> +<target>Vis popup ved fejl eller advarsler</target> +<source>Ignore errors</source> +<target>Ignorer fejl</target> +<source>Hide all error and warning messages</source> +<target>Skjul beskeder om fejl og advarsler</target> +<source>Exit instantly</source> +<target>Afslut med det samme</target> +<source>Abort synchronization immediately</source> +<target>Abort synkronisering med det samme</target> +<source>Select alternate synchronization settings</source> +<target>Vælg alternative indstillinger</target> +<source>No filter selected</source> +<target>Intet filter valgt</target> +<source>Filter is active</source> +<target>Filter er aktivt</target> +<source>Clear filter settings</source> +<target>Ryd filter indstillinger</target> +<source>Remove alternate settings</source> +<target>Fjern alternative indstillinger</target> +<source>Create a batch job</source> +<target>Lav et batch job</target> +<source>Synchronization settings</source> +<target>Synkroniserings indstillinger</target> +<source>Comparison settings</source> +<target>Sammenlignings indstillinger</target> +<source>About</source> +<target>Om</target> +<source>Error</source> +<target>Fejl</target> +<source>Warning</source> +<target>Advarsel</target> +<source>Question</source> +<target>SpørgsmÃ¥l</target> +<source>Confirm</source> +<target>Bekræft</target> +<source>Configure filter</source> +<target>Indstil filter</target> +<source>Customize columns</source> +<target>Rediger kolonner</target> +<source>Global settings</source> +<target>Fælles indstillinger</target> +<source>Synchronization Preview</source> +<target>Vis Synkronisering</target> +<source>Find</source> +<target>Find</target> +<source>%x MB</source> +<target>%x MB</target> +<source>%x KB</source> +<target>%x KB</target> +<source>%x GB</source> +<target>%x GB</target> +<source> +<pluralform>1 Byte</pluralform> +<pluralform>%x Bytes</pluralform> +</source> +<target> +<pluralform>1 Byte</pluralform> +<pluralform>%x Bytes</pluralform> +</target> +<source><Symlink></source> +<target><Symlink></target> +<source><Directory></source> +<target><Directory></target> +<source>Size</source> +<target>Størrelse</target> +<source>Date</source> +<target>Dato</target> +<source>Full path</source> +<target>Fuld Sti</target> +<source>Filename</source> +<target>Filnavne</target> +<source>Relative path</source> +<target>Filsti</target> +<source>Directory</source> +<target>Bibliotek</target> +<source>Extension</source> +<target>Udvidelse</target> +<source>Comparison Result</source> +<target>Sammenlignings Resultat</target> +<source>Incompatible synchronization database format:</source> +<target>Ukompatibelt synkroniserings database format:</target> +<source>Initial synchronization:</source> +<target>Indledende synkronisering:</target> +<source>One of the FreeFileSync database files is not yet existing:</source> +<target>En af FreeFileSync database filerne findes ikke endnu:</target> +<source>One of the FreeFileSync database entries within the following file is not yet existing:</source> +<target>En af FreeFileSync database posterne i den følgende fil findes ikke endnu:</target> +<source>Error reading from synchronization database:</source> +<target>Fejl i læsning fra synkroniserings databasen:</target> +<source>An exception occurred!</source> +<target>En undtagelse er opstÃ¥et!</target> +<source>Error deleting file:</source> +<target>Fejl i sletning af fil:</target> +<source>Error reading file attributes:</source> +<target>Fejl i læsning af atributter:</target> +<source>Waiting while directory is locked (%x)...</source> +<target>Venter mens biblioteket er lÃ¥st (%x)...</target> +<source>Error setting directory lock:</source> +<target>Fejl i at lÃ¥se bibliotek:</target> +<source> +<pluralform>1 sec</pluralform> +<pluralform>%x sec</pluralform> +</source> +<target> +<pluralform>1 sek</pluralform> +<pluralform>%x sek</pluralform> +</target> +<source>Info</source> +<target>Info</target> +<source>Fatal Error</source> +<target>Uoprettelig Fejl</target> +<source>Invalid FreeFileSync config file!</source> +<target>Ugyldig FreeFileSync config fil!</target> +<source>File does not exist:</source> +<target>Filen findes ikke:</target> +<source>Error parsing configuration file:</source> +<target>Fejl i at lave konfigurations filen:</target> +<source>/sec</source> +<target>/sek</target> +<source> +<pluralform>1 min</pluralform> +<pluralform>%x min</pluralform> +</source> +<target> +<pluralform>1 min</pluralform> +<pluralform>%x min</pluralform> +</target> +<source> +<pluralform>1 hour</pluralform> +<pluralform>%x hours</pluralform> +</source> +<target> +<pluralform>1 timer</pluralform> +<pluralform>%x timer</pluralform> +</target> +<source> +<pluralform>1 day</pluralform> +<pluralform>%x days</pluralform> +</source> +<target> +<pluralform>1 dag</pluralform> +<pluralform>%x dage</pluralform> +</target> +<source>S&ave configuration...</source> +<target>G&em konfiguration...</target> +<source>&Load configuration...</source> +<target>&Hent konfiguration...</target> +<source>&Quit</source> +<target>&Afslut</target> +<source>&File</source> +<target>&Fil</target> +<source>&Content</source> +<target>&Indhold</target> +<source>&About...</source> +<target>&Om...</target> +<source>&Help</source> +<target>&Hjælp</target> +<source>Usage:</source> +<target>Forbrug:</target> +<source>1. Select directories to monitor.</source> +<target>1. Vælg biblioteker at holde øje med.</target> +<source>2. Enter a command line.</source> +<target>2. Skriv en kommando linje.</target> +<source>3. Press 'Start'.</source> +<target>3. Tryk 'Start'.</target> +<source> +The command line is executed each time: +- all directories become available (e.g. USB stick insert) +- files within these directories or subdirectories are modified +</source> +<target> +Kommando linjen bliver afviklet hver gang: +- Alle biblioteker bliver tilgængelige (eks. USB stick sættes i) +- Filer i disse biblioteker eller underbiblioteker bliver ændret +</target> +<source>Directories to watch</source> +<target>Biblioteker at overvÃ¥ge</target> +<source>Add folder</source> +<target>Tilføj mappe</target> +<source>Remove folder</source> +<target>Fjern mappe</target> +<source>Select a folder</source> +<target>Vælg en mappe</target> +<source>Command line</source> +<target>Kommando linje</target> +<source>Minimum Idle Time [seconds]</source> +<target>Minimum pausetid [sekunder]</target> +<source>Idle time between detection of last change and execution of command line in seconds</source> +<target>Tid imellem sidste ændring og afvikling af kommando linjen i sekunder</target> +<source>Start</source> +<target>Start</target> +<source>(Build: %x)</source> +<target>(Build: %x)</target> +<source>RealtimeSync configuration</source> +<target>RealtimeSynk konfiguration</target> +<source>File already exists. Overwrite?</source> +<target>Filen findes. Overskriv?</target> +<source>&Restore</source> +<target>&Gendan</target> +<source>&Exit</source> +<target>&Afslut</target> +<source>Monitoring active...</source> +<target>OvervÃ¥gning aktiv...</target> +<source>Waiting for missing directories...</source> +<target>Venter pÃ¥ manglende biblioteker...</target> +<source>Could not initialize directory monitoring:</source> +<target>Kunne ikke initialiserer biblioteks overvÃ¥gningen:</target> +<source>A directory input field is empty.</source> +<target>Et biblioteks felt er tomt.</target> +<source>Error when monitoring directories.</source> +<target>Fejl i overvÃ¥gning af biblioteker.</target> +<source>Drag && drop</source> +<target>Træk && slip</target> +<source>Conversion error:</source> +<target>Konverterings fejl:</target> +<source>Error moving file:</source> +<target>Fejl i flytning af fil:</target> +<source>Operation aborted!</source> +<target>Operation afbrudt!</target> +<source>Target file already existing!</source> +<target>Filen findes i forvejen!</target> +<source>Error moving directory:</source> +<target>Fejl i flytning af bibliotek:</target> +<source>Target directory already existing!</source> +<target>Bibliotek findes i forvejen!</target> +<source>Error deleting directory:</source> +<target>Fejl i sletning af bibliotek:</target> +<source>Error changing modification time:</source> +<target>Fejl i ændring af modificerings tiden:</target> +<source>Error loading library function:</source> +<target>Fejl i biblioteks funktionen:</target> +<source>Error reading security context:</source> +<target>Fejl i læsning af sikkerhedstilladelser:</target> +<source>Error writing security context:</source> +<target>Fejl i skrivning af sikkerhedstilladelser:</target> +<source>Error copying file permissions:</source> +<target>Fejl i kopiering af filtilladelser:</target> +<source>Error creating directory:</source> +<target>Fejl i oprettelse af bibliotek:</target> +<source>Error copying symbolic link:</source> +<target>Fejl i kopiering af link:</target> +<source>Error copying file:</source> +<target>Fejl i kopiering af fil:</target> +<source>Error opening file:</source> +<target>Fejl i Ã¥bning af fil:</target> +<source>Error writing file:</source> +<target>Fejl i at skrive fil:</target> +<source>Error reading file:</source> +<target>Fejl i læsning af fil:</target> +<source>Endless loop when traversing directory:</source> +<target>Uendelig løkke ved gennemgang af bibliotek:</target> +<source>Error traversing directory:</source> +<target>Fejl i gennemgang af bibliotek:</target> +<source>Windows Error Code %x:</source> +<target>Windows Fejl kode %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Fejl kode %x:</target> +<source>Error setting privilege:</source> +<target>Fejl i at sætte privilegier:</target> +<source>Error moving to Recycle Bin:</source> +<target>Fejl i at flytte til skraldespand:</target> +<source>Could not load a required DLL:</source> +<target>Kunne ikke hente en krævet DLL:</target> +<source>Error writing to synchronization database:</source> +<target>Fejl i skrivning til synkroniserings databasen:</target> +<source>Error starting Volume Shadow Copy Service!</source> +<target>Fejl i start af Drev Spejl Kopierings Service!</target> +<source>Making shadow copies on WOW64 is not supported. Please use FreeFileSync 64-bit version.</source> +<target>At lave spejl kopier af WOW64 er ikke understøttet. Brug venligst FreeFileSync 64-bit version.</target> +<source>Could not determine volume name for file:</source> +<target>Kunne ikke finde drev navn til filen:</target> +<source>Volume name %x not part of filename %y!</source> +<target>Drev navn %x ikke en del af filnavn %y!</target> +<source>%x TB</source> +<target>%x TB</target> +<source>%x PB</source> +<target>%x PB</target> +<source>%x%</source> +<target>%x%</target> +<source>Could not read values for the following XML nodes:</source> +<target>Kunne ikke læse værdierne for følgende XML punkter:</target> +<source>Logging</source> +<target>Logger</target> +<source>FreeFileSync batch file</source> +<target>FreeFileSync batch fil</target> +<source>FreeFileSync configuration</source> +<target>FreeFileSync konfiguration</target> +<source>FreeFileSync Batch Job</source> +<target>FreeFileSync Batch Job</target> +<source>Unable to create logfile!</source> +<target>Kan ikke oprette logfil!</target> +<source>Batch execution</source> +<target>Batch afvikling</target> +<source>Log-messages:</source> +<target>Log-beskeder:</target> +<source>Stop</source> +<target>Stop</target> +<source>Total time:</source> +<target>Samlet tid:</target> +<source>Synchronization aborted!</source> +<target>Synkronisering afbrudt!</target> +<source>Synchronization completed with errors!</source> +<target>Synkronisering afsluttet med fejl!</target> +<source>Synchronization completed successfully!</source> +<target>Synkronisering afsluttet uden fejl!</target> +<source>Press "Switch" to open FreeFileSync GUI mode.</source> +<target>Tryk "Skift" for at Ã¥bne FreeFileSync i GUI mode.</target> +<source>Switching to FreeFileSync GUI mode...</source> +<target>Skifter til FreeFileSync GUI mode...</target> +<source>Unable to connect to sourceforge.net!</source> +<target>Kan ikke forbinde til sourceforge.net!</target> +<source>A newer version of FreeFileSync is available:</source> +<target>En nyere version af FreeFileSync er tilgængelig:</target> +<source>Download now?</source> +<target>Download nu?</target> +<source>Information</source> +<target>Information</target> +<source>FreeFileSync is up to date!</source> +<target>FreeFileSync er opdateret!</target> +<source>Do you want FreeFileSync to automatically check for updates every week?</source> +<target>Skal FreeFileSync automatisk checke efter opdateringer hver uge?</target> +<source>(Requires an Internet connection!)</source> +<target>(Kræver en Internet forbindelse!)</target> +<source>1. &Compare</source> +<target>1. &Sammenlign</target> +<source>2. &Synchronize...</source> +<target>2. &Synkroniser...</target> +<source>S&witch view</source> +<target>S&kift udseende</target> +<source>&New</source> +<target>&Ny</target> +<source>&Program</source> +<target>&Program</target> +<source>&Language</source> +<target>&Sprog</target> +<source>&Global settings...</source> +<target>&Fælles indstillinger...</target> +<source>&Create batch job...</source> +<target>&Opret batch job...</target> +<source>&Export file list...</source> +<target>&Eksporter fil liste...</target> +<source>&Advanced</source> +<target>&Avanceret</target> +<source>&Check for new version</source> +<target>&Kig efter ny version</target> +<source>Compare</source> +<target>Sammenlign</target> +<source>Compare both sides</source> +<target>Sammenlign begge sider</target> +<source>&Abort</source> +<target>&Afbryd</target> +<source>Synchronize...</source> +<target>Synkroniser...</target> +<source>Start synchronization</source> +<target>Start synkronisering</target> +<source>Swap sides</source> +<target>Byt sider</target> +<source>Add folder pair</source> +<target>Tilføj mappe par</target> +<source>Remove folder pair</source> +<target>Fjern mappe par</target> +<source>Save current configuration to file</source> +<target>Gem nuværende konfiguration i fil</target> +<source>Load configuration from file</source> +<target>Læs konfiguration fra fil</target> +<source>Last used configurations (press DEL to remove from list)</source> +<target>Senest brugte konfigurationer (tryk DEL for at fjerne fra listen)</target> +<source>Hide excluded items</source> +<target>Skjul udelukkede emner</target> +<source>Hide filtered or temporarily excluded files</source> +<target>Skjul filtrerede eller midlertidigt udelukkede filer</target> +<source>Number of files and directories that will be created</source> +<target>Antal filer og biblioteker der vil blive oprettet</target> +<source>Number of files that will be overwritten</source> +<target>Antal filer der vil blive overskrevet</target> +<source>Number of files and directories that will be deleted</source> +<target>Antal filer og biblioteker der vil blive slettet</target> +<source>Total amount of data that will be transferred</source> +<target>Samlet antal data der vil blive overført</target> +<source>Left</source> +<target>Venstre</target> +<source>Right</source> +<target>Højre</target> +<source>Batch job</source> +<target>Batch job</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Opret en batch fil til automatisk synkronisering. For at starte i batch mode dobbelt-click pÃ¥ filen eller afvikle med kommandoen: FreeFileSync.exe <batchfil>. Dette kan ogsÃ¥ planlægges i dit systems opgavestyring.</target> +<source>Help</source> +<target>Hjælp</target> +<source>Configuration overview:</source> +<target>Overblik over konfiguration:</target> +<source>Filter files</source> +<target>Filter filer</target> +<source>Status feedback</source> +<target>Status feedback</target> +<source>Silent mode</source> +<target>Lydløs tilstand</target> +<source>Start minimized and write status information to a logfile</source> +<target>Start minimeret og skriv status information til en log fil</target> +<source>Error handling</source> +<target>Fejl hÃ¥ndtering</target> +<source>Overview</source> +<target>Overblik</target> +<source>Select logfile directory:</source> +<target>Vælg log fil bibliotek:</target> +<source>Maximum number of logfiles:</source> +<target>Maksimalt antal log filer:</target> +<source>&Save</source> +<target>&Gem</target> +<source>&Load</source> +<target>&Hent</target> +<source>&Cancel</source> +<target>&Anuller</target> +<source>Elements found:</source> +<target>Enheder fundet:</target> +<source>Elements remaining:</source> +<target>Enheder tilbage:</target> +<source>Speed:</source> +<target>Hastighed:</target> +<source>Time remaining:</source> +<target>Tid tilbage:</target> +<source>Time elapsed:</source> +<target>Tid gÃ¥et:</target> +<source>Operation:</source> +<target>Igang:</target> +<source>Select variant:</source> +<target>Vælg variant:</target> +<source><Automatic></source> +<target><Automatisk></target> +<source>Identify and propagate changes on both sides using a database. Deletions and conflicts are detected automatically.</source> +<target>Indentifiser og udbred ændringer pÃ¥ begge sider via. database. Sletninger og konflikter opdages automatisk.</target> +<source>Mirror ->></source> +<target>Spejl ->></target> +<source>Mirror backup of left folder. Right folder is modified to exactly match left folder after synchronization.</source> +<target>Spejling af venstre mappe. Højre mappe tilpasses sÃ¥ den ligner den venstre efter synkronisering.</target> +<source>Update -></source> +<target>Opdater -></target> +<source>Copy new or updated files to right folder.</source> +<target>Kopier nye eller opdaterede filer til højre mappe.</target> +<source>Custom</source> +<target>Brugerdefineret</target> +<source>Configure your own synchronization rules.</source> +<target>Konfigurer dine egne synkroniserings regler.</target> +<source>Deletion handling</source> +<target>Slette hÃ¥ndtering</target> +<source>&OK</source> +<target>&OK</target> +<source>Configuration</source> +<target>Konfiguration</target> +<source>Category</source> +<target>Kategori</target> +<source>Action</source> +<target>Handling</target> +<source>File/folder exists on left side only</source> +<target>Fil/mappe findes kun til venstre</target> +<source>File/folder exists on right side only</source> +<target>Fil/mappe findes kun til højre</target> +<source>Left file is newer</source> +<target>Fil til venstre er nyere</target> +<source>Right file is newer</source> +<target>Fil til højre er nyere</target> +<source>Files have different content</source> +<target>Filer har forskelligt indhold</target> +<source>Conflict/file cannot be categorized</source> +<target>Konflikt/filen kan ikke kategoriseres</target> +<source>Compare by...</source> +<target>Sammenlign ved...</target> +<source> +Files are found equal if + - file size + - last write time and date +are the same +</source> +<target> +Filer er ens hvis + - fil størrelse + - gemme tid og dato +er det samme +</target> +<source>File size and date</source> +<target>Fil størrelse og dato</target> +<source> +Files are found equal if + - file content +is the same +</source> +<target> +Filer er ens hvis + - fil indhold +er det samme +</target> +<source>File content</source> +<target>Fil indhold</target> +<source>Symbolic Link handling</source> +<target>Link hÃ¥ndtering</target> +<source>Synchronizing...</source> +<target>Synkroniserer...</target> +<source>Elements processed:</source> +<target>Enheder behandlet:</target> +<source>&Pause</source> +<target>&Pause</target> +<source>Compare by "File size and date"</source> +<target>Sammenlign ved "Fil størelse og dato"</target> +<source>This variant evaluates two equally named files as being equal when they have the same file size AND the same last write date and time.</source> +<target>Denne variant vurderer to filer med samme navn som værende ens nÃ¥r de har samme fil størelse OG gemt pÃ¥ samme dato og tid.</target> +<source>When the comparison is started with this option set the following decision tree is processed:</source> +<target>NÃ¥r der sammenlignes ved denne mulighed bruges følgende fremgangsmetode:</target> +<source>As a result the files are separated into the following categories:</source> +<target>Som resultat bliver filerne delt op i følgende kategorier:</target> +<source>- equal</source> +<target>- ens</target> +<source>- left newer</source> +<target>- venstre nyest</target> +<source>- right newer</source> +<target>- højre nyest</target> +<source>- exists left only</source> +<target>- findes kun til venstre</target> +<source>- exists right only</source> +<target>- findes kun til køjre</target> +<source>- conflict (same date, different size)</source> +<target>- konflikt (samme dato, forskellig størrelse)</target> +<source>Compare by "File content"</source> +<target>Sammenlign ved "Fil indhold"</target> +<source> +As the name suggests, two files which share the same name are marked as equal if and only if they have the same content. This option is useful for consistency checks rather than backup operations. Therefore the file times are not taken into account at all. + +With this option enabled the decision tree is smaller: +</source> +<target> +Som navnet antyder, to filer der deler samme navn findes ens hvis de har samme indhold. Denne mulighed er god til at checke indhold i stedet for at udføre backup. Derfor bliver dato og tid ikke taget i betragtning. + +Ved denne mulighed er beslutningstræet mindre: +</target> +<source>- different</source> +<target>- forskellig</target> +<source>Source code written in C++ utilizing:</source> +<target>Source code skrevet i C++:</target> +<source>Big thanks for localizing FreeFileSync goes out to:</source> +<target>Stor tak for lokalisering af FreeFileSync gÃ¥r til:</target> +<source>Feedback and suggestions are welcome at:</source> +<target>Feedback og forslag er velkommen pÃ¥:</target> +<source>FreeFileSync at Sourceforge</source> +<target>FreeFileSync pÃ¥ Sourceforge</target> +<source>Homepage</source> +<target>Hjemmeside</target> +<source>If you like FFS</source> +<target>Hvis du kan lide FFS</target> +<source>Donate with PayPal</source> +<target>Doner med PayPal</target> +<source>Email</source> +<target>E-mail</target> +<source>Report translation error</source> +<target>Rapporter oversættelses fejl</target> +<source>Published under the GNU General Public License:</source> +<target>Udgivet under GNU General Public Licence:</target> +<source>Ignore subsequent errors</source> +<target>Ignorer underliggende fejl</target> +<source>Hide further error messages during the current process</source> +<target>Skjul yderligere fejl beskeder under nuværende opgave</target> +<source>&Ignore</source> +<target>&Ignorer</target> +<source>&Retry</source> +<target>&Prøv igen</target> +<source>Do not show this dialog again</source> +<target>Vis ikke denne dialog igen</target> +<source>&Switch</source> +<target>&Skift</target> +<source>&Yes</source> +<target>&Ja</target> +<source>&No</source> +<target>&Nej</target> +<source>Delete on both sides</source> +<target>Slet pÃ¥ begge sider</target> +<source>Delete on both sides even if the file is selected on one side only</source> +<target>Slet pÃ¥ begge sider selvom der kun er valgt en side</target> +<source>Use Recycle Bin</source> +<target>Brug skraldespanden</target> +<source> +Only files/directories that match all filter settings will be selected for synchronization. +Note: The name filter must be specified relative(!) to main synchronization directories. +</source> +<target> +Kun filer/biblioteker der passer til alle filter indstillinger vil blive valgt til synkronisering. +Bemærk: Navnefilteret skal være faktisk specificeret(!) til hoved synkroniserings bibliotekerne. +</target> +<source>Hints:</source> +<target>Vejledninger:</target> +<source>1. Enter relative file or directory names separated by ';' or a new line.</source> +<target>1. Skriv faktiske fil eller bibliotek navne adskilt af ';' eller en ny linje.</target> +<source>2. Use wildcard characters '*' and '?'.</source> +<target>2. Brug wildcard tegn '*' og '?'.</target> +<source>3. Exclude files directly on main grid via context menu.</source> +<target>3. Udeluk filer direkte.</target> +<source>Example</source> +<target>Eksempel</target> +<source> +Include: *.doc;*.zip;*.exe +Exclude: \stuff\temp\* +</source> +<target> +Inkluder: *.doc;*.zip;*.exe +Udeluk: \ting\temp\* +</target> +<source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> +<target>Synkroniserer alle .doc, .zip and .exe filer pÃ¥nær alt i undermappen "temp".</target> +<source>Include</source> +<target>Inkluder</target> +<source>Exclude</source> +<target>Udeluk</target> +<source>Select time span:</source> +<target>Fælg tidsrum:</target> +<source>Minimum file size:</source> +<target>Mindste fil størelse:</target> +<source>Maximum file size:</source> +<target>Største fil størelse:</target> +<source>&Default</source> +<target>&Standard</target> +<source>Move column up</source> +<target>Flyt kolonne op</target> +<source>Move column down</source> +<target>Flyt kolonne ned</target> +<source>Copy locked files</source> +<target>Kopier lÃ¥ste filer</target> +<source> +Copy shared or locked files using Volume Shadow Copy Service +(Requires Administrator rights) +</source> +<target> +Kopier delte eller lÃ¥ste filer ved hjælp af Drev Kopi Servicen +(Kræver Administrator rettigheder) +</target> +<source>Copy filesystem permissions</source> +<target>Kopier filsystem tilladelser</target> +<source> +Transfer file and directory permissions +(Requires Administrator rights) +</source> +<target> +Overfør fil og biblioteks tilladelser +(Kræver Administrator rettigheder) +</target> +<source>Hidden dialogs:</source> +<target>Skjulte dialoger:</target> +<source>Reset</source> +<target>Nulstil</target> +<source>Show hidden dialogs</source> +<target>Vi skjulte dialoger</target> +<source>External applications</source> +<target>Eksterne programmer</target> +<source>Description</source> +<target>Beskrivelse</target> +<source>Variant</source> +<target>Variation</target> +<source>Statistics</source> +<target>Statestik</target> +<source>Find what:</source> +<target>Find:</target> +<source>Match case</source> +<target>Sammenlign stor og smÃ¥ bogstaver</target> +<source>&Find next</source> +<target>&Find næste</target> +<source>You may try to synchronize remaining items again (WITHOUT having to re-compare)!</source> +<target>Du kan prøve at synkroniserer igen (UDEN at skulle sammenligne igen)!</target> +<source>Batch file created successfully!</source> +<target>Batch fil oprettet!</target> +<source>Main bar</source> +<target>Hoved værktøjslinjen</target> +<source>Folder pairs</source> +<target>Mappe par</target> +<source>Select view</source> +<target>Vælg udseende</target> +<source>Folder Comparison and Synchronization</source> +<target>Mappe sammenligning og synkronisering</target> +<source>Recycle Bin not yet supported for this system!</source> +<target>Skraldespanden er ikke understøttet for dette system endnu!</target> +<source>Set direction:</source> +<target>Sæt handlevejen:</target> +<source>Exclude temporarily</source> +<target>Ekskluder midlertidigt</target> +<source>Include temporarily</source> +<target>Inkluder midlertidigt</target> +<source>Exclude via filter:</source> +<target>Ekskluder via filter:</target> +<source><multiple selection></source> +<target><flere valg></target> +<source>D-Click</source> +<target>Dobbelt-klik</target> +<source>Delete</source> +<target>Slet</target> +<source>Customize...</source> +<target>Tilpas...</target> +<source>Auto-adjust columns</source> +<target>Auto-juster kolonner</target> +<source>Include all rows</source> +<target>Inkluder alle rækker</target> +<source>Exclude all rows</source> +<target>Ekskluder alle rækker</target> +<source>Reset view</source> +<target>Nulstil udseende</target> +<source>Show "%x"</source> +<target>Vis "%x"</target> +<source><Last session></source> +<target><Sidste opgave></target> +<source>Configuration saved!</source> +<target>Konfiguration gemt!</target> +<source>Save changes to current configuration?</source> +<target>Gem ændringer til nuværende konfiguration?</target> +<source>Configuration loaded!</source> +<target>Konfiguration hentet!</target> +<source>Hide files that exist on left side only</source> +<target>Skjul filder der kun findes pÃ¥ venstre side</target> +<source>Show files that exist on left side only</source> +<target>Vis filer der kun findes pÃ¥ venstre side</target> +<source>Hide files that exist on right side only</source> +<target>Skjul filer der kun findes pÃ¥ højre side</target> +<source>Show files that exist on right side only</source> +<target>Vis filer der kun findes pÃ¥ højre side</target> +<source>Hide files that are newer on left</source> +<target>Skjul filer der er nyere til venstre</target> +<source>Show files that are newer on left</source> +<target>Vis filer der er nyere til venstre</target> +<source>Hide files that are newer on right</source> +<target>Skjul filer der er nyere til højre</target> +<source>Show files that are newer on right</source> +<target>Vis filer der er nyere til højre</target> +<source>Hide files that are equal</source> +<target>Skjul ens filer</target> +<source>Show files that are equal</source> +<target>Vis ens filer</target> +<source>Hide files that are different</source> +<target>Skjul uens filer</target> +<source>Show files that are different</source> +<target>Vis uens filer</target> +<source>Hide conflicts</source> +<target>Skjul konflikter</target> +<source>Show conflicts</source> +<target>Vis konflikter</target> +<source>Hide files that will be created on the left side</source> +<target>Skjul filer der vil blive oprettet til venstre</target> +<source>Show files that will be created on the left side</source> +<target>Vis filer der vil blive oprettet til venstre</target> +<source>Hide files that will be created on the right side</source> +<target>Skjul filer der vil blive oprettet til højre</target> +<source>Show files that will be created on the right side</source> +<target>Vis filer der vil blive oprettet til højre</target> +<source>Hide files that will be deleted on the left side</source> +<target>Skjul filer der bliver slettet til venstre</target> +<source>Show files that will be deleted on the left side</source> +<target>Vis filer der bliver slettet til venstre</target> +<source>Hide files that will be deleted on the right side</source> +<target>Skjul filer der bliver slettet til højre</target> +<source>Show files that will be deleted on the right side</source> +<target>Vis filer der bliver slettet til højre</target> +<source>Hide files that will be overwritten on left side</source> +<target>Skjul filer der bliver overskrevet til venstre</target> +<source>Show files that will be overwritten on left side</source> +<target>Vis filer der bliver overskrevet til venstre</target> +<source>Hide files that will be overwritten on right side</source> +<target>Skjul filer der bliver overskrevet til højre</target> +<source>Show files that will be overwritten on right side</source> +<target>Vis filer der bliver overskrevet til højre</target> +<source>Hide files that won't be copied</source> +<target>Skjul filer der ikke bliver kopieret</target> +<source>Show files that won't be copied</source> +<target>Vis filer der ikke bliver kopieret</target> +<source>All directories in sync!</source> +<target>Alle biblioteker er synkroniseret!</target> +<source>Please run a Compare first before synchronizing!</source> +<target>Kør venligst en sammenligning inden synkronisering!</target> +<source>Comma separated list</source> +<target>Komma separeret list</target> +<source>Legend</source> +<target>Legend</target> +<source>File list exported!</source> +<target>Fil listen er eksporteret!</target> +<source> +<pluralform>Object deleted successfully!</pluralform> +<pluralform>%x objects deleted successfully!</pluralform> +</source> +<target> +<pluralform>Emnet er slettet!</pluralform> +<pluralform>%x emner er slettet!</pluralform> +</target> +<source> +<pluralform>1 directory</pluralform> +<pluralform>%x directories</pluralform> +</source> +<target> +<pluralform>1 bibliotek</pluralform> +<pluralform>%x biblioteker</pluralform> +</target> +<source> +<pluralform>1 file</pluralform> +<pluralform>%x files</pluralform> +</source> +<target> +<pluralform>1 fil</pluralform> +<pluralform>%x filer</pluralform> +</target> +<source> +<pluralform>%x of 1 row in view</pluralform> +<pluralform>%x of %y rows in view</pluralform> +</source> +<target> +<pluralform>%x af 1 række</pluralform> +<pluralform>%x af %y rækker</pluralform> +</target> +<source>Scanning...</source> +<target>Skanner...</target> +<source>Comparing content...</source> +<target>Sammenligner indhold...</target> +<source>Paused</source> +<target>Pauset</target> +<source>Aborted</source> +<target>Afbrudt</target> +<source>Completed</source> +<target>Fuldført</target> +<source>Abort requested: Waiting for current operation to finish...</source> +<target>Afbrydelse: Venter pÃ¥ nuværende opgave afsluttes...</target> +<source>Continue</source> +<target>Fortsæt</target> +<source>Pause</source> +<target>Pause</target> +<source>Cannot find %x</source> +<target>Kan ikke finde %x</target> +<source>DECISION TREE</source> +<target>BESLUTNINGS TRÆ</target> +<source>file exists on both sides</source> +<target>fil findes pÃ¥ begge sider</target> +<source>on one side only</source> +<target>kun pÃ¥ en side</target> +<source>same date</source> +<target>samme dato</target> +<source>different date</source> +<target>forskellig dato</target> +<source>Inactive</source> +<target>Inaktiv</target> +<source>Second</source> +<target>Sekund</target> +<source>Minute</source> +<target>Minut</target> +<source>Hour</source> +<target>Time</target> +<source>Day</source> +<target>Dag</target> +<source>Byte</source> +<target>Byte</target> +<source>KB</source> +<target>KB</target> +<source>MB</source> +<target>MB</target> +<source>Filter: All pairs</source> +<target>Filter: Alle par</target> +<source>Filter: Single pair</source> +<target>Filter: Par</target> +<source>Ignore</source> +<target>Ignorer</target> +<source>Direct</source> +<target>Direkte</target> +<source>Follow</source> +<target>Følg</target> +<source>Integrate external applications into context menu. The following macros are available:</source> +<target>Integrere eksterne programme. Følgende macroer er mulige:</target> +<source>- full file or directory name</source> +<target>- komplet fil eller bibliotek navn</target> +<source>- directory part only</source> +<target>- kun bibliotek</target> +<source>- Other side's counterpart to %name</source> +<target>- Modsatte sides modpart til %name</target> +<source>- Other side's counterpart to %dir</source> +<target>- Modsatte sides modpart til %dir</target> +<source>Restore all hidden dialogs?</source> +<target>Gendan alle skjulte dialoger?</target> +<source> +<pluralform>Do you really want to move the following object to the Recycle Bin?</pluralform> +<pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> +</source> +<target> +<pluralform>Vil du flytte emnet til skraldespanden?</pluralform> +<pluralform>Vil du flytte følgende %x emner til skraldespanden?</pluralform> +</target> +<source> +<pluralform>Do you really want to delete the following object?</pluralform> +<pluralform>Do you really want to delete the following %x objects?</pluralform> +</source> +<target> +<pluralform>Vil du slette følgende emne?</pluralform> +<pluralform>Vil du slette følgende %x emner?</pluralform> +</target> +<source>Leave as unresolved conflict</source> +<target>Efterlad som uløste konflikter</target> +<source>Delete permanently</source> +<target>Slet permanent</target> +<source>Delete or overwrite files permanently</source> +<target>Slet eller overskriv filer permanent</target> +<source>Use Recycle Bin when deleting or overwriting files</source> +<target>Brug skraldespand ved sletning eller overskrivning</target> +<source>Versioning</source> +<target>Versionering</target> +<source>Move files into a time-stamped subdirectory</source> +<target>Flyt filer til et datomærket underbibliotek</target> +<source>Cannot determine sync-direction:</source> +<target>Kan ikke bestemme synkroniseringsvej:</target> +<source>Filter settings have changed!</source> +<target>Filter indstillinger er ændret!</target> +<source>Both sides have changed since last synchronization!</source> +<target>Begge sider er ændret siden sidste synkronisering!</target> +<source>No change since last synchronization!</source> +<target>Ingen ændringer siden sidste synkronisering!</target> +<source>The file was not processed by last synchronization!</source> +<target>filen blev ikke behandlet ved sidste synkronisering!</target> +<source>Planned directory deletion is in conflict with its subdirectories and -files!</source> +<target>Planlagt sletning af biblioteket er i konflikt med underbiblioteker og filer!</target> +<source>Setting default synchronization directions: Old files will be overwritten with newer files.</source> +<target>Sætter standard synkroniseringsvej: Gamle filer bliver overskrevet med nyere.</target> +<source>The file does not contain a valid configuration:</source> +<target>Filen indeholder ikke en gyldig konfiguration:</target> +<source>Scanning:</source> +<target>Skanner:</target> +<source>Encoding extended time information: %x</source> +<target>Finder udvidet tids information: %x</target> +<source>You can ignore this error to consider the directory as empty.</source> +<target>Du kan ignorer denne fejl, og opfatte biblioteket som tomt.</target> +<source>Directory does not exist:</source> +<target>Biblioteket findes ikke:</target> +<source>Directories are dependent! Be careful when setting up synchronization rules:</source> +<target>Biblioteker er afhængige! Vær forsigtig nÃ¥r du laver synkroniserings reglerne:</target> +<source>Comparing content of files %x</source> +<target>Sammenligner indhold af filer %x</target> +<source>Memory allocation failed!</source> +<target>Hukommelses fejl!</target> +<source>File %x has an invalid date!</source> +<target>Filen %x har en ugyldig dato!</target> +<source>Conflict detected:</source> +<target>Konflik fundet:</target> +<source>Files %x have the same date but a different size!</source> +<target>Filerne %x har den samme dato men forskellig størrelse!</target> +<source>Symlinks %x have the same date but a different target!</source> +<target>Links %x har den samme dato men forskellige destinationerl!</target> +<source>Comparing files by content failed.</source> +<target>Fejl i sammenligning af filernes indhold.</target> +<source>Generating file list...</source> +<target>Laver fil liste...</target> +<source>Multiple...</source> +<target>Flere...</target> +<source>Both sides are equal</source> +<target>Begge sider er ens</target> +<source>Files/folders differ in attributes only</source> +<target>Filer/mapper har forskellige attributter</target> +<source>Copy new file/folder to left</source> +<target>Kopiere ny fil/mappe til venstre</target> +<source>Copy new file/folder to right</source> +<target>Kopiere ny fil/mappe til højre</target> +<source>Delete left file/folder</source> +<target>Slet venstre fil/mappe</target> +<source>Delete right file/folder</source> +<target>Slet højre fil/mappe</target> +<source>Overwrite left file/folder with right one</source> +<target>Overskriv venstre fil/mappe med højre</target> +<source>Overwrite right file/folder with left one</source> +<target>Overskriv højre fil/mappe med venstre</target> +<source>Do nothing</source> +<target>Gør intet</target> +<source>Copy file attributes only to left</source> +<target>Kopiere fil attributter kun til venstre</target> +<source>Copy file attributes only to right</source> +<target>Kopiere fil attributter kun til højre</target> +<source>Deleting file %x</source> +<target>Sletter fil %x</target> +<source>Deleting Symbolic Link %x</source> +<target>Sletter Link %x</target> +<source>Deleting folder %x</source> +<target>Sletter mappe %x</target> +<source>Moving %x to Recycle Bin</source> +<target>Flytter %x til skraldespanden</target> +<source>Moving file %x to user-defined directory %y</source> +<target>Flytter fil %x til bruger-defineret bibliotek %y</target> +<source>Moving folder %x to user-defined directory %y</source> +<target>Flytter mappe %x til bruger-defineret bibliotek %y</target> +<source>Moving Symbolic Link %x to user-defined directory %y</source> +<target>Flytter Link %x til bruger-defineret bibliotek %y</target> +<source>Copying new file %x to %y</source> +<target>Kopierer ny fil %x til %y</target> +<source>Copying new Symbolic Link %x to %y</source> +<target>Kopierer nyt Link %x til %y</target> +<source>Overwriting file %x in %y</source> +<target>Overskriver fil %x i %y</target> +<source>Overwriting Symbolic Link %x in %y</source> +<target>Overskriver Link %x i %y</target> +<source>Creating folder %x</source> +<target>Opretter mappe %x</target> +<source>Verifying file %x</source> +<target>Verificerer fil %x</target> +<source>Updating attributes of %x</source> +<target>Opdaterer attributter af %x</target> +<source>Source directory does not exist anymore:</source> +<target>Kilde biblioteket findes ikke mere:</target> +<source>Generating database...</source> +<target>Opretter database...</target> +<source>Nothing to synchronize according to configuration!</source> +<target>Intet at synkroniserer ifølge dokumentationen!</target> +<source>Target directory name must not be empty!</source> +<target>Navnet pÃ¥ destinations biblioteket mÃ¥ ikke være tomt!</target> +<source>User-defined directory for deletion was not specified!</source> +<target>Bruger-defineret bibliotek til sletning ikke defineret!</target> +<source>Unresolved conflicts existing!</source> +<target>Er er uløste konflikter!</target> +<source>You can ignore conflicts and continue synchronization.</source> +<target>Du kan ignorere konflikter og fortsætte synkronisering.</target> +<source>Significant difference detected:</source> +<target>Betydelig forskel fundet:</target> +<source>More than 50% of the total number of files will be copied or deleted!</source> +<target>Mere end 50% af det samlede antal filer vil blive kopieret eller slettet!</target> +<source>Not enough free disk space available in:</source> +<target>Ikke nok ledig diskplads pÃ¥:</target> +<source>Free disk space required:</source> +<target>Krævet ledig diskplads:</target> +<source>Free disk space available:</source> +<target>Ledig diskplads tilgængelig:</target> +<source>A directory will be modified which is part of multiple folder pairs! Please review synchronization settings!</source> +<target>Et bibliotek vil blive ændret som er en del af et mappe par! Gennemse venligst synkroniserings indstillingerne!</target> +<source>Processing folder pair:</source> +<target>Behandler mappe par:</target> +<source>Error copying locked file %x!</source> +<target>Fejl i kopiering af lÃ¥st fil %x!</target> +<source>Data verification error: Source and target file have different content!</source> +<target>Data godkendelses fejl: Kilde og destinations fil har forskelligt indhold!</target> diff --git a/BUILD/Languages/dutch.lng b/BUILD/Languages/dutch.lng index 1c284a7a..f7000f4d 100644 --- a/BUILD/Languages/dutch.lng +++ b/BUILD/Languages/dutch.lng @@ -1,6 +1,6 @@ <header> <language name>Nederlands</language name> - <translator>Dion van Lieshout</translator> + <translator>Rogier Wijker</translator> <locale>nl_NL</locale> <flag file>holland.png</flag file> <plural forms>2</plural forms> @@ -8,7 +8,7 @@ </header> <source>Show in Explorer</source> -<target></target> +<target>Toon in de verkenner</target> <source>Open with default application</source> <target>Open met standaardapplicatie</target> <source>Browse directory</source> @@ -17,8 +17,22 @@ <target>RealtimeSync - Geautomatiseerde Synchronisatie</target> <source>Browse</source> <target>Verkennen</target> +<source>Invalid commandline: "%x"</source> +<target>Ongeldige invoer: "%x"</target> <source>Error resolving symbolic link:</source> <target>Fout tijdens opzoeken van symbolische koppeling:</target> +<source>Show popup</source> +<target>Toon opspringvenster</target> +<source>Show popup on errors or warnings</source> +<target>Toon opspringvenster bij fouten of waarschuwingen</target> +<source>Ignore errors</source> +<target>Negeer foutmeldingen</target> +<source>Hide all error and warning messages</source> +<target>Verberg alle fout- en waarschuwingsberichten</target> +<source>Exit instantly</source> +<target>Sluit meteen af</target> +<source>Abort synchronization immediately</source> +<target>Stop synchronisatie onmiddelijk</target> <source>Select alternate synchronization settings</source> <target>Selecteer alternatieve synchronisatie instellingen</target> <source>No filter selected</source> @@ -58,7 +72,7 @@ <source>%x MB</source> <target>%x MB</target> <source>%x KB</source> -<target></target> +<target>%x KB</target> <source>%x GB</source> <target>%x GB</target> <source> @@ -66,6 +80,8 @@ <pluralform>%x Bytes</pluralform> </source> <target> +<pluralform>1 Byte</pluralform> +<pluralform>%x Bytes</pluralform> </target> <source><Symlink></source> <target><Symlink></target> @@ -112,19 +128,19 @@ <pluralform>%x sec</pluralform> </source> <target> +<pluralform>1 sec</pluralform> +<pluralform>%x sec</pluralform> </target> <source>Info</source> <target>Info</target> <source>Fatal Error</source> <target>Fatale fout</target> +<source>Invalid FreeFileSync config file!</source> +<target>Foutief FreeFileSync configuratiebestand!</target> <source>File does not exist:</source> <target>Bestand bestaat niet:</target> <source>Error parsing configuration file:</source> <target>Fout tijdens verwerking configuratiebestand:</target> -<source>Error writing file:</source> -<target>Fout tijdens schrijven van bestand:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Foutief FreeFileSync configuratiebestand!</target> <source>/sec</source> <target>/sec</target> <source> @@ -132,21 +148,27 @@ <pluralform>%x min</pluralform> </source> <target> +<pluralform>1 min</pluralform> +<pluralform>%x min</pluralform> </target> <source> <pluralform>1 hour</pluralform> <pluralform>%x hours</pluralform> </source> <target> +<pluralform>1 uur</pluralform> +<pluralform>%x uren</pluralform> </target> <source> <pluralform>1 day</pluralform> <pluralform>%x days</pluralform> </source> <target> +<pluralform>1 dag</pluralform> +<pluralform>%x dagen</pluralform> </target> <source>S&ave configuration...</source> -<target>S&la configuratie op...</target> +<target>Sl&a configuratie op...</target> <source>&Load configuration...</source> <target>&Laad configuratie...</target> <source>&Quit</source> @@ -207,8 +229,6 @@ De opdrachtregel wordt telkens uitgevoerd indien: <target>Observeren actief...</target> <source>Waiting for missing directories...</source> <target>Wacht op missende mappen...</target> -<source>Command line is empty!</source> -<target>Opdrachtregel is leeg!</target> <source>Could not initialize directory monitoring:</source> <target>Initaliseren van map-observatie niet mogelijk:</target> <source>A directory input field is empty.</source> @@ -249,12 +269,18 @@ De opdrachtregel wordt telkens uitgevoerd indien: <target>Fout tijdens kopiëren van bestand:</target> <source>Error opening file:</source> <target>Fout tijdens openen van bestand:</target> +<source>Error writing file:</source> +<target>Fout tijdens schrijven van bestand:</target> <source>Error reading file:</source> <target>Fout tijdens lezen van bestand:</target> <source>Endless loop when traversing directory:</source> <target>Oneindige lus bij het doorlopen van map:</target> <source>Error traversing directory:</source> <target>Fout tijdens doorzoeken van map:</target> +<source>Windows Error Code %x:</source> +<target>Windows Fout Code %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Fout Code %x:</target> <source>Error setting privilege:</source> <target>Fout tijdens instellen van privileges:</target> <source>Error moving to Recycle Bin:</source> @@ -279,18 +305,6 @@ De opdrachtregel wordt telkens uitgevoerd indien: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Kon geen waarden inlezen voor de volgende XML punten:</target> -<source>Show popup</source> -<target>Toon opspringvenster</target> -<source>Show popup on errors or warnings</source> -<target>Toon opspringvenster bij fouten of waarschuwingen</target> -<source>Ignore errors</source> -<target>Negeer foutmeldingen</target> -<source>Hide all error and warning messages</source> -<target>Verberg alle fout- en waarschuwingsberichten</target> -<source>Exit instantly</source> -<target>Sluit meteen af</target> -<source>Abort synchronization immediately</source> -<target>Stop synchronisatie onmiddelijk</target> <source>Logging</source> <target>Loggen</target> <source>FreeFileSync batch file</source> @@ -395,8 +409,8 @@ De opdrachtregel wordt telkens uitgevoerd indien: <target>Rechts</target> <source>Batch job</source> <target>Taaklijst</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Creëer een taakbestand voor automatische synchronisatie. Om in taakmodus te starten is het voldoende om de bestandsnaam achter de FreeFileSync toepassing te zetten: FreeFileSync.exe <taakbestand>. Het is ook mogelijk dit in de systeemtaakplanner in te plannen.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Creëer een taakbestand voor geautomatiseerde synchronisatie. Om te starten in taakmodus dubbelklik op het bestand of uitvoeren via opdrachtregel: FreeFileSync.exe <takenbestand>. Dit kan ook gepland worden met de taakplanner van uw OS.</target> <source>Help</source> <target>Help</target> <source>Configuration overview:</source> @@ -463,18 +477,18 @@ De opdrachtregel wordt telkens uitgevoerd indien: <target>Categorie</target> <source>Action</source> <target>Actie</target> -<source>Files/folders that exist on left side only</source> -<target>Bestanden/mappen die alleen aan de linkerzijde bestaan</target> -<source>Files/folders that exist on right side only</source> -<target>Bestanden/mappen die alleen aan de rechterzijde bestaan</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Bestanden die aan beide zijdes bestaan, maar waarvan de linkerzijde nieuwer is</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Bestanden die aan beide zijdes bestaan, maar waarvan de rechterzijde nieuwer is</target> -<source>Files that have different content</source> -<target>Bestanden die andere inhoud hebben</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflicten/bestanden die niet kunnen worden gecategoriseerd</target> +<source>File/folder exists on left side only</source> +<target>Bestand/Map bestaat alleen aan de linkerkant</target> +<source>File/folder exists on right side only</source> +<target>Bestand/Map bestaat alleen aan de rechterkant</target> +<source>Left file is newer</source> +<target>Linker bestand is nieuwer</target> +<source>Right file is newer</source> +<target>Rechter bestand is nieuwer</target> +<source>Files have different content</source> +<target>Bestanden hebben verschillende inhoud</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflict/Bestand kan niet worden gecategoriseerd</target> <source>Compare by...</source> <target>Vergelijk met...</target> <source> @@ -529,8 +543,8 @@ overeenkomt <target>- bestaat alleen links</target> <source>- exists right only</source> <target>- bestaat alleen rechts</target> -<source>- conflict</source> -<target>- conflict</target> +<source>- conflict (same date, different size)</source> +<target>- conflict (zelfde datum, verschillende grootte)</target> <source>Compare by "File content"</source> <target>Vergelijk met "bestandsinhoud"</target> <source> @@ -546,7 +560,7 @@ Zoals de naam suggereert worden twee bestanden met dezelfde naam alleen als geli <source>- different</source> <target>- verschillend</target> <source>Source code written in C++ utilizing:</source> -<target></target> +<target>Broncode geschreven in C++ met behulp van:</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> <target>Extra dank voor het vertalen van FreeFileSync gaat naar:</target> <source>Feedback and suggestions are welcome at:</source> @@ -591,7 +605,10 @@ Zoals de naam suggereert worden twee bestanden met dezelfde naam alleen als geli Only files/directories that match all filter settings will be selected for synchronization. Note: The name filter must be specified relative(!) to main synchronization directories. </source> -<target></target> +<target> +Alleen bestanden/mappen die overeenkomen met de filter instellingen worden geselecteerd voor synchronisatie. +Aantekening: De naam van de filter moet relatief gespecificeerd zijn (!) aan de hoofd synchronisatie map. +</target> <source>Hints:</source> <target>Tips:</target> <source>1. Enter relative file or directory names separated by ';' or a new line.</source> @@ -606,7 +623,10 @@ Note: The name filter must be specified relative(!) to main synchronization dire Include: *.doc;*.zip;*.exe Exclude: \stuff\temp\* </source> -<target></target> +<target> +Opnemen: *.doc;*.zip;*.exe +Uitsluiten: \stuff\temp\* +</target> <source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> <target>Synchroniseer alle .doc, .zip en .exe bestanden behalve wat in submap "temp" staat.</target> <source>Include</source> @@ -614,11 +634,11 @@ Exclude: \stuff\temp\* <source>Exclude</source> <target>Uitsluiten</target> <source>Select time span:</source> -<target></target> +<target>Slecteer tijdspanne:</target> <source>Minimum file size:</source> -<target></target> +<target>Minimum bestandsgrootte:</target> <source>Maximum file size:</source> -<target></target> +<target>Maximum bestandsgrootte:</target> <source>&Default</source> <target>&Standaard</target> <source>Move column up</source> @@ -691,10 +711,8 @@ Zet bestand en map permissies over <target><meervoudige selectie></target> <source>D-Click</source> <target>Dubbele klik</target> -<source>Copy to clipboard CTRL+C</source> -<target>Kopieer naar het klembord CTRL+C</target> -<source>Delete files DEL</source> -<target>Verwijder bestanden DEL</target> +<source>Delete</source> +<target>Verwijderen</target> <source>Customize...</source> <target>Aanpassen...</target> <source>Auto-adjust columns</source> @@ -786,24 +804,32 @@ Zet bestand en map permissies over <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Object succesvol verwijderd!</pluralform> +<pluralform>%x objecten succesvol verwijderd!</pluralform> </target> <source> <pluralform>1 directory</pluralform> <pluralform>%x directories</pluralform> </source> <target> +<pluralform>1 map</pluralform> +<pluralform>%x mappen</pluralform> </target> <source> <pluralform>1 file</pluralform> <pluralform>%x files</pluralform> </source> <target> +<pluralform>1 bestand</pluralform> +<pluralform>%x bestanden</pluralform> </target> <source> <pluralform>%x of 1 row in view</pluralform> <pluralform>%x of %y rows in view</pluralform> </source> <target> +<pluralform>%x van 1 rij in het overzicht</pluralform> +<pluralform>%x van %y rijen in het overzicht</pluralform> </target> <source>Scanning...</source> <target>Doorzoekt...</target> @@ -829,30 +855,26 @@ Zet bestand en map permissies over <target>bestand bestaat aan beide zijdes</target> <source>on one side only</source> <target>alleen aan één zijde</target> -<source>- left</source> -<target>- links</target> -<source>- right</source> -<target>- rechts</target> -<source>different</source> -<target>verschillend</target> -<source>- conflict (same date, different size)</source> -<target>- conflict (zelfde datum, verschillende grootte)</target> +<source>same date</source> +<target>dezelfde datum</target> +<source>different date</source> +<target>verschillende datum</target> <source>Inactive</source> -<target></target> +<target>Niet actief</target> <source>Second</source> -<target></target> +<target>Seconde</target> <source>Minute</source> -<target></target> +<target>Minuut</target> <source>Hour</source> -<target></target> +<target>Uur</target> <source>Day</source> -<target></target> +<target>Dag</target> <source>Byte</source> -<target></target> +<target>Byte</target> <source>KB</source> -<target></target> +<target>KB</target> <source>MB</source> -<target></target> +<target>MB</target> <source>Filter: All pairs</source> <target>Filter: Alle paren</target> <source>Filter: Single pair</source> @@ -880,12 +902,16 @@ Zet bestand en map permissies over <pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> </source> <target> +<pluralform>Weet u zeker dat u dit object naar de Prullenbak wil verplaatsen?</pluralform> +<pluralform>Weet u zeker dat u deze %x objecten naar de Prullenbak wil verplaatsen?</pluralform> </target> <source> <pluralform>Do you really want to delete the following object?</pluralform> <pluralform>Do you really want to delete the following %x objects?</pluralform> </source> <target> +<pluralform>Weet u zeker dat u dit object wilt verwijderen?</pluralform> +<pluralform>Weet u zeker dat u deze %x objecten wilt verwijderen?</pluralform> </target> <source>Leave as unresolved conflict</source> <target>Beschouw als onopgelost conflict</target> @@ -943,28 +969,28 @@ Zet bestand en map permissies over <target>Genereren van bestandslijst...</target> <source>Multiple...</source> <target>Meerdere...</target> -<source>Files that are equal on both sides</source> -<target>Bestanden die aan beide zijdes gelijk zijn</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Alleen gelijke bestanden/mappen die verschillen van attributen</target> -<source>Copy from right to left</source> -<target>Kopieer van rechts naar links</target> -<source>Copy from left to right</source> -<target>Kopieer van links naar rechts</target> -<source>Delete files/folders existing on left side only</source> -<target>Verwijder bestanden/mappen die alleen aan de linkerzijde voorkomen</target> -<source>Delete files/folders existing on right side only</source> -<target>Verwijder bestanden/mappen die alleen aan de rechterzijde voorkomen</target> -<source>Copy from right to left overwriting</source> -<target>Kopieer en overschrijf van rechts naar links</target> -<source>Copy from left to right overwriting</source> -<target>Kopieer en overschrijf van links naar rechts</target> +<source>Both sides are equal</source> +<target>Beide kanten zijn gelijk</target> +<source>Files/folders differ in attributes only</source> +<target>Bestanden/Mappen verschillen alleen in attributen</target> +<source>Copy new file/folder to left</source> +<target>Kopieer nieuw bestand/map naar links</target> +<source>Copy new file/folder to right</source> +<target>Kopieer nieuw bestand/map naar rechts</target> +<source>Delete left file/folder</source> +<target>Verwijder linker bestand/map</target> +<source>Delete right file/folder</source> +<target>Verwijder rechter bestand/map</target> +<source>Overwrite left file/folder with right one</source> +<target>Overschrijf linker bestand/map met de rechter</target> +<source>Overwrite right file/folder with left one</source> +<target>Overschrijf rechter bestand/map met de linker</target> <source>Do nothing</source> <target>Geen actie ondernemen</target> -<source>Copy attributes only from right to left</source> -<target>Kopieer attributen alleen van rechts naar links</target> -<source>Copy attributes only from left to right</source> -<target>Kopieer attributen alleen van links naar rechts</target> +<source>Copy file attributes only to left</source> +<target>Kopieer bestandsattributen alleen naar links</target> +<source>Copy file attributes only to right</source> +<target>Kopieer bestandsattributen allen naar rechts</target> <source>Deleting file %x</source> <target>Verwijderen van bestand %x</target> <source>Deleting Symbolic Link %x</source> @@ -995,10 +1021,12 @@ Zet bestand en map permissies over <target>Attributen bijwerken van %x</target> <source>Source directory does not exist anymore:</source> <target>Bronmap bestaat niet meer:</target> +<source>Generating database...</source> +<target>Genereren van database...</target> <source>Nothing to synchronize according to configuration!</source> <target>Volgens de configuratie hoeft er niets gesynchroniseerd te worden!</target> <source>Target directory name must not be empty!</source> -<target></target> +<target>Doel mapnaam mag niet leeg zijn!</target> <source>User-defined directory for deletion was not specified!</source> <target>De door de gebruiker gedefinieerde map ter verwijdering was niet opgegeven!</target> <source>Unresolved conflicts existing!</source> @@ -1019,8 +1047,6 @@ Zet bestand en map permissies over <target>Een map wordt bewerkt die deel is van meerdere mappen! Controleer de synchronisatie instellingen!</target> <source>Processing folder pair:</source> <target>Verwerking van gekoppelde mappen:</target> -<source>Generating database...</source> -<target>Genereren van database...</target> <source>Error copying locked file %x!</source> <target>Fout tijdens kopiëren van vergrendeld bestand %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/english_uk.lng b/BUILD/Languages/english_uk.lng index c323c26c..c2c776f9 100644 --- a/BUILD/Languages/english_uk.lng +++ b/BUILD/Languages/english_uk.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automated Synchronisation</target> <source>Browse</source> <target>Browse</target> +<source>Invalid commandline: "%x"</source> +<target>Invalid commandline: "%x"</target> <source>Error resolving symbolic link:</source> <target>Error resolving symbolic link:</target> +<source>Show popup</source> +<target>Show popup</target> +<source>Show popup on errors or warnings</source> +<target>Show popup on errors or warnings</target> +<source>Ignore errors</source> +<target>Ignore errors</target> +<source>Hide all error and warning messages</source> +<target>Hide all error and warning messages</target> +<source>Exit instantly</source> +<target>Exit instantly</target> +<source>Abort synchronization immediately</source> +<target>Abort synchronisation immediately</target> <source>Select alternate synchronization settings</source> <target>Select alternate synchronisation settings</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Fatal Error</target> +<source>Invalid FreeFileSync config file!</source> +<target>Invalid FreeFileSync config file!</target> <source>File does not exist:</source> <target>File does not exist:</target> <source>Error parsing configuration file:</source> <target>Error parsing configuration file:</target> -<source>Error writing file:</source> -<target>Error writing file:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Invalid FreeFileSync config file!</target> <source>/sec</source> <target>/sec</target> <source> @@ -217,8 +229,6 @@ The command line is executed each time: <target>Monitoring active...</target> <source>Waiting for missing directories...</source> <target>Waiting for missing directories...</target> -<source>Command line is empty!</source> -<target>Command line is empty!</target> <source>Could not initialize directory monitoring:</source> <target>Could not initialise directory monitoring:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ The command line is executed each time: <target>Error copying file:</target> <source>Error opening file:</source> <target>Error opening file:</target> +<source>Error writing file:</source> +<target>Error writing file:</target> <source>Error reading file:</source> <target>Error reading file:</target> <source>Endless loop when traversing directory:</source> <target>Endless loop when traversing directory:</target> <source>Error traversing directory:</source> <target>Error traversing directory:</target> +<source>Windows Error Code %x:</source> +<target>Windows Error Code %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Error Code %x:</target> <source>Error setting privilege:</source> <target>Error setting privilege:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Could not read values for the following XML nodes:</target> -<source>Show popup</source> -<target>Show popup</target> -<source>Show popup on errors or warnings</source> -<target>Show popup on errors or warnings</target> -<source>Ignore errors</source> -<target>Ignore errors</target> -<source>Hide all error and warning messages</source> -<target>Hide all error and warning messages</target> -<source>Exit instantly</source> -<target>Exit instantly</target> -<source>Abort synchronization immediately</source> -<target>Abort synchronisation immediately</target> <source>Logging</source> <target>Logging</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ The command line is executed each time: <target>Right</target> <source>Batch job</source> <target>Batch job</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Assemble a batch file for automated synchronisation. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Create a batch file for automated synchronisation. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</target> <source>Help</source> <target>Help</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ The command line is executed each time: <target>Category</target> <source>Action</source> <target>Action</target> -<source>Files/folders that exist on left side only</source> -<target>Files/folders that exist on left side only</target> -<source>Files/folders that exist on right side only</source> -<target>Files/folders that exist on right side only</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Files that exist on both sides, left one is newer</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Files that exist on both sides, right one is newer</target> -<source>Files that have different content</source> -<target>Files that have different content</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflicts/files that cannot be categorised</target> +<source>File/folder exists on left side only</source> +<target>File/folder exists on left side only</target> +<source>File/folder exists on right side only</source> +<target>File/folder exists on right side only</target> +<source>Left file is newer</source> +<target>Left file is newer</target> +<source>Right file is newer</source> +<target>Right file is newer</target> +<source>Files have different content</source> +<target>Files have different content</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflict/file cannot be categorised</target> <source>Compare by...</source> <target>Compare by...</target> <source> @@ -539,8 +543,8 @@ is the same <target>- exists left only</target> <source>- exists right only</source> <target>- exists right only</target> -<source>- conflict</source> -<target>- conflict</target> +<source>- conflict (same date, different size)</source> +<target>- conflict (same date, different size)</target> <source>Compare by "File content"</source> <target>Compare by "File content"</target> <source> @@ -707,10 +711,8 @@ Transfer file and directory permissions <target><multiple selection></target> <source>D-Click</source> <target>D-Click</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copy to clipboard CTRL+C</target> -<source>Delete files DEL</source> -<target>Delete files DEL</target> +<source>Delete</source> +<target>Delete</target> <source>Customize...</source> <target>Customise...</target> <source>Auto-adjust columns</source> @@ -802,6 +804,8 @@ Transfer file and directory permissions <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Object deleted successfully!</pluralform> +<pluralform>%x objects deleted successfully!</pluralform> </target> <source> <pluralform>1 directory</pluralform> @@ -851,14 +855,10 @@ Transfer file and directory permissions <target>file exists on both sides</target> <source>on one side only</source> <target>on one side only</target> -<source>- left</source> -<target>- left</target> -<source>- right</source> -<target>- right</target> -<source>different</source> -<target>different</target> -<source>- conflict (same date, different size)</source> -<target>- conflict (same date, different size)</target> +<source>same date</source> +<target>same date</target> +<source>different date</source> +<target>different date</target> <source>Inactive</source> <target>Inactive</target> <source>Second</source> @@ -969,28 +969,28 @@ Transfer file and directory permissions <target>Generating file list...</target> <source>Multiple...</source> <target>Multiple...</target> -<source>Files that are equal on both sides</source> -<target>Files that are equal on both sides</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Equal files/folders that differ in attributes only</target> -<source>Copy from right to left</source> -<target>Copy from right to left</target> -<source>Copy from left to right</source> -<target>Copy from left to right</target> -<source>Delete files/folders existing on left side only</source> -<target>Delete files/folders existing on left side only</target> -<source>Delete files/folders existing on right side only</source> -<target>Delete files/folders existing on right side only</target> -<source>Copy from right to left overwriting</source> -<target>Copy from right to left overwriting</target> -<source>Copy from left to right overwriting</source> -<target>Copy from left to right overwriting</target> +<source>Both sides are equal</source> +<target>Both sides are equal</target> +<source>Files/folders differ in attributes only</source> +<target>Files/folders differ in attributes only</target> +<source>Copy new file/folder to left</source> +<target>Copy new file/folder to left</target> +<source>Copy new file/folder to right</source> +<target>Copy new file/folder to right</target> +<source>Delete left file/folder</source> +<target>Delete left file/folder</target> +<source>Delete right file/folder</source> +<target>Delete right file/folder</target> +<source>Overwrite left file/folder with right one</source> +<target>Overwrite left file/folder with right one</target> +<source>Overwrite right file/folder with left one</source> +<target>Overwrite right file/folder with left one</target> <source>Do nothing</source> <target>Do nothing</target> -<source>Copy attributes only from right to left</source> -<target>Copy attributes only from right to left</target> -<source>Copy attributes only from left to right</source> -<target>Copy attributes only from left to right</target> +<source>Copy file attributes only to left</source> +<target>Copy file attributes only to left</target> +<source>Copy file attributes only to right</source> +<target>Copy file attributes only to right</target> <source>Deleting file %x</source> <target>Deleting file %x</target> <source>Deleting Symbolic Link %x</source> @@ -1021,6 +1021,8 @@ Transfer file and directory permissions <target>Updating attributes of %x</target> <source>Source directory does not exist anymore:</source> <target>Source directory does not exist anymore:</target> +<source>Generating database...</source> +<target>Generating database...</target> <source>Nothing to synchronize according to configuration!</source> <target>Nothing to synchronise according to configuration!</target> <source>Target directory name must not be empty!</source> @@ -1045,8 +1047,6 @@ Transfer file and directory permissions <target>A directory will be modified which is part of multiple folder pairs! Please review synchronisation settings!</target> <source>Processing folder pair:</source> <target>Processing folder pair:</target> -<source>Generating database...</source> -<target>Generating database...</target> <source>Error copying locked file %x!</source> <target>Error copying locked file %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/finnish.lng b/BUILD/Languages/finnish.lng index 20be9fe3..a0ddf34a 100644 --- a/BUILD/Languages/finnish.lng +++ b/BUILD/Languages/finnish.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automaattinen täsmäytys</target> <source>Browse</source> <target>Selaa</target> +<source>Invalid commandline: "%x"</source> +<target>Virheellinen komento: "%x"</target> <source>Error resolving symbolic link:</source> <target>Virhe selvittäessä symbolista linkkiä:</target> +<source>Show popup</source> +<target>Näytä Popup</target> +<source>Show popup on errors or warnings</source> +<target>Näytä virheet ja varoitukset Popupissa</target> +<source>Ignore errors</source> +<target>Älä huomioi virheitä</target> +<source>Hide all error and warning messages</source> +<target>Piilota kaikki virhe- ja varoitusviestit</target> +<source>Exit instantly</source> +<target>Poistu välittömästi</target> +<source>Abort synchronization immediately</source> +<target>Lopeta täsmäytys välittömästi</target> <source>Select alternate synchronization settings</source> <target>Valitse toiset asetukset täsmäytykselles</target> <source>No filter selected</source> @@ -70,7 +84,7 @@ <pluralform>%x tavua</pluralform> </target> <source><Symlink></source> -<target><Symlinkki></target> +<target><Pikakuvake></target> <source><Directory></source> <target><Hakemisto></target> <source>Size</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Kohtalokas virhe</target> +<source>Invalid FreeFileSync config file!</source> +<target>Virheellinen FreeFileSync asetustiedosto!</target> <source>File does not exist:</source> <target>Tiedosto puuttuu:</target> <source>Error parsing configuration file:</source> <target>Virhe jäsentäessä asetustiedostoa:</target> -<source>Error writing file:</source> -<target>Virhe kirjottaessa tiedostoa:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Virheellinen FreeFileSync asetustiedosto!</target> <source>/sec</source> <target>/s</target> <source> @@ -217,8 +229,6 @@ Komento suoritetaan kun: <target>Seuranta käynnissä...</target> <source>Waiting for missing directories...</source> <target>Odottaa puuttuvia hakemistoja...</target> -<source>Command line is empty!</source> -<target>Tyhjä komentokehoite!</target> <source>Could not initialize directory monitoring:</source> <target>Hakemiston tarkkailua ei voitu käynnistää:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ Komento suoritetaan kun: <target>Virhe kopioitaessa tiedostoa:</target> <source>Error opening file:</source> <target>Virhe avatessa tiedostoa:</target> +<source>Error writing file:</source> +<target>Virhe kirjottaessa tiedostoa:</target> <source>Error reading file:</source> <target>Virhe lukiessa tiedostoa:</target> <source>Endless loop when traversing directory:</source> <target>Suorita hakemiston läpikulku jatkuvana:</target> <source>Error traversing directory:</source> <target>Virhe hakemistoa läpikäydessä:</target> +<source>Windows Error Code %x:</source> +<target>Windows virhekoodi %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux virhekoodi %x:</target> <source>Error setting privilege:</source> <target>Virte oikeuksia asettaessa:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ Komento suoritetaan kun: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Tietoja lukeminen epäonnistui, XML jäsen:</target> -<source>Show popup</source> -<target>Näytä Popup</target> -<source>Show popup on errors or warnings</source> -<target>Näytä virheet ja varoitukset Popupissa</target> -<source>Ignore errors</source> -<target>Älä huomioi virheitä</target> -<source>Hide all error and warning messages</source> -<target>Piilota kaikki virhe- ja varoitusviestit</target> -<source>Exit instantly</source> -<target>Poistu välittömästi</target> -<source>Abort synchronization immediately</source> -<target>Lopeta täsmäytys välittömästi</target> <source>Logging</source> <target>Kirjaa</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ Komento suoritetaan kun: <target>Oikea</target> <source>Batch job</source> <target>Eräajo</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Luo komentotiedosto täsmäytyksen automaattiseen eräajoon. Käynnistä eräajo liittämällä FreeFileSync ohjelmalle komentotiedosto: FreeFileSync.exe <eräajotiedosto>. Tehtävän suoritusta voit ajoittaa käyttöjärjestelmän toimilla.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Luo automaattisen täsmäytyksen eräajotiedosto. Käynnistä se kaksois klikillä tai komennolla: FreeFileSync.exe <eräajotiedosto>. Käyttöjärjestelmän tehtävien ajoitustoiminnolla voit ajastaa suorittaminen.</target> <source>Help</source> <target>Ohje</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ Komento suoritetaan kun: <target>Luokka</target> <source>Action</source> <target>Suorita</target> -<source>Files/folders that exist on left side only</source> -<target>Tiedostoja/hakemistoja vain vasemmalla</target> -<source>Files/folders that exist on right side only</source> -<target>Tiedostoja/hakemistoja vain oikealla</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Tiedosto löytyy molemmilla puolilla, vasen on uudempi</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Tiedosto löytyy molemmilla puolilla, oikea on uudempi</target> -<source>Files that have different content</source> -<target>Tiedostoja joissa eri sisältö</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Ristiriita/tiedostoja joita ei voida luokitella</target> +<source>File/folder exists on left side only</source> +<target>Tiedosto/hakemisto löytyy vain vasemmalta</target> +<source>File/folder exists on right side only</source> +<target>Tiedosto/hakemisto löytyy vain vasemmalta</target> +<source>Left file is newer</source> +<target>Tiedosto vasemmalla on uudempi</target> +<source>Right file is newer</source> +<target>Tiedosto oikealla on uudempi</target> +<source>Files have different content</source> +<target>Tiedostojen sisältö on eri</target> +<source>Conflict/file cannot be categorized</source> +<target>Poikeaman/tiedoston luokittelu ei onnistu</target> <source>Compare by...</source> <target>Vertaile...</target> <source> @@ -514,7 +518,7 @@ on sama <source>File content</source> <target>Tiedoston sisältö</target> <source>Symbolic Link handling</source> -<target>Symlinkkien hallinta</target> +<target>Pikakuvakkeiden hallinta</target> <source>Synchronizing...</source> <target>Täsmäytetään...</target> <source>Elements processed:</source> @@ -539,8 +543,8 @@ on sama <target>- olemassa vain vasemmalla</target> <source>- exists right only</source> <target>- olemassa vain oikealla</target> -<source>- conflict</source> -<target>- eroavuus</target> +<source>- conflict (same date, different size)</source> +<target>- eroavuus (sama päivämäärä, eri koko)</target> <source>Compare by "File content"</source> <target>Vertaa: "tietosisältöä"</target> <source> @@ -662,11 +666,11 @@ Siirrä tiedosto- ja hekimisto-oikeuksia (Vaatii Järjestelmävalvojan oikeuksia) </target> <source>Hidden dialogs:</source> -<target>Piilodialogit:</target> +<target>Piiloitetut ikkunat:</target> <source>Reset</source> <target>Palauta</target> <source>Show hidden dialogs</source> -<target>Näytä piilodialogit</target> +<target>Näytä piiloitetut ikkunat</target> <source>External applications</source> <target>Ulkopuolinen sovellus</target> <source>Description</source> @@ -684,7 +688,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>You may try to synchronize remaining items again (WITHOUT having to re-compare)!</source> <target>Yritä täsmäytystä lopuille uudestaan (ILMAN uutta vertailua)!</target> <source>Batch file created successfully!</source> -<target>Eräajotiedosto luotu onnistuneesti!</target> +<target>Eräajotiedoston luonti onnistui!</target> <source>Main bar</source> <target>Päävalikko</target> <source>Folder pairs</source> @@ -698,7 +702,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Set direction:</source> <target>Aseta suunta:</target> <source>Exclude temporarily</source> -<target>Sulje pois tilapäisesti</target> +<target>Sulje pois, tilapäisesti</target> <source>Include temporarily</source> <target>Sisällytä tilapäisesti</target> <source>Exclude via filter:</source> @@ -706,11 +710,9 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source><multiple selection></source> <target><monivalinta></target> <source>D-Click</source> -<target>Klikkaa D</target> -<source>Copy to clipboard CTRL+C</source> -<target>Kopioi Leikepöydälle CTRL+C</target> -<source>Delete files DEL</source> -<target>Poista tiedostoja DEL</target> +<target>2*Klikkaa</target> +<source>Delete</source> +<target>Poista</target> <source>Customize...</source> <target>Sovita...</target> <source>Auto-adjust columns</source> @@ -718,7 +720,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Include all rows</source> <target>Sisällytä kaikki rivit</target> <source>Exclude all rows</source> -<target>Sulje pois kaikki rivit</target> +<target>Sulje pois, kaikki rivit</target> <source>Reset view</source> <target>Palauta näkymä</target> <source>Show "%x"</source> @@ -732,19 +734,19 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Configuration loaded!</source> <target>Asetukset ladattu!</target> <source>Hide files that exist on left side only</source> -<target>Piilota tiedostot jotka ovat vain vasemmalla</target> +<target>Piilota vain vasemmalla olevat tiedostot</target> <source>Show files that exist on left side only</source> <target>Näytä vain vasemmalla esiintyvät tiedostot</target> <source>Hide files that exist on right side only</source> -<target>Piilota tiedostot jotka ovat voin oikealla</target> +<target>Piilota vain oikealla olevat tiedostot</target> <source>Show files that exist on right side only</source> <target>Näytä vain oikealla esiintyvät tiedostot</target> <source>Hide files that are newer on left</source> -<target>Piilota tiedostot jotka ovat uudempia vasemmalla</target> +<target>Piilota vasemalla olevat uudemmat tiedostot</target> <source>Show files that are newer on left</source> -<target>Näytä uudemmat tiedostot vasemmalla</target> +<target>Näytä vasemmalla olevat uudemmat tiedostot</target> <source>Hide files that are newer on right</source> -<target>Piilota tiedostot jotka ovat uudempia oikealla</target> +<target>Piilota oikealla olevat uudemmat tiedostot</target> <source>Show files that are newer on right</source> <target>Näytä uudemmat tiedostot oikealla</target> <source>Hide files that are equal</source> @@ -760,31 +762,31 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Show conflicts</source> <target>Näytä ristiriidat</target> <source>Hide files that will be created on the left side</source> -<target>Piilota tiedostot jotka ovat luotu vasemmalla</target> +<target>Piilota tiedostot jotka luodaan vasemmalle</target> <source>Show files that will be created on the left side</source> <target>Näytä vasemmalle luotavat tiedostot</target> <source>Hide files that will be created on the right side</source> -<target>Piilota tiedostot jotka ovat luotu oikealla</target> +<target>Piilota tiedostot jotka luodaan oikealla</target> <source>Show files that will be created on the right side</source> <target>Näytä oikealle luotavat tiedostot</target> <source>Hide files that will be deleted on the left side</source> -<target>Piilota tiedostot jotka ovat poistettu vasemmalla</target> +<target>Piilota tiedostot jotka poistetaan vasemmalta</target> <source>Show files that will be deleted on the left side</source> -<target>Näytä vasemmalla poistettavat tiedostot</target> +<target>Näytä vasemmallta poistettavat tiedostot</target> <source>Hide files that will be deleted on the right side</source> -<target>Piilota tiedostot jotka ovat poistettu oikealla</target> +<target>Piilota tiedostot jotka poistetaan oikealta</target> <source>Show files that will be deleted on the right side</source> -<target>Näytä oikealla poistettavat tiedostot</target> +<target>Näytä oikealta poistettavat tiedostot</target> <source>Hide files that will be overwritten on left side</source> -<target>Piilota tiedostot jotka on ylikirjoitettu vasemmalla</target> +<target>Piilota tiedostot jotka ylikirjoitetaan vasemmalla</target> <source>Show files that will be overwritten on left side</source> <target>Näytä vasemmalla ylikirjoitettavat tiedostot</target> <source>Hide files that will be overwritten on right side</source> -<target>Piilota tiedostot jotka on ylikirjoitettu oikealla</target> +<target>Piilota tiedostot jotka ylikirjoitetaan oikealla</target> <source>Show files that will be overwritten on right side</source> <target>Näytä oikealla ylikirjoitettavat tiedostot</target> <source>Hide files that won't be copied</source> -<target>Piilota tiedostot jotka eivät kopioidu</target> +<target>Piilota tiedostot jotka eivät kopioida</target> <source>Show files that won't be copied</source> <target>Näytä kopioimatta jäävät tiedostot</target> <source>All directories in sync!</source> @@ -802,6 +804,8 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Kohde poistettu onnistuneesti!</pluralform> +<pluralform>%x kohdetta poistettu onnistuneesti!</pluralform> </target> <source> <pluralform>1 directory</pluralform> @@ -838,7 +842,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Completed</source> <target>Valmis</target> <source>Abort requested: Waiting for current operation to finish...</source> -<target>Ohjelma on lopetettava: Odotetaan toiminnon loppumista...</target> +<target>Keskeytys pyydetty: Odotetaan toiminnon loppumista...</target> <source>Continue</source> <target>Jatka</target> <source>Pause</source> @@ -851,14 +855,10 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <target>tiedosto löytyy molemmilla puolilla</target> <source>on one side only</source> <target>vain yhdellä puolella</target> -<source>- left</source> -<target>- vasen</target> -<source>- right</source> -<target>- oikea</target> -<source>different</source> -<target>erilaiset</target> -<source>- conflict (same date, different size)</source> -<target>- eroavuus (sama päivämäärä, eri koko)</target> +<source>same date</source> +<target>sama päiväys</target> +<source>different date</source> +<target>eri päiväys</target> <source>Inactive</source> <target>Lepotilassa</target> <source>Second</source> @@ -876,7 +876,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>MB</source> <target>MB</target> <source>Filter: All pairs</source> -<target>Suodata: kaikki parit</target> +<target>Suodata: Kaikki parit</target> <source>Filter: Single pair</source> <target>Suodata: Yksi pari</target> <source>Ignore</source> @@ -896,7 +896,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>- Other side's counterpart to %dir</source> <target>- Toisen puolen vastaavuus on %dir</target> <source>Restore all hidden dialogs?</source> -<target>Palauttetaanko kaikki piilodialoogit?</target> +<target>Palauta piiloitetut ikkunat?</target> <source> <pluralform>Do you really want to move the following object to the Recycle Bin?</pluralform> <pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> @@ -926,7 +926,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Move files into a time-stamped subdirectory</source> <target>Siirrä tiedostot aikaleimattuun hakemistoon</target> <source>Cannot determine sync-direction:</source> -<target>Täsmäytys suuntä tuntematon:</target> +<target>Tuntematon täsmäytys suunta:</target> <source>Filter settings have changed!</source> <target>Suodinasetukset muutettu!</target> <source>Both sides have changed since last synchronization!</source> @@ -938,7 +938,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Planned directory deletion is in conflict with its subdirectories and -files!</source> <target>Suunniteltu hakemiston poistaminen on ristiriidassa alihakemiston ja tiedostojen kanssa!</target> <source>Setting default synchronization directions: Old files will be overwritten with newer files.</source> -<target>Aseta oletu suunta täsmäytykselle: Vanhat tiedostot ylikirjoitetaan uudemilla tiedostoilla.</target> +<target>Aseta oletettu suunta täsmäytykselle: Vanhat tiedostot ylikirjoitetaan uudemilla tiedostoilla.</target> <source>The file does not contain a valid configuration:</source> <target>Asetustiedosto ei ole kelvollinen:</target> <source>Scanning:</source> @@ -946,7 +946,7 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Encoding extended time information: %x</source> <target>Tulkitaan laajennettua aikatietoa: %x</target> <source>You can ignore this error to consider the directory as empty.</source> -<target>Voit jättää tämä virhe huomiotta ja tulkita hakemisto tyhjäksi.</target> +<target>Jätää virhe huomiotta ja tulkitse hakemisto tyhjäksi.</target> <source>Directory does not exist:</source> <target>Puuttuva hakemisto:</target> <source>Directories are dependent! Be careful when setting up synchronization rules:</source> @@ -960,81 +960,83 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <source>Conflict detected:</source> <target>Ristiriita todettu:</target> <source>Files %x have the same date but a different size!</source> -<target>Tiedostot %x samalta päivältä mutta koko poikkeaa!</target> +<target>Tiedostoilla %x on sama päiväys mutta eri koko!</target> <source>Symlinks %x have the same date but a different target!</source> -<target>Symlinkki %x samalta päivältä mutta kohde on toinen!</target> +<target>Pikakuvakkeilla %x on sama päiväys mutta kohde on toinen!</target> <source>Comparing files by content failed.</source> <target>Tietosisällön vertailu epäonnistui.</target> <source>Generating file list...</source> <target>Luodaan tiedostolista...</target> <source>Multiple...</source> <target>Moninkertainen...</target> -<source>Files that are equal on both sides</source> -<target>Tiedosto sama molemmilla puolilla</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Tiedostot/hakemistot ovat samat, ominaisuudet poikkeavat</target> -<source>Copy from right to left</source> -<target>Kopioidaan oikea -> vasen</target> -<source>Copy from left to right</source> -<target>Kopioidaan vasen -> oikea</target> -<source>Delete files/folders existing on left side only</source> -<target>Poista vain tiedostoja/hakemistoja vasemmalta</target> -<source>Delete files/folders existing on right side only</source> -<target>Poista vain tiedostoja/hakemistoja oikealta</target> -<source>Copy from right to left overwriting</source> -<target>Kopioidaan oikea -> vasen ylikirjoittaen</target> -<source>Copy from left to right overwriting</source> -<target>Kopioidaan vasen -> oikea ylikirjoittaen</target> +<source>Both sides are equal</source> +<target>Puolet ovat denttiset</target> +<source>Files/folders differ in attributes only</source> +<target>Tiedostot/hakemistot eroavat vain ominaisuuksissa</target> +<source>Copy new file/folder to left</source> +<target>Kopioi uusi tiedosto/hakemisto vasemmalle</target> +<source>Copy new file/folder to right</source> +<target>Kopioi uusi tiedosto/hakemisto oikealle</target> +<source>Delete left file/folder</source> +<target>Poista tiedosto/hakemisto vasemmalta</target> +<source>Delete right file/folder</source> +<target>Poista tiedosto/hakemisto oikealta</target> +<source>Overwrite left file/folder with right one</source> +<target>Ylikirjoita oikea tiedosto/hakemista vasemanpuolisella</target> +<source>Overwrite right file/folder with left one</source> +<target>Ylikirjoita vasen tiedosto/hakemista oikeannpuolisella</target> <source>Do nothing</source> <target>Älä tee mitään</target> -<source>Copy attributes only from right to left</source> -<target>Monista vain ominaisuudet oikea -> vasen</target> -<source>Copy attributes only from left to right</source> -<target>Monista vain ominaisuudet vasen -> oikea</target> +<source>Copy file attributes only to left</source> +<target>Monista tiedosto-ominaisuudet vasemmalle</target> +<source>Copy file attributes only to right</source> +<target>Monista tiedosto-ominaisuudet oikealle</target> <source>Deleting file %x</source> <target>Poista tiedosto %x</target> <source>Deleting Symbolic Link %x</source> -<target>Poista Symlinkki %x</target> +<target>Poista pikakuvake %x</target> <source>Deleting folder %x</source> <target>Poista hakemisto %x</target> <source>Moving %x to Recycle Bin</source> <target>Siirrä %x Roskakoriin</target> <source>Moving file %x to user-defined directory %y</source> -<target>Siirretään tiedostoa %x valittuun hakemistoon %y</target> +<target>Siirretään tiedostoa %x haluttuun hakemistoon %y</target> <source>Moving folder %x to user-defined directory %y</source> -<target>Siirrä hakemisto %x valittuun hakemistoon %y</target> +<target>Siirrä hakemisto %x haluttuun hakemistoon %y</target> <source>Moving Symbolic Link %x to user-defined directory %y</source> -<target>Siirrä Symlinkki %x valittuun hakemistoon %y</target> +<target>Siirrä pikakuvake %x haluttuun hakemistoon %y</target> <source>Copying new file %x to %y</source> <target>Kopioi uusi tiedosto %x -> %y</target> <source>Copying new Symbolic Link %x to %y</source> -<target>Kopioi uusi Symlinkki %x -> %y</target> +<target>Kopioi uusi pikakuvake %x -> %y</target> <source>Overwriting file %x in %y</source> <target>Ylikirjoita tiedosto %x kohdassa %y</target> <source>Overwriting Symbolic Link %x in %y</source> -<target>Ylikirjoita Symlinkki %x kohdassa %y</target> +<target>Ylikirjoita pikakuvake %x kohdassa %y</target> <source>Creating folder %x</source> <target>Luo hakemisto %x</target> <source>Verifying file %x</source> -<target>Tarkistan tiedosto %x</target> +<target>Tarkistan tiedostoa %x</target> <source>Updating attributes of %x</source> -<target>Päivita %x:n ominaisuudet</target> +<target>Päivitän %x:n ominaisuudet</target> <source>Source directory does not exist anymore:</source> <target>Lähdehakemisto puuttuu:</target> +<source>Generating database...</source> +<target>Luodaan tietokantaa...</target> <source>Nothing to synchronize according to configuration!</source> -<target>Asetusten mukaan ei löydy täsmäytettävää !</target> +<target>Asetusten mukaan ei löydy täsmäytettävää!</target> <source>Target directory name must not be empty!</source> <target>Kohdehakemisto ei saa olla tyhjä!</target> <source>User-defined directory for deletion was not specified!</source> -<target>Hakemistoa ei valittu poistolle!</target> +<target>Poistolle ei ole valittu hakemistoa!</target> <source>Unresolved conflicts existing!</source> -<target>Ratkaisemattomia poikkeamia!</target> +<target>Ratkaisemattomia ristiriitoja!</target> <source>You can ignore conflicts and continue synchronization.</source> -<target>Voit jatkaa poikkeamista huolimatta täsmäytystä.</target> +<target>Voit jatkaa täsmäytystä, ristiriidoista huolimatta.</target> <source>Significant difference detected:</source> -<target>Merkittävä eroavaisuus todettu:</target> +<target>Merkittävä eroavavuus todettu:</target> <source>More than 50% of the total number of files will be copied or deleted!</source> -<target>Enemmän kuin 50% tiedostoista kopioidaan tai poistetaan!</target> +<target>Yli 50% tiedostoista kopioidaan tai poistetaan!</target> <source>Not enough free disk space available in:</source> <target>Levytila ei riitä:</target> <source>Free disk space required:</source> @@ -1045,8 +1047,6 @@ Siirrä tiedosto- ja hekimisto-oikeuksia <target>Moniosaisen hakemistoparin hakemisto muutetaan! Tarkista täsmäytys asetuksia!</target> <source>Processing folder pair:</source> <target>Käsitellään hakemistoparia:</target> -<source>Generating database...</source> -<target>Luodaan tietokantaa...</target> <source>Error copying locked file %x!</source> <target>Virhe kopioitaessa lukittua tiedostoa %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/french.lng b/BUILD/Languages/french.lng index 1f1e280e..261503f3 100644 --- a/BUILD/Languages/french.lng +++ b/BUILD/Languages/french.lng @@ -12,13 +12,27 @@ <source>Open with default application</source> <target>Ouvrir avec l'application par défaut</target> <source>Browse directory</source> -<target>Prcourir le répertoire</target> +<target>Parcourir le répertoire</target> <source>RealtimeSync - Automated Synchronization</source> <target>RealtimeSync - Synchronisation Automatisée</target> <source>Browse</source> <target>Parcourir</target> +<source>Invalid commandline: "%x"</source> +<target>Ligne de commande invalide: "%x"</target> <source>Error resolving symbolic link:</source> <target>Erreur lors de la résolution du lien symbolique :</target> +<source>Show popup</source> +<target>Afficher la boîte de dialogue</target> +<source>Show popup on errors or warnings</source> +<target>Affiche la boîte de dialogue pour chaque erreur ou avertissement</target> +<source>Ignore errors</source> +<target>Ignorer les erreurs</target> +<source>Hide all error and warning messages</source> +<target>Masquer tous les messages d'erreurs et les avertissements</target> +<source>Exit instantly</source> +<target>Sortie immédiate</target> +<source>Abort synchronization immediately</source> +<target>Abandon immédiat de la synchronisation</target> <source>Select alternate synchronization settings</source> <target>Sélectionner une autre configuration de la synchronisation</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Erreur Fatale</target> +<source>Invalid FreeFileSync config file!</source> +<target>Fichier de configuration FreeFileSync invalide !</target> <source>File does not exist:</source> <target>Le fichier n'existe pas :</target> <source>Error parsing configuration file:</source> <target>Erreur lors de l'analyse du fichier de configuration :</target> -<source>Error writing file:</source> -<target>Erreur lors de l'écriture du fichier :</target> -<source>Invalid FreeFileSync config file!</source> -<target>Fichier de configuration FreeFileSync invalide !</target> <source>/sec</source> <target>/sec</target> <source> @@ -217,8 +229,6 @@ La ligne de commande est exécutée chaque fois que : <target>Surveillance en cours...</target> <source>Waiting for missing directories...</source> <target>En attente des répertoires absents ...</target> -<source>Command line is empty!</source> -<target>La ligne de commande est vide !</target> <source>Could not initialize directory monitoring:</source> <target>Impossible d'initialiser la surveillance des dossiers :</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ La ligne de commande est exécutée chaque fois que : <target>Erreur lors de la copie du fichier :</target> <source>Error opening file:</source> <target>Erreur lors de l'ouverture du fichier :</target> +<source>Error writing file:</source> +<target>Erreur lors de l'écriture du fichier :</target> <source>Error reading file:</source> <target>Erreur lors de la lecture du fichier :</target> <source>Endless loop when traversing directory:</source> <target>Boucle sans fin lors du parcours du répertoire :</target> <source>Error traversing directory:</source> <target>Erreur lors du parcours du répertoire :</target> +<source>Windows Error Code %x:</source> +<target>Code erreur Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Code erreur Linux %x:</target> <source>Error setting privilege:</source> <target>Erreur de paramétrage de privilège</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ La ligne de commande est exécutée chaque fois que : <target>%x %</target> <source>Could not read values for the following XML nodes:</source> <target>Impossible de lire les valeurs des noeuds XML suivants :</target> -<source>Show popup</source> -<target>Afficher la boîte de dialogue</target> -<source>Show popup on errors or warnings</source> -<target>Affiche la boîte de dialogue pour chaque erreur ou avertissement</target> -<source>Ignore errors</source> -<target>Ignorer les erreurs</target> -<source>Hide all error and warning messages</source> -<target>Masquer tous les messages d'erreurs et les avertissements</target> -<source>Exit instantly</source> -<target>Sortie immédiate</target> -<source>Abort synchronization immediately</source> -<target>Abandon immédiat de la synchronisation</target> <source>Logging</source> <target>Connexion</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ La ligne de commande est exécutée chaque fois que : <target>Droite</target> <source>Batch job</source> <target>Fichier de commandes</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Crée un fichier de traitement par lots pour une synchronisation automatique. Pour démarrer en mode de traitement par lots, indiquer le nom du fichier à l'exécutable FreeFileSync : freefilesync.exe <fichier de commandes>. Ceci peut aussi être programmé dans le plannificateur de tâches.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Créer un fichier de commandes pour la synchronisation automatique. Pour démarrer en mode batch il suffit de double-cliquez sur le fichier de commandes ou d'exécuter en ligne de commande: FreeFileSync.exe <fichier de commandes>. Vous pouvez aussi le programmer à l'aide du planificateur de tâches de votre système d'exploitation.</target> <source>Help</source> <target>Aide</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ La ligne de commande est exécutée chaque fois que : <target>Catégorie</target> <source>Action</source> <target>Action</target> -<source>Files/folders that exist on left side only</source> -<target>Fichiers/répertoires existant seulement à gauche</target> -<source>Files/folders that exist on right side only</source> -<target>Fichiers/répertoires existant seulement à droite</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Fichiers existants des deux côtés, celui de gauche est plus récent</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Fichiers existants des deux côtés, celui de droite est plus récent</target> -<source>Files that have different content</source> -<target>Fichiers ayant un contenu différent</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflits/fichiers ne pouvant être catégorisés</target> +<source>File/folder exists on left side only</source> +<target>Fichier/Dossier existant seulement à gauche</target> +<source>File/folder exists on right side only</source> +<target>Fichier/Dossier existant seulement à droite</target> +<source>Left file is newer</source> +<target>Le fichier à gauche est nouveau</target> +<source>Right file is newer</source> +<target>Le fichier à droite est nouveau</target> +<source>Files have different content</source> +<target>Les fichiers ont un contenu différent</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflit ou fichier indéterminé</target> <source>Compare by...</source> <target>Comparaison par...</target> <source> @@ -539,8 +543,8 @@ est identique <target>- le fichier existe seulement à gauche</target> <source>- exists right only</source> <target>- le fichier existe seulement à droite</target> -<source>- conflict</source> -<target>- conflit</target> +<source>- conflict (same date, different size)</source> +<target>- conflit (même date, taille différente)</target> <source>Compare by "File content"</source> <target>Comparaison par "Contenu des fichiers"</target> <source> @@ -707,10 +711,8 @@ Transfert des attributs système des fichiers et des répertoires <target><sélection multiple></target> <source>D-Click</source> <target>Clic Droit</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copier dans le presse-papiers CTRL+C</target> -<source>Delete files DEL</source> -<target>Suppression des fichiers DEL</target> +<source>Delete</source> +<target>Supprimer</target> <source>Customize...</source> <target>Personnaliser...</target> <source>Auto-adjust columns</source> @@ -802,6 +804,8 @@ Transfert des attributs système des fichiers et des répertoires <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Objet supprimé avec suucès!</pluralform> +<pluralform>%x objets supprimés avec succès!</pluralform> </target> <source> <pluralform>1 directory</pluralform> @@ -851,14 +855,10 @@ Transfert des attributs système des fichiers et des répertoires <target>le fichier existe des deux côtés</target> <source>on one side only</source> <target>le fichier existe d'un seul côté seulement</target> -<source>- left</source> -<target>- à gauche</target> -<source>- right</source> -<target>- à droite</target> -<source>different</source> -<target>fichiers différents</target> -<source>- conflict (same date, different size)</source> -<target>- conflit (même date, taille différente)</target> +<source>same date</source> +<target>même date</target> +<source>different date</source> +<target>date différente</target> <source>Inactive</source> <target>Inactif</target> <source>Second</source> @@ -969,28 +969,28 @@ Transfert des attributs système des fichiers et des répertoires <target>Génération de la liste des fichiers...</target> <source>Multiple...</source> <target>Multiple...</target> -<source>Files that are equal on both sides</source> -<target>Fichiers identiques des deux côtés</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Fichiers/Dossiers identiques dont seuls les attributs diffèrent</target> -<source>Copy from right to left</source> -<target>Copie de droite à gauche</target> -<source>Copy from left to right</source> -<target>Copie de gauche à droite</target> -<source>Delete files/folders existing on left side only</source> -<target>Suppression des fichiers/dossiers n'existant que sur le côté gauche</target> -<source>Delete files/folders existing on right side only</source> -<target>Suppression des fichiers/dossiers n'existant que sur le côté droit</target> -<source>Copy from right to left overwriting</source> -<target>Copie de droite à gauche avec remplacement</target> -<source>Copy from left to right overwriting</source> -<target>Copie de gauche à droite avec remplacement</target> +<source>Both sides are equal</source> +<target>Les deux cotés sont identiques</target> +<source>Files/folders differ in attributes only</source> +<target>Fichiers/Dossiers différant seulement par leurs attributs</target> +<source>Copy new file/folder to left</source> +<target>Copier les nouveaux fichiers/dossiers à gauche</target> +<source>Copy new file/folder to right</source> +<target>Copier les nouveaux fichiers/dossiers à droite</target> +<source>Delete left file/folder</source> +<target>Supprimer les fichiers/dossiers de gauche</target> +<source>Delete right file/folder</source> +<target>Supprimer les fichiers/dossiers de droite</target> +<source>Overwrite left file/folder with right one</source> +<target>Remplacer le fichier/dossier de gauche avec celui de droite</target> +<source>Overwrite right file/folder with left one</source> +<target>Remplacer le fichier/dossier de droite avec celui de gauche</target> <source>Do nothing</source> <target>Ne rien faire</target> -<source>Copy attributes only from right to left</source> -<target>Copier uniquement les attributs de droite à gauche</target> -<source>Copy attributes only from left to right</source> -<target>Copier uniquement les attributs de gauche à droite</target> +<source>Copy file attributes only to left</source> +<target>Copier seulement les attributs du fichier à gauche</target> +<source>Copy file attributes only to right</source> +<target>Copier seulement les attributs du fichier à droite</target> <source>Deleting file %x</source> <target>Suppression du fichier %x</target> <source>Deleting Symbolic Link %x</source> @@ -1021,6 +1021,8 @@ Transfert des attributs système des fichiers et des répertoires <target>Mise à jour des attributs de %x</target> <source>Source directory does not exist anymore:</source> <target>Le répertoire source n'existe plus :</target> +<source>Generating database...</source> +<target>Génération de la base de données...</target> <source>Nothing to synchronize according to configuration!</source> <target>Rien à synchroniser dans cette configuration !</target> <source>Target directory name must not be empty!</source> @@ -1045,8 +1047,6 @@ Transfert des attributs système des fichiers et des répertoires <target>Un répertoire faisant partie de paires multiples doit être modifié ! Vérifiez les paramètres de la synchronisation !</target> <source>Processing folder pair:</source> <target>Traitement de la paire de dossiers :</target> -<source>Generating database...</source> -<target>Génération de la base de données...</target> <source>Error copying locked file %x!</source> <target>Erreur lors de la copie du fichier verrouillé %x !</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/german.lng b/BUILD/Languages/german.lng index 2070aae1..fa8031f9 100644 --- a/BUILD/Languages/german.lng +++ b/BUILD/Languages/german.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automatisierte Synchronisation</target> <source>Browse</source> <target>Auswählen</target> +<source>Invalid commandline: "%x"</source> +<target>Ungültige Befehlszeile: "%x"</target> <source>Error resolving symbolic link:</source> <target>Fehler beim Auflösen des Symbolischen Links:</target> +<source>Show popup</source> +<target>Popup zeigen</target> +<source>Show popup on errors or warnings</source> +<target>Ein Auswahlfenster bei Fehlern oder Warnungen anzeigen</target> +<source>Ignore errors</source> +<target>Fehler ignorieren</target> +<source>Hide all error and warning messages</source> +<target>Alle Fehler- und Warnmeldungen unterdrücken</target> +<source>Exit instantly</source> +<target>Sofort beenden</target> +<source>Abort synchronization immediately</source> +<target>Synchronisation sofort abbrechen</target> <source>Select alternate synchronization settings</source> <target>Alternative Synchronisationseinstellungen auswählen</target> <source>No filter selected</source> @@ -127,8 +141,6 @@ <target>Die Datei existiert nicht:</target> <source>Error parsing configuration file:</source> <target>Fehler beim Auswerten der Konfigurationsdatei:</target> -<source>Error writing file:</source> -<target>Fehler beim Schreiben der Datei:</target> <source>/sec</source> <target>/s</target> <source> @@ -217,8 +229,6 @@ Die Befehlszeile wird ausgeführt wenn: <target>Ãœberwachung aktiv...</target> <source>Waiting for missing directories...</source> <target>Warte auf fehlende Verzeichnisse...</target> -<source>Command line is empty!</source> -<target>Die Befehlszeile ist leer!</target> <source>Could not initialize directory monitoring:</source> <target>Die Verzeichnisüberwachung konnte nicht gestartet werden:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ Die Befehlszeile wird ausgeführt wenn: <target>Fehler beim Kopieren der Datei:</target> <source>Error opening file:</source> <target>Fehler beim Öffnen der Datei:</target> +<source>Error writing file:</source> +<target>Fehler beim Schreiben der Datei:</target> <source>Error reading file:</source> <target>Fehler beim Lesen der Datei:</target> <source>Endless loop when traversing directory:</source> <target>Endlosschleife beim Lesen des Verzeichnisses:</target> <source>Error traversing directory:</source> <target>Fehler beim Durchsuchen des Verzeichnisses:</target> +<source>Windows Error Code %x:</source> +<target>Windows Fehlercode %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Fehlercode %x:</target> <source>Error setting privilege:</source> <target>Fehler beim Setzen des Privilegs:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ Die Befehlszeile wird ausgeführt wenn: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Die folgenden XML Knoten konnten nicht gelesen werden:</target> -<source>Show popup</source> -<target>Popup zeigen</target> -<source>Show popup on errors or warnings</source> -<target>Ein Auswahlfenster bei Fehlern oder Warnungen anzeigen</target> -<source>Ignore errors</source> -<target>Fehler ignorieren</target> -<source>Hide all error and warning messages</source> -<target>Alle Fehler- und Warnmeldungen unterdrücken</target> -<source>Exit instantly</source> -<target>Sofort beenden</target> -<source>Abort synchronization immediately</source> -<target>Synchronisation sofort abbrechen</target> <source>Logging</source> <target>Protokoll</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ Die Befehlszeile wird ausgeführt wenn: <target>Rechts</target> <source>Batch job</source> <target>Batch-Job</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Erzeuge eine Batchdatei für die automatisierte Synchronisation. Um den Batch-Modus zu starten, muss nur der Dateiname an die Programmdatei übergeben werden: FreeFileSync.exe <Batchdatei>. Dies kann auch in den Taskplaner des Betriebssystems eingetragen werden.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Erzeuge eine Batchdatei für die automatisierte Synchronisation. Um den Batch-Modus zu starten, einfach auf die Datei doppelklicken oder über die Befehlszeile ausführen: FreeFileSync.exe <Batchdatei>. Dies kann auch in den Taskplaner des Betriebssystems eingetragen werden.</target> <source>Help</source> <target>Hilfe</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ Die Befehlszeile wird ausgeführt wenn: <target>Kategorie</target> <source>Action</source> <target>Aktion</target> -<source>Files/folders that exist on left side only</source> -<target>Nur links exisitierende Dateien/Verzeichnisse</target> -<source>Files/folders that exist on right side only</source> -<target>Nur rechts exisitierende Dateien/Verzeichnisse</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Auf beiden Seiten existierende Dateien; linke Datei ist neuer</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Auf beiden Seiten existierende Dateien; rechte Datei ist neuer</target> -<source>Files that have different content</source> -<target>Dateien mit verschiedenem Inhalt</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Konflikte/Dateien, die nicht eingeordnet werden können</target> +<source>File/folder exists on left side only</source> +<target>Datei/Ordner existiert nur links</target> +<source>File/folder exists on right side only</source> +<target>Datei/Ordner existiert nur rechts</target> +<source>Left file is newer</source> +<target>Linke Datei ist neuer</target> +<source>Right file is newer</source> +<target>Rechte Datei ist neuer</target> +<source>Files have different content</source> +<target>Dateien haben unterschiedlichen Inhalt</target> +<source>Conflict/file cannot be categorized</source> +<target>Konflikt/Datei, die nicht eingeordnet werden kann</target> <source>Compare by...</source> <target>Vergleichen nach...</target> <source> @@ -707,10 +711,8 @@ Transfer file and directory permissions <target><Mehrfachauswahl></target> <source>D-Click</source> <target>D-Klick</target> -<source>Copy to clipboard CTRL+C</source> -<target>In die Zwischenablage kopieren Strg+C</target> -<source>Delete files DEL</source> -<target>Dateien löschen Entf</target> +<source>Delete</source> +<target>Löschen</target> <source>Customize...</source> <target>Anpassen...</target> <source>Auto-adjust columns</source> @@ -854,9 +856,9 @@ Transfer file and directory permissions <source>on one side only</source> <target>nur auf einer Seite</target> <source>same date</source> -<target></target> +<target>gleiches Datum</target> <source>different date</source> -<target></target> +<target>unterschiedliches Datum</target> <source>Inactive</source> <target>Inaktiv</target> <source>Second</source> @@ -967,28 +969,28 @@ Transfer file and directory permissions <target>Erzeuge Dateiliste...</target> <source>Multiple...</source> <target>Verschiedene...</target> -<source>Files that are equal on both sides</source> -<target>Auf beiden Seiten gleiche Dateien</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Gleiche Dateien/Verzeichnisse mit unterschiedlichen Attributen</target> -<source>Copy from right to left</source> -<target>Von rechts nach links kopieren</target> -<source>Copy from left to right</source> -<target>Von links nach rechts kopieren</target> -<source>Delete files/folders existing on left side only</source> -<target>Nur links existierende Dateien/Verzeichnisse löschen</target> -<source>Delete files/folders existing on right side only</source> -<target>Nur rechts existierende Dateien/Verzeichnisse löschen</target> -<source>Copy from right to left overwriting</source> -<target>Von rechts nach links kopieren und überschreiben</target> -<source>Copy from left to right overwriting</source> -<target>Von links nach rechts kopieren und überschreiben</target> +<source>Both sides are equal</source> +<target>Beide Seiten sind gleich</target> +<source>Files/folders differ in attributes only</source> +<target>Dateien/Ordner unterscheiden sich nur in Attributen</target> +<source>Copy new file/folder to left</source> +<target>Kopiere neue Datei nach links</target> +<source>Copy new file/folder to right</source> +<target>Kopiere neue Datei nach rechts</target> +<source>Delete left file/folder</source> +<target>Lösche linke Datei</target> +<source>Delete right file/folder</source> +<target>Lösche rechte Datei</target> +<source>Overwrite left file/folder with right one</source> +<target>Ãœberschreibe linke Datei mit rechter</target> +<source>Overwrite right file/folder with left one</source> +<target>Ãœberschreibe rechte Datei mit linker</target> <source>Do nothing</source> <target>Nichts tun</target> -<source>Copy attributes only from right to left</source> -<target>Nur Attribute von rechts nach links kopieren</target> -<source>Copy attributes only from left to right</source> -<target>Nur Attribute von links nach rechts kopieren</target> +<source>Copy file attributes only to left</source> +<target>Kopiere nur die Dateiattribute nach links</target> +<source>Copy file attributes only to right</source> +<target>Kopiere nur die Dateiattribute nach rechts</target> <source>Deleting file %x</source> <target>Lösche Datei %x</target> <source>Deleting Symbolic Link %x</source> @@ -1019,6 +1021,8 @@ Transfer file and directory permissions <target>Aktualisiere Attribute von %x</target> <source>Source directory does not exist anymore:</source> <target>Quellverzeichnis existiert nicht mehr:</target> +<source>Generating database...</source> +<target>Erzeuge Synchronisationsdatenbank...</target> <source>Nothing to synchronize according to configuration!</source> <target>Nichts zu synchronisieren gemäß den aktuellen Einstellungen!</target> <source>Target directory name must not be empty!</source> @@ -1043,8 +1047,6 @@ Transfer file and directory permissions <target>Es wird ein Verzeichnis verändert werden, das Teil mehrerer Verzeichnispaare ist! Bitte die Synchronisationseinstellungen prüfen!</target> <source>Processing folder pair:</source> <target>Bearbeite Verzeichnispaar:</target> -<source>Generating database...</source> -<target>Erzeuge Synchronisationsdatenbank...</target> <source>Error copying locked file %x!</source> <target>Fehler beim Kopieren der gesperrten Datei %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/greek.lng b/BUILD/Languages/greek.lng index 70fbe807..5cd4ca4c 100644 --- a/BUILD/Languages/greek.lng +++ b/BUILD/Languages/greek.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - ΑυτοματοποιημÎνος ΣυγχÏονισμός</target> <source>Browse</source> <target>Αναζήτηση</target> +<source>Invalid commandline: "%x"</source> +<target>ΕσφαλμÎνη εντολή: "%x"</target> <source>Error resolving symbolic link:</source> <target>Σφάλμα κατά την επίλυση του ÏƒÏ…Î¼Î²Î¿Î»Î¹ÎºÎ¿Ï Î´ÎµÏƒÎ¼Î¿Ï:</target> +<source>Show popup</source> +<target>Εμφάνιση αναδυόμενου παÏάθυÏου</target> +<source>Show popup on errors or warnings</source> +<target>Εμφάνιση αναδυόμενου παÏάθυÏου σε σφάλματα ή Ï€Ïοειδοποιήσεις</target> +<source>Ignore errors</source> +<target>ΠαÏάβλεψη των σφαλμάτων</target> +<source>Hide all error and warning messages</source> +<target>ΑπόκÏυψη όλων των σφαλμάτων και Ï€Ïοειδοποιήσεων</target> +<source>Exit instantly</source> +<target>Άμεση Îξοδος</target> +<source>Abort synchronization immediately</source> +<target>Άμεση ματαίωση του συγχÏονισμοÏ</target> <source>Select alternate synchronization settings</source> <target>Επιλογή διαφοÏοποιημÎνων Ïυθμίσεων συγχÏονισμοÏ</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>ΠληÏοφοÏίες</target> <source>Fatal Error</source> <target>Σημαντικό Σφάλμα</target> +<source>Invalid FreeFileSync config file!</source> +<target>Το αÏχείο διάταξης του FreeFileSync δεν είναι ÎγκυÏο!</target> <source>File does not exist:</source> <target>Το αÏχείο δεν υπάÏχει:</target> <source>Error parsing configuration file:</source> <target>Σφάλμα κατά την ανάλυση του αÏχείου διάταξης:</target> -<source>Error writing file:</source> -<target>Σφάλμα κατά την εγγÏαφή του αÏχείου:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Μη ÎγκυÏο αÏχείο διάταξης του FreeFileSync!</target> <source>/sec</source> <target>/δευτεÏόλεπτο</target> <source> @@ -217,8 +229,6 @@ The command line is executed each time: <target>ΕνεÏγή παÏακολοÏθηση...</target> <source>Waiting for missing directories...</source> <target>Αναμονή για τους υποκαταλόγους που απουσιάζουν...</target> -<source>Command line is empty!</source> -<target>Η γÏαμμή εντολών είναι κενή!</target> <source>Could not initialize directory monitoring:</source> <target>Δεν ήταν δυνατό να γίνει ÎναÏξη παÏακολοÏθησης του υποκαταλόγου:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ The command line is executed each time: <target>Σφάλμα κατά την αντιγÏαφή του αÏχείου:</target> <source>Error opening file:</source> <target>Σφάλμα κατά το άνοιγμα του αÏχείου:</target> +<source>Error writing file:</source> +<target>Σφάλμα κατά την εγγÏαφή του αÏχείου:</target> <source>Error reading file:</source> <target>Σφάλμα κατά την ανάγνωση του αÏχείου:</target> <source>Endless loop when traversing directory:</source> <target>ΑτÎÏμονος βÏόχος κατά την την ανάλυση του υποκαταλόγου:</target> <source>Error traversing directory:</source> <target>Σφάλμα κατά την ανάλυση του υποκαταλόγου:</target> +<source>Windows Error Code %x:</source> +<target>Κωδικός Σφάλματος των Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Κωδικός Σφάλματος του Linux %x:</target> <source>Error setting privilege:</source> <target>Σφάλμα κατά τον οÏισμό δικαιωμάτων:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Δεν αναγνώστηκαν τιμÎÏ‚ για τους ακόλουθους κόμβους XML:</target> -<source>Show popup</source> -<target>Εμφάνιση αναδυόμενου παÏάθυÏου</target> -<source>Show popup on errors or warnings</source> -<target>Εμφάνιση αναδυόμενου παÏάθυÏου σε σφάλματα ή Ï€Ïοειδοποιήσεις</target> -<source>Ignore errors</source> -<target>ΠαÏάβλεψη των σφαλμάτων</target> -<source>Hide all error and warning messages</source> -<target>ΑπόκÏυψη όλων των σφαλμάτων και Ï€Ïοειδοποιήσεων</target> -<source>Exit instantly</source> -<target>Άμεση Îξοδος</target> -<source>Abort synchronization immediately</source> -<target>Άμεση ματαίωση του συγχÏονισμοÏ</target> <source>Logging</source> <target>ΚαταγÏαφή μηνυμάτων</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ The command line is executed each time: <target>Δεξιά</target> <source>Batch job</source> <target>ΔÎσμη ενεÏγειών</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>ΔημιουÏγία ενός αÏχείου δÎσμης ενεÏγειών για αυτόματο συγχÏονισμό. Για την ÎναÏξη σε λειτουÏγία δÎσμης, δώστε το όνομα του αÏχείου στο εκτελÎσιμο του FreeFileSync: FreeFileSync.exe <αÏχείο δÎσμης>. Αυτή η λειτουÏγία μποÏεί να Ï€ÏογÏαμματιστεί και στο χÏονοδιάγÏαμμα εÏγασιών του λειτουÏÎ³Î¹ÎºÎ¿Ï ÏƒÎ±Ï‚ συστήματος.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Για την αυτοματοποίηση του συγχÏÎ¿Î½Î¹ÏƒÎ¼Î¿Ï Î´Î·Î¼Î¹Î¿Ï…Ïγείστε Îνα αÏχείο δÎσμης ενεÏγειών. Για να ξεκινήσετε σε κατάσταση λειτουÏγίας της δÎσμης, απλώς κάντε διπλό κλικ στο αÏχείο ή γÏάψτε στη γÏαμμή εντολών: FreeFileSync.exe <batchfile>. ΜποÏείτε επίσης το Ï€ÏογÏαμματίσετε αυτήν την εÏγασία, χÏησιμοποιώντας το χÏονοδιάγÏαμμα εÏγασιών του λειτουÏÎ³Î¹ÎºÎ¿Ï ÏƒÎ±Ï‚ συστήματος.</target> <source>Help</source> <target>Βοήθεια</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ The command line is executed each time: <target>ΚατηγοÏία</target> <source>Action</source> <target>ΕνÎÏγεια</target> -<source>Files/folders that exist on left side only</source> -<target>ΑÏχεία/υποκατάλογοι που υπάÏχουν μόνο στα αÏιστεÏά</target> -<source>Files/folders that exist on right side only</source> -<target>ΑÏχεία/υποκατάλογοι που υπάÏχουν μόνο στα δεξιά</target> -<source>Files that exist on both sides, left one is newer</source> -<target>ΑÏχεία που υπάÏχουν και στις δυο πλευÏÎÏ‚, αÏιστεÏά είναι πιο Ï€Ïόσφατα</target> -<source>Files that exist on both sides, right one is newer</source> -<target>ΑÏχεία που υπάÏχουν και στις δυο πλευÏÎÏ‚, δεξιά είναι πιο Ï€Ïόσφατα</target> -<source>Files that have different content</source> -<target>ΑÏχεία που Îχουν διαφοÏετικό πεÏιεχόμενο</target> -<source>Conflicts/files that cannot be categorized</source> -<target>ΔιενÎξεις/αÏχεία που δεν μποÏοÏν να κατηγοÏιοποιηθοÏν</target> +<source>File/folder exists on left side only</source> +<target>Το αÏχείο / ο υποκατάλογος υπάÏχει μόνο στην αÏιστεÏή πλευÏά</target> +<source>File/folder exists on right side only</source> +<target>Το αÏχείο / ο υποκατάλογος υπάÏχει μόνο στη δεξιά πλευÏά</target> +<source>Left file is newer</source> +<target>Το αÏχείο στα αÏιστεÏά είναι πιο Ï€Ïόσφατο</target> +<source>Right file is newer</source> +<target>Το αÏχείο στα δεξιά είναι πιο Ï€Ïόσφατο</target> +<source>Files have different content</source> +<target>Τα αÏχεία Îχουν διαφοÏετικό πεÏιεχόμενο</target> +<source>Conflict/file cannot be categorized</source> +<target>Η διÎνεξη / το αÏχείο δεν μποÏεί να κατηγοÏιοποιηθεί</target> <source>Compare by...</source> <target>ΣÏγκÏιση με βάση το...</target> <source> @@ -539,8 +543,8 @@ is the same <target>- υπάÏχει μόνο στα αÏιστεÏά</target> <source>- exists right only</source> <target>- υπάÏχει μόνο στα δεξιά</target> -<source>- conflict</source> -<target>- διÎνεξη</target> +<source>- conflict (same date, different size)</source> +<target>- διÎνεξη (ίδια ημεÏομηνία, διαφοÏετικό μÎγεθος)</target> <source>Compare by "File content"</source> <target>ΣÏγκÏιση με βάση το "ΠεÏιεχόμενο αÏχείων"</target> <source> @@ -707,10 +711,8 @@ Transfer file and directory permissions <target><πολλαπλή επιλογή></target> <source>D-Click</source> <target>Διπλό κλικ</target> -<source>Copy to clipboard CTRL+C</source> -<target>ΑντιγÏαφή στο Ï€ÏόχειÏο CTRL+C</target> -<source>Delete files DEL</source> -<target>ΔιαγÏαφή αÏχείων DEL</target> +<source>Delete</source> +<target>ΔιαγÏαφή</target> <source>Customize...</source> <target>Î ÏοσαÏμογή...</target> <source>Auto-adjust columns</source> @@ -853,14 +855,10 @@ Transfer file and directory permissions <target>Το αÏχείο υπάÏχει και στις δυο πλευÏÎÏ‚</target> <source>on one side only</source> <target>το αÏχείο υπάÏχει μόνο στη μια πλευÏά</target> -<source>- left</source> -<target>- αÏιστεÏά</target> -<source>- right</source> -<target>- δεξιά</target> -<source>different</source> -<target>διαφοÏετικά</target> -<source>- conflict (same date, different size)</source> -<target>- διÎνεξη (ίδια ημεÏομηνία, διαφοÏετικό μÎγεθος)</target> +<source>same date</source> +<target>ίδια ημεÏομηνία</target> +<source>different date</source> +<target>διαφοÏετική ημεÏομηνία</target> <source>Inactive</source> <target>ΑνενεÏγό</target> <source>Second</source> @@ -971,28 +969,28 @@ Transfer file and directory permissions <target>ΔημιουÏγία καταλόγου αÏχείων...</target> <source>Multiple...</source> <target>ΠολλαπλÎÏ‚ Ïυθμίσεις...</target> -<source>Files that are equal on both sides</source> -<target>ΑÏχεία ίδια και στις δυο πλευÏÎÏ‚</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Ίδια αÏχεία/υποκατάλογοι που διαφÎÏουν μόνο στα χαÏακτηÏιστικά αÏχείου</target> -<source>Copy from right to left</source> -<target>ΑντιγÏαφή από τα δεξιά Ï€Ïος τα αÏιστεÏά</target> -<source>Copy from left to right</source> -<target>ΑντιγÏαφή από τα αÏιστεÏά Ï€Ïος τα δεξιά</target> -<source>Delete files/folders existing on left side only</source> -<target>ΔιαγÏαφή των αÏχείων/υποκαταλόγων που υπάÏχουν μόνο στα αÏιστεÏά</target> -<source>Delete files/folders existing on right side only</source> -<target>ΔιαγÏαφή των αÏχείων/υποκαταλόγων που υπάÏχουν μόνο στα δεξιά</target> -<source>Copy from right to left overwriting</source> -<target>ΑντιγÏαφή από τα δεξιά Ï€Ïος τα αÏιστεÏά με αντικατάσταση</target> -<source>Copy from left to right overwriting</source> -<target>ΑντιγÏαφή από τα αÏιστεÏά Ï€Ïος τα δεξιά με αντικατάσταση</target> +<source>Both sides are equal</source> +<target>Οι δυο πλευÏÎÏ‚ είναι ίδιες</target> +<source>Files/folders differ in attributes only</source> +<target>Τα αÏχεία / οι υποκατάλογοι διαφÎÏουν μόνο στα χαÏακτηÏιστικά τους</target> +<source>Copy new file/folder to left</source> +<target>ΑντιγÏαφή του νÎου αÏχείου/υποκαταλόγου στα αÏιστεÏά</target> +<source>Copy new file/folder to right</source> +<target>ΑντιγÏαφή του νÎου αÏχείου/υποκαταλόγου στα δεξιά</target> +<source>Delete left file/folder</source> +<target>ΔιαγÏαφή του αÏχείου/υποκαταλόγου στα αÏιστεÏά</target> +<source>Delete right file/folder</source> +<target>ΔιαγÏαφή του αÏχείου/υποκαταλόγου στα δεξιά</target> +<source>Overwrite left file/folder with right one</source> +<target>Αντικατάσταση του αÏχείου/υποκαταλόγου στα αÏιστεÏά από το(ν) αντίστοιχο στα δεξιά</target> +<source>Overwrite right file/folder with left one</source> +<target>Αντικατάσταση του αÏχείου/υποκαταλόγου στα δεξιά από το(ν) αντίστοιχο στα αÏιστεÏά</target> <source>Do nothing</source> <target>Καμία ενÎÏγεια</target> -<source>Copy attributes only from right to left</source> -<target>ΑντιγÏαφή των χαÏακτηÏιστικών αÏχείου μόνο από τα δεξιά Ï€Ïος τα αÏιστεÏά</target> -<source>Copy attributes only from left to right</source> -<target>ΑντιγÏαφή των χαÏακτηÏιστικών αÏχείου μόνο από τα αÏιστεÏά Ï€Ïος τα δεξιά</target> +<source>Copy file attributes only to left</source> +<target>ΑντιγÏαφή μόνο των χαÏακτηÏιστικών του αÏχείου στα αÏιστεÏά</target> +<source>Copy file attributes only to right</source> +<target>ΑντιγÏαφή μόνο των χαÏακτηÏιστικών του αÏχείου στα δεξιά</target> <source>Deleting file %x</source> <target>ΔιαγÏαφή του αÏχείου %x</target> <source>Deleting Symbolic Link %x</source> @@ -1023,6 +1021,8 @@ Transfer file and directory permissions <target>ΕνημÎÏωση των χαÏακτηÏιστικών αÏχείου του %x</target> <source>Source directory does not exist anymore:</source> <target>Ο υποκατάλογος Ï€ÏοÎλευσης δεν υπάÏχει πλÎον:</target> +<source>Generating database...</source> +<target>ΔημιουÏγία βάσης δεδομÎνων...</target> <source>Nothing to synchronize according to configuration!</source> <target>Τίποτα Ï€Ïος συγχÏονισμό με βάση τη διάταξη!</target> <source>Target directory name must not be empty!</source> @@ -1047,8 +1047,6 @@ Transfer file and directory permissions <target>Θα Ï„Ïοποποιηθεί Îνας υποκατάλογος που ανήκει σε πολλαπλά ζεÏγη υποκαταλόγων! ΠαÏακαλώ αναθεωÏείστε τις Ïυθμίσεις συγχÏονισμοÏ.</target> <source>Processing folder pair:</source> <target>ΣÏγκÏιση του ζεÏγους υποκαταλόγων:</target> -<source>Generating database...</source> -<target>ΔημιουÏγία βάσης δεδομÎνων...</target> <source>Error copying locked file %x!</source> <target>Σφάλμα κατά την αντιγÏαφή του κλειδωμÎνου αÏχείου %x !</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/hebrew.lng b/BUILD/Languages/hebrew.lng new file mode 100644 index 00000000..22de79f5 --- /dev/null +++ b/BUILD/Languages/hebrew.lng @@ -0,0 +1,1053 @@ +<header> + <language name>עברית</language name> + <translator>nitnit</translator> + <locale>he_IL</locale> + <flag file>isreal.png</flag file> + <plural forms>2</plural forms> + <plural definition>n == 1 ? 0 : 1</plural definition> +</header> + +<source>Show in Explorer</source> +<target>הר××” בסייר הקבצי×</target> +<source>Open with default application</source> +<target>פתח ב×מצ×ות ×”×פליקציה המת×ימה</target> +<source>Browse directory</source> +<target>עיין במחיצה</target> +<source>RealtimeSync - Automated Synchronization</source> +<target>RealtimeSync - ×¡×™× ×›×¨×•×Ÿ ×וטומטי</target> +<source>Browse</source> +<target>עיין</target> +<source>Invalid commandline: "%x"</source> +<target>שורת פקודות שגויה: "%x"</target> +<source>Error resolving symbolic link:</source> +<target>שגי××” ×‘×¤×¢× ×•×— קישור סימבולי (Symbolic Link)</target> +<source>Show popup</source> +<target>הר××” ×—×œ×•× ×•×ª קופצי×</target> +<source>Show popup on errors or warnings</source> +<target>הר××” ×—×œ×•× ×•×ª ×§×•×¤×¦×™× ×‘×–×ž×Ÿ שגי××” ×ו תקלה</target> +<source>Ignore errors</source> +<target>×”×ª×¢×œ× ×ž×˜×¢×•×™×•×ª</target> +<source>Hide all error and warning messages</source> +<target>הסתר ×ת כל הודעות ההזהרה והשגי××”</target> +<source>Exit instantly</source> +<target>×¦× ×ž×™×“×™×ª</target> +<source>Abort synchronization immediately</source> +<target>הפסק ×¡× ×›×¨×•×Ÿ מידית</target> +<source>Select alternate synchronization settings</source> +<target>בחר הגדרות ×¡× ×›×¨×•×Ÿ ××œ×˜×¨× ×˜×™×‘×™×•×ª</target> +<source>No filter selected</source> +<target>×œ× × ×‘×—×¨ ×ž×¡× ×Ÿ פעיל</target> +<source>Filter is active</source> +<target>×ž×¡× ×Ÿ פעיל</target> +<source>Clear filter settings</source> +<target>× ×§×” בחירת ×ž×¡× ×Ÿ</target> +<source>Remove alternate settings</source> +<target>הסר הגדרות תצורה ××œ×˜×¨× ×˜×™×‘×™×ª</target> +<source>Create a batch job</source> +<target>יוצר עבודת ×צווה</target> +<source>Synchronization settings</source> +<target>הגדרות ×¡× ×›×¨×•×Ÿ</target> +<source>Comparison settings</source> +<target>הגדרות השוו××”</target> +<source>About</source> +<target>×ודות</target> +<source>Error</source> +<target>שגי××”</target> +<source>Warning</source> +<target>×זהרה</target> +<source>Question</source> +<target>ש×לה</target> +<source>Confirm</source> +<target>×שר</target> +<source>Configure filter</source> +<target>תצורת ×ž×¡× ×Ÿ</target> +<source>Customize columns</source> +<target>סדר עמודות</target> +<source>Global settings</source> +<target>×ž×©×ª× ×™× ×’×œ×•×‘×œ×™×™×</target> +<source>Synchronization Preview</source> +<target>תצוגה מקדימה של ×¡× ×›×¨×•×Ÿ</target> +<source>Find</source> +<target>חפש</target> +<source>%x MB</source> +<target>%x מגה בייט</target> +<source>%x KB</source> +<target>%x קילו בייט</target> +<source>%x GB</source> +<target>%x ×’×™×’×” בייט</target> +<source> +<pluralform>1 Byte</pluralform> +<pluralform>%x Bytes</pluralform> +</source> +<target> +<pluralform>1 בייט</pluralform> +<pluralform>%x בייט</pluralform> +</target> +<source><Symlink></source> +<target><קשור סימבולי></target> +<source><Directory></source> +<target><מחיצה></target> +<source>Size</source> +<target>גודל</target> +<source>Date</source> +<target>ת×רין</target> +<source>Full path</source> +<target>× ×ª×™×‘ מל×</target> +<source>Filename</source> +<target>×©× ×§×•×‘×¥</target> +<source>Relative path</source> +<target>× ×ª×™×‘ יחסי</target> +<source>Directory</source> +<target>מחיצה</target> +<source>Extension</source> +<target>סיומת</target> +<source>Comparison Result</source> +<target>תוצ×ות ההשוו××”</target> +<source>Incompatible synchronization database format:</source> +<target>מסד × ×ª×•× ×™× ×©×œ ×”×¡× ×›×¨×•×Ÿ ×œ× ×ª×•××:</target> +<source>Initial synchronization:</source> +<target>×¡× ×›×¨×•×Ÿ ר××©×•× ×™:</target> +<source>One of the FreeFileSync database files is not yet existing:</source> +<target>×חד מקובצי בסיס ×”× ×ª×•× ×™× ×”×‘× ×¢×“×™×™×Ÿ ×œ× ×§×™×™×</target> +<source>One of the FreeFileSync database entries within the following file is not yet existing:</source> +<target>×חת ×ž×”×›× ×™×¡×•×ª בבסיס ×”× ×ª×•× ×™× ×‘×§×•×‘×¥ ×”×‘× ×¢×“×™×™×Ÿ ×œ× ×§×™×™×ž×ª</target> +<source>Error reading from synchronization database:</source> +<target>שגי××” בקרי××” מבסיס ×”× ×ª×•× ×™× ×©×œ ×”×¡× ×›×¨×•×Ÿ:</target> +<source>An exception occurred!</source> +<target>×ירוע חריג!</target> +<source>Error deleting file:</source> +<target>שגי××” במחיקת קובץ:</target> +<source>Error reading file attributes:</source> +<target>שגי××” בקרי×ת ×ª×›×•× ×•×ª קובץ:</target> +<source>Waiting while directory is locked (%x)...</source> +<target>ממתין ×›×שר מחיצה × ×¢×•×œ×” (%x)...</target> +<source>Error setting directory lock:</source> +<target>שגי××” ×‘× ×¢×™×œ×ª מחיצה:</target> +<source> +<pluralform>1 sec</pluralform> +<pluralform>%x sec</pluralform> +</source> +<target> +<pluralform>1 ×©× ×™×™×”</pluralform> +<pluralform>%x ×©× ×™×•×ª</pluralform> +</target> +<source>Info</source> +<target>מידע</target> +<source>Fatal Error</source> +<target>שגי××” פטלית</target> +<source>Invalid FreeFileSync config file!</source> +<target>קובץ תצורה בלתי חוקי!</target> +<source>File does not exist:</source> +<target>קובץ ×œ× ×§×™×™×:</target> +<source>Error parsing configuration file:</source> +<target>שגי××” ×‘× ×™×ª×•×— קובץ תצורה:</target> +<source>/sec</source> +<target>/×©× </target> +<source> +<pluralform>1 min</pluralform> +<pluralform>%x min</pluralform> +</source> +<target> +<pluralform>1 דקה</pluralform> +<pluralform>%x דקות</pluralform> +</target> +<source> +<pluralform>1 hour</pluralform> +<pluralform>%x hours</pluralform> +</source> +<target> +<pluralform>1 שעה</pluralform> +<pluralform>%x שעות</pluralform> +</target> +<source> +<pluralform>1 day</pluralform> +<pluralform>%x days</pluralform> +</source> +<target> +<pluralform>1 יו×</pluralform> +<pluralform>%x ימי×</pluralform> +</target> +<source>S&ave configuration...</source> +<target>&שמור תצורה...</target> +<source>&Load configuration...</source> +<target>&טען תצורה...</target> +<source>&Quit</source> +<target>&יצי××”</target> +<source>&File</source> +<target>&קובץ</target> +<source>&Content</source> +<target>&תוכן</target> +<source>&About...</source> +<target>&×ודות...</target> +<source>&Help</source> +<target>&עזרה</target> +<source>Usage:</source> +<target>שימוש:</target> +<source>1. Select directories to monitor.</source> +<target>1. בחר מחיצות ×œ× ×™×˜×•×¨.</target> +<source>2. Enter a command line.</source> +<target>2. הקש שורת פקודות.</target> +<source>3. Press 'Start'.</source> +<target>3. לחץ 'הפעל'.</target> +<source> +The command line is executed each time: +- all directories become available (e.g. USB stick insert) +- files within these directories or subdirectories are modified +</source> +<target> +שורת הפקודה מבוצעת בכל ×¤×¢× ×›×שר: +- כל המחיצות הופכות ×–×ž×™× ×•×ª (לדוגמה חיבור זכרון × ×ª×™×§) +- ×§×‘×¦×™× ×‘×ž×—×™×¦×•×ª ×לו ×ž×©×ª× ×™× +</target> +<source>Directories to watch</source> +<target>מחיצות ×œ× ×™×˜×•×¨</target> +<source>Add folder</source> +<target>הוסף מחיצה</target> +<source>Remove folder</source> +<target>הסר מחיצה</target> +<source>Select a folder</source> +<target>בחר מחיצה</target> +<source>Command line</source> +<target>שורת פקודות</target> +<source>Minimum Idle Time [seconds]</source> +<target>זמן ×ž× ×•×—×” ×ž×™× ×™×ž×œ×™ [×©× ×™×•×ª]</target> +<source>Idle time between detection of last change and execution of command line in seconds</source> +<target>זמן ×ž× ×•×—×” מגילוי ×©×™× ×•×™ ×חרון עד לביצוע שורת פקודה ×‘×©× ×™×•×ª</target> +<source>Start</source> +<target>התחל</target> +<source>(Build: %x)</source> +<target>(×ž×‘× ×”: %x)</target> +<source>RealtimeSync configuration</source> +<target>RealtimeSync בקרת תצורה</target> +<source>File already exists. Overwrite?</source> +<target>קובץ ×§×™×™× ×”×× ×œ×“×¨×•×¡?</target> +<source>&Restore</source> +<target>&טען מחדש</target> +<source>&Exit</source> +<target>&יצי××”</target> +<source>Monitoring active...</source> +<target>× ×˜×¨ ×רכיב...</target> +<source>Waiting for missing directories...</source> +<target>מחכה למחיצות חסרות...</target> +<source>Could not initialize directory monitoring:</source> +<target>×œ× ×™×›×•×œ ל×תחל × ×™×˜×•×¨ מחיצה:</target> +<source>A directory input field is empty.</source> +<target>שדה ×›× ×™×¡×ª מחיצה ריק.</target> +<source>Error when monitoring directories.</source> +<target>שגי××” בזמן × ×™×˜×•×¨ מחיצות.</target> +<source>Drag && drop</source> +<target>גרור והשלך</target> +<source>Conversion error:</source> +<target>שגי××” בהסבה:</target> +<source>Error moving file:</source> +<target>שגי××” בהעברת קובץ:</target> +<source>Operation aborted!</source> +<target>הפעולה בוטלה!</target> +<source>Target file already existing!</source> +<target>קובץ מטרה כבר קיי×!</target> +<source>Error moving directory:</source> +<target>שגי××” בהעברת מחיצה:</target> +<source>Target directory already existing!</source> +<target>מחיצת מטרה כבר קיימת!</target> +<source>Error deleting directory:</source> +<target>שגי××” במחיקת מחיצה:</target> +<source>Error changing modification time:</source> +<target>שגי××” ×‘×©×™× ×•×™ זמן:</target> +<source>Error loading library function:</source> +<target>שגי××” ×‘×˜×¢×™× ×ª ספרית ×¤×•× ×§×¦×™×•×ª:</target> +<source>Error reading security context:</source> +<target>שגי××” בכתיבת הקשר בטיחות:</target> +<source>Error writing security context:</source> +<target>שגי××” בכתיבת הקשר בטיחות:</target> +<source>Error copying file permissions:</source> +<target>שגי××” בהעתקת הרש×ות קובץ:</target> +<source>Error creating directory:</source> +<target>שגי××” ביצירת מחיצה:</target> +<source>Error copying symbolic link:</source> +<target>שגי××” בהעתקת קישור :</target> +<source>Error copying file:</source> +<target>שגי××” בהעתקת קובץ:</target> +<source>Error opening file:</source> +<target>שגי××” בפתיחת קובץ:</target> +<source>Error writing file:</source> +<target>שגי××” בכתיבת קובץ:</target> +<source>Error reading file:</source> +<target>שגי××” בקרי×ת קובץ:</target> +<source>Endless loop when traversing directory:</source> +<target>× ×•×¦×¨×ª לול××” ××™× ×¡×•×¤×™×ª בחצית מחיצות</target> +<source>Error traversing directory:</source> +<target>שגי××” בהצלבת מחיצות</target> +<source>Windows Error Code %x:</source> +<target>קוד שגי×ת ×—×œ×•× ×•×ª %x:</target> +<source>Linux Error Code %x:</source> +<target>קוד שגי×ת ×œ×™× ×•×§×¡ %x:</target> +<source>Error setting privilege:</source> +<target>שגי××” בהשמת פריווילגיה</target> +<source>Error moving to Recycle Bin:</source> +<target>שגי××” בהעברה לסל המיחזור:</target> +<source>Could not load a required DLL:</source> +<target>:× ×“×¨×© DLL ×œ× ×™×›×œ לטעון</target> +<source>Error writing to synchronization database:</source> +<target>שגי××” ×‘×¨×™×©×•× ×œ×‘×¡×™×¡ × ×ª×•× ×™ ×¡× ×›×¨×•×Ÿ:</target> +<source>Error starting Volume Shadow Copy Service!</source> +<target>שגיעה ×‘×”×ª× ×¢×ª שרות העתקת צללי ×›×¨×›×™× (Volume Shadow Copy Service)!</target> +<source>Making shadow copies on WOW64 is not supported. Please use FreeFileSync 64-bit version.</source> +<target>×œ× × ×ª×ž×›×ª בגרסה ×–×ת ×× × ×”×ª×§×Ÿ גרסה 64 WOW64 העתקת צל ב</target> +<source>Could not determine volume name for file:</source> +<target>×œ× ×™×›×•×œ לקבוע ×©× ×›×¨×š לקובץ:</target> +<source>Volume name %x not part of filename %y!</source> +<target>×›× ×•× ×Ÿ %x ×œ× ×‘× ×ª×™×‘ של קובץ %y!</target> +<source>%x TB</source> +<target>%x טרה בייט</target> +<source>%x PB</source> +<target>%x פטה בייט</target> +<source>%x%</source> +<target>%x%</target> +<source>Could not read values for the following XML nodes:</source> +<target>XML ×œ× ×™×›×•×œ ×œ×§×¨× ×¢×¨×›×™× ×ž×¦×ž×ª×™ :</target> +<source>Logging</source> +<target>×¨×™×©×•× ×‘×™×•×ž×Ÿ</target> +<source>FreeFileSync batch file</source> +<target>FreeFileSync קובץ ×צווה</target> +<source>FreeFileSync configuration</source> +<target>FreeFileSync הגדרות</target> +<source>FreeFileSync Batch Job</source> +<target>FreeFileSync עבודת ×צווה</target> +<source>Unable to create logfile!</source> +<target>×œ× ×ž×¡×•×’×œ ליצור יומן!</target> +<source>Batch execution</source> +<target>פעולת ×צווה</target> +<source>Log-messages:</source> +<target>הודעת יומן:</target> +<source>Stop</source> +<target>עצור</target> +<source>Total time:</source> +<target>זמן כולל:</target> +<source>Synchronization aborted!</source> +<target>×¡×™× ×›×¨×•×Ÿ בוטל!</target> +<source>Synchronization completed with errors!</source> +<target>×¡× ×›×¨×•×Ÿ ×”×•×©×œ× ×¢× ×©×’×™×ות!</target> +<source>Synchronization completed successfully!</source> +<target>×¡×™× ×›×¨×•×Ÿ ×”×•×©×œ× ×‘×”×¦×œ×—×”!</target> +<source>Press "Switch" to open FreeFileSync GUI mode.</source> +<target>"לחץ" לפתיחת FreeFileSync בממשק גרפי.</target> +<source>Switching to FreeFileSync GUI mode...</source> +<target>החלף לתצורת ממשק חזותי...</target> +<source>Unable to connect to sourceforge.net!</source> +<target>×ין תקשורת ל sourceforge.net!</target> +<source>A newer version of FreeFileSync is available:</source> +<target>קיימת גירסה חדשה יותר:</target> +<source>Download now?</source> +<target>הורד עכשיו?</target> +<source>Information</source> +<target>מידע</target> +<source>FreeFileSync is up to date!</source> +<target>FreeFileSync מעודכן לגירסה ×”××—×¨×•× ×”!</target> +<source>Do you want FreeFileSync to automatically check for updates every week?</source> +<target>×”×× ×‘×¨×¦×•× ×š ×©×”×ª×•×›× ×” תבדוק לעדכון בכל שבוע?</target> +<source>(Requires an Internet connection!)</source> +<target>(מחייב קישור ××™× ×˜×¨× ×˜×™ פעיל!)</target> +<source>1. &Compare</source> +<target>1. &השווה</target> +<source>2. &Synchronize...</source> +<target>2. &×¡× ×›×¨×Ÿ...</target> +<source>S&witch view</source> +<target>החל&×£ תצוגה</target> +<source>&New</source> +<target>&חדש</target> +<source>&Program</source> +<target>&×ª×•×›× ×”</target> +<source>&Language</source> +<target>&שפה</target> +<source>&Global settings...</source> +<target>&×ž×©×ª× ×™× ×’×œ×•×‘×œ×™×™×...</target> +<source>&Create batch job...</source> +<target>&צור קובץ ×צווה...</target> +<source>&Export file list...</source> +<target>&×™×¦× ×¨×©×™×ž×ª קבצי×...</target> +<source>&Advanced</source> +<target>&מתקד×</target> +<source>&Check for new version</source> +<target>&בדוק ×œ×’×™×¨×¡× ×—×“×©×”</target> +<source>Compare</source> +<target>השוו××”</target> +<source>Compare both sides</source> +<target>השווה בין ×©× ×™ הצדדי×</target> +<source>&Abort</source> +<target>&× ×˜×•×©</target> +<source>Synchronize...</source> +<target>...×¡× ×›×¨×Ÿ</target> +<source>Start synchronization</source> +<target>התחל ×¡× ×›×¨×•×Ÿ</target> +<source>Swap sides</source> +<target>החלף צדדי×</target> +<source>Add folder pair</source> +<target>הוסף זוג מחיצות</target> +<source>Remove folder pair</source> +<target>הסר זוג מחיצות</target> +<source>Save current configuration to file</source> +<target>שמור תצורה × ×•×›×—×™×ª לקובץ</target> +<source>Load configuration from file</source> +<target>טען ×§×•× ×¤×™×’×•×¨×¦×™×” מקובץ</target> +<source>Last used configurations (press DEL to remove from list)</source> +<target>תצורות ××—×¨×•× ×•×ª שהיו בשמוש (לחץ DEL להסרה מהרשימה)</target> +<source>Hide excluded items</source> +<target>×”×—×‘× ×¤×¨×™×˜×™× × ×©×œ×œ×™×</target> +<source>Hide filtered or temporarily excluded files</source> +<target>×”×—×‘× ×§×‘×¦×™× ×ž×¡×•× × ×™× ×ו × ×©×œ×œ×™×</target> +<source>Number of files and directories that will be created</source> +<target>מספר התקיות ×•×”×§×‘×¦×™× ×שר ×¢×•×ž×“×™× ×œ×”×™×•×¦×¨</target> +<source>Number of files that will be overwritten</source> +<target>מספר ×”×§×‘×¦×™× ×”×¢×•×ž×“×™× ×œ×”×™×›×ª×‘ מחדש</target> +<source>Number of files and directories that will be deleted</source> +<target>מספר ×”×§×‘×¦×™× ×•×”×ª×™×§×™×•×ª ×”×¢×•×ž×“×™× ×œ×”×™×ž×—×§</target> +<source>Total amount of data that will be transferred</source> +<target>סך הכל × ×ª×•× ×™× ×œ×”×¢×‘×¨×”</target> +<source>Left</source> +<target>שמ×ל</target> +<source>Right</source> +<target>ימין</target> +<source>Batch job</source> +<target>עבודת ×צווה</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>יצור קובץ ×צווה ×œ×¡× ×›×¨×•×Ÿ ×וטומטי. להפעלה ב×צווה העבר ×ת ×©× ×”×§×•×‘×¥ כפרמטר ×œ×ª×•×›× ×” FreeFileSync.exe <batchfile>. ×פשר ×’× ×œ×”×©×ª×ž×© ×‘×ž× ×”×œ המשימות ×”×ž×ª×•×–×ž× ×•×ª של המערכת.</target> +<source>Help</source> +<target>עזרה</target> +<source>Configuration overview:</source> +<target>סקירת תצורה:</target> +<source>Filter files</source> +<target>קבצי ×”×ž×¡× ×Ÿ</target> +<source>Status feedback</source> +<target>משוב מצב</target> +<source>Silent mode</source> +<target>×ופן פעולה שקט</target> +<source>Start minimized and write status information to a logfile</source> +<target>הפעל במצב ממוזער ×•×¨×©×•× ×ž×¦×‘ לקובץ יומן</target> +<source>Error handling</source> +<target>טיפול בשגי×ות</target> +<source>Overview</source> +<target>מבט כללי</target> +<source>Select logfile directory:</source> +<target>בחר מחיצה לקבצי יומן</target> +<source>Maximum number of logfiles:</source> +<target>מספר מכסימלי של קבצי יומן</target> +<source>&Save</source> +<target>&שמירה</target> +<source>&Load</source> +<target>&טען</target> +<source>&Cancel</source> +<target>&בטל</target> +<source>Elements found:</source> +<target>××œ×ž× ×˜×™× × ×ž×¦×ו:</target> +<source>Elements remaining:</source> +<target>××œ×ž× ×ª×™× × ×•×ª×¨×•:</target> +<source>Speed:</source> +<target>מהירות:</target> +<source>Time remaining:</source> +<target>זמן × ×•×ª×¨:</target> +<source>Time elapsed:</source> +<target>זמן עבר:</target> +<source>Operation:</source> +<target>פעולה:</target> +<source>Select variant:</source> +<target>בחר ×ž×©×ª× ×”:</target> +<source><Automatic></source> +<target><×וטומטי></target> +<source>Identify and propagate changes on both sides using a database. Deletions and conflicts are detected automatically.</source> +<target>×–×”×” והפץ ×©×™× ×•×™×™× ×‘×©× ×™ ×”×¦×“×“×™× ×‘×¢×–×¨×ª בסיס × ×ª×•× ×™×. מחיקות ×•×§×•× ×¤×œ×™×§×˜×™× ×ž×–×•×”×™× ×‘×ופן ×וטומטי.</target> +<source>Mirror ->></source> +<target><<- מר××”</target> +<source>Mirror backup of left folder. Right folder is modified to exactly match left folder after synchronization.</source> +<target>גיבוי מר××” של מחיצה שמ×לית. מחיצה ×™×ž× ×™×ª תהיה ×–×”×” לשמ×לית ל×חר ×”×¡×™× ×›×¨×•×Ÿ.</target> +<source>Update -></source> +<target><- שדרג</target> +<source>Copy new or updated files to right folder.</source> +<target>העתק ×§×‘×¦×™× ×—×“×©×™× ×ו ×ž×¢×•×“×›× ×™× ×œ×ž×—×™×¦×” ×”×™×ž× ×™×ª.</target> +<source>Custom</source> +<target>מות××</target> +<source>Configure your own synchronization rules.</source> +<target>סדר ×ת כללי ×”×¡× ×›×¨×•×Ÿ שלך.</target> +<source>Deletion handling</source> +<target>טיפול במחיקות</target> +<source>&OK</source> +<target>&×שר</target> +<source>Configuration</source> +<target>תצורה</target> +<source>Category</source> +<target>קטגוריה</target> +<source>Action</source> +<target>פעולה</target> +<source>File/folder exists on left side only</source> +<target>קובץ\מחיצה ×§×™×™× ×‘×¦×“ שמ×ל בלבד</target> +<source>File/folder exists on right side only</source> +<target>קובץ\מחיצה ×§×™×™× ×‘×¦×“ ימין בלבד</target> +<source>Left file is newer</source> +<target>צד שמ×ל חדש יותר</target> +<source>Right file is newer</source> +<target>צד ימין חדש יותר</target> +<source>Files have different content</source> +<target>×”×§×‘×¦×™× ×‘×¢×œ×™ תכולה ×©×•× ×”</target> +<source>Conflict/file cannot be categorized</source> +<target>×§×•× ×¤×œ×™×§×˜\קובץ ××™× ×• יכול לקבל סיווג</target> +<source>Compare by...</source> +<target>השווה ×¢"×™...</target> +<source> +Files are found equal if + - file size + - last write time and date +are the same +</source> +<target> +×§×‘×¦×™× ×ž×•×’×“×¨×™× ×›×–×”×™× ×× + - גודל הקובץ + - זמן ות×ריך שמירה ××—×¨×•× ×™× +×”× ×–×”×™× +</target> +<source>File size and date</source> +<target>גודל קובץ ות×ריך</target> +<source> +Files are found equal if + - file content +is the same +</source> +<target> +×§×‘×¦×™× ×ž×•×’×“×¨×™× ×›×–×”×™× ×× + - תכולת הקובץ +×”×™× ×–×”×” +</target> +<source>File content</source> +<target>תכולת הקובץ</target> +<source>Symbolic Link handling</source> +<target>טיפול בקישור סימבולי</target> +<source>Synchronizing...</source> +<target>×ž×¡× ×›×¨×Ÿ...</target> +<source>Elements processed:</source> +<target>××œ×ž× ×˜×™× ×¢×•×‘×“×•:</target> +<source>&Pause</source> +<target>&עצור</target> +<source>Compare by "File size and date"</source> +<target>"File size and date" השווה ×¢"×™ גודל הקובץ ות×ריך</target> +<source>This variant evaluates two equally named files as being equal when they have the same file size AND the same last write date and time.</source> +<target>הורי×ציה ×”×–×ת מעריכה ×ת 2 ×”×§×‘×¦×™× ×‘×ž×™×“×” שווה ×›×שר ×©×ž× ×–×”×” ויש ×œ×”× ×’×•×“×œ ×–×”×” ות×ריך ×”×¨×™×©×•× ×”×חרון ×–×”×”</target> +<source>When the comparison is started with this option set the following decision tree is processed:</source> +<target>×›×שר ההשוו××” מתחילה בעזרת הבחירות ×”× ×‘×—×¨×•×ª ×¢×¥ ההחלטות ×”×‘× ×ž×ª×‘×¦×¢:</target> +<source>As a result the files are separated into the following categories:</source> +<target>כתוצ××” ×”×§×‘×¦×™× ×¡×•×•×’×• לפי הקטגוריות הב×ות:</target> +<source>- equal</source> +<target>- שווה</target> +<source>- left newer</source> +<target>- שמ×לי חדש יותר</target> +<source>- right newer</source> +<target>- ×™×ž× ×™ חדש יותר</target> +<source>- exists left only</source> +<target>- × ×ž×¦× ×ž×©×ž×ל בלבד</target> +<source>- exists right only</source> +<target>- × ×ž×¦× ×ž×™×ž×™×Ÿ בלבד</target> +<source>- conflict (same date, different size)</source> +<target>- ת×ריך ×–×”×” - גודל ×©×•× ×”) ×§×•× ×¤×œ×™×§×˜)</target> +<source>Compare by "File content"</source> +<target>"File content" השווה ×¢"×™ תכולת הקובץ</target> +<source> +As the name suggests, two files which share the same name are marked as equal if and only if they have the same content. This option is useful for consistency checks rather than backup operations. Therefore the file times are not taken into account at all. + +With this option enabled the decision tree is smaller: +</source> +<target> +כמשתמע, ×©× ×™ ×§×‘×¦×™× ×”×—×•×œ×§×™× ×©× ×–×”×” ×ž×¡×•×ž× ×™× ×›×–×”×™× ×× ×•×¨×§ ×× ×”× ×‘×¢×œ×™ תכולה ×–×”×”. פעולה זו שימושית לבדיקת עקביות יותר מ×שר לעולות גיבוי. לכן תגי הזמן ××™× × ×ž×©×ž×©×™× ×›×œ×œ לצורך הבדיקה. + +×›×שר ×פשרות זו פעילה ×¢×¥ ההחלטות ×”×•× ×§×˜×Ÿ יותר: +</target> +<source>- different</source> +<target>- ×©×•× ×”</target> +<source>Source code written in C++ utilizing:</source> +<target>קוד מקור × ×›×ª×‘ ב- C++ ב×מצעות:</target> +<source>Big thanks for localizing FreeFileSync goes out to:</source> +<target>תודות עבור עבודות ×”×ª×¨×’×•× ×©×œ ×ª×•×›× ×ª ×”×¡× ×›×¨×•×Ÿ:</target> +<source>Feedback and suggestions are welcome at:</source> +<target>תגובות והצעות ותקבלו בברכה:</target> +<source>FreeFileSync at Sourceforge</source> +<target>FreeFileSync ב Sourceforge</target> +<source>Homepage</source> +<target>×תר-הבית:</target> +<source>If you like FFS</source> +<target>במידה ו-FFS מוצ×ת חן ×‘×¢×™× ×›×</target> +<source>Donate with PayPal</source> +<target>×ª×¨×•× ×¢× ×¤×™×™×¤×œ</target> +<source>Email</source> +<target>דו×"ל:</target> +<source>Report translation error</source> +<target>דווח שגי×ת תרגו×:</target> +<source>Published under the GNU General Public License:</source> +<target>×ž×¤×•×¨×¡× ×‘×ž×¡×’×¨×ª GNU General Public License:</target> +<source>Ignore subsequent errors</source> +<target>×”×ª×¢×œ× ×ž×©×’×™×ות × ×™×©× ×•×ª</target> +<source>Hide further error messages during the current process</source> +<target>הסתר הודעות שגי××” × ×•×¡×¤×•×ª בהמשך התהליך ×”× ×•×›×—×™</target> +<source>&Ignore</source> +<target>&התעל×</target> +<source>&Retry</source> +<target>&× ×¡×” ×©× ×™×ª</target> +<source>Do not show this dialog again</source> +<target>×ל תר××” מסך ×–×” ×©× ×™×ª</target> +<source>&Switch</source> +<target>&החלפה</target> +<source>&Yes</source> +<target>&כן</target> +<source>&No</source> +<target>&ל×</target> +<source>Delete on both sides</source> +<target>מחק ×‘×©× ×™ הצדדי×</target> +<source>Delete on both sides even if the file is selected on one side only</source> +<target>מחק ×‘×©× ×™ ×”×¦×“×“×™× ××£ ×× ×”×§×•×‘×¥ × ×‘×—×¨ בצד ×חד בלבד</target> +<source>Use Recycle Bin</source> +<target>השתמש בסל המיחזור</target> +<source> +Only files/directories that match all filter settings will be selected for synchronization. +Note: The name filter must be specified relative(!) to main synchronization directories. +</source> +<target> +רק קבצי×\מחיצות המת××™×ž×™× ×œ×›×œ הגדרות ×”×ž×¡× ×Ÿ ×™×¡×•×ž× ×• ×œ×¡×™× ×›×¨×•×Ÿ. +הערה: ×”×©× ×œ×¡×™× ×•×Ÿ חייב להיות מוגדר ב×ו×ן יחסי (!) למחיצות הר×שיות ×œ×¡×™× ×›×¨×•×Ÿ. +</target> +<source>Hints:</source> +<target>טיפי×:</target> +<source>1. Enter relative file or directory names separated by ';' or a new line.</source> +<target>1. ×”×›× ×¡ ×©× ×§×•×‘×¥ ×ו ×©× ×ª×™×§×™×” ×ž×•×¤×¨×“×™× ×¢"×™ ';' ×ו דורה חדשה</target> +<source>2. Use wildcard characters '*' and '?'.</source> +<target>2. השתמש ב××©×¤×™× '*' ×ו '?'לבחירה מרובה.</target> +<source>3. Exclude files directly on main grid via context menu.</source> +<target>3. ×”×•×¦× ×§×‘×¦×™× ×”×™×™×©×¨ ב×סכלה עיקרית דרך תפריט הקשר.</target> +<source>Example</source> +<target>דוגמה</target> +<source> +Include: *.doc;*.zip;*.exe +Exclude: \stuff\temp\* +</source> +<target> +כלול: *.doc;*.zip;*.exe +×ל תכלול: \stuff\temp\* +</target> +<source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> +<target>×¡× ×›×¨×Ÿ .doc, .zip und .exe כל ×”×§×‘×¦×™× ×‘×ª×™×§×™×ª ×ž×©× ×” "temp".</target> +<source>Include</source> +<target>כלול</target> +<source>Exclude</source> +<target>×ל תכלול</target> +<source>Select time span:</source> +<target>סמן טווח זמן</target> +<source>Minimum file size:</source> +<target>גודל קובץ ×ž×™× ×™×ž×œ×™</target> +<source>Maximum file size:</source> +<target>גודל קובץ מכסימלי</target> +<source>&Default</source> +<target>&ברירת מחדל</target> +<source>Move column up</source> +<target>העלה עמודה</target> +<source>Move column down</source> +<target>הורד עמודה</target> +<source>Copy locked files</source> +<target>העתק ×§×‘×¦×™× × ×¢×•×œ×™×</target> +<source> +Copy shared or locked files using Volume Shadow Copy Service +(Requires Administrator rights) +</source> +<target> +העתק ×§×‘×¦×™× ×‘×©×™×ª×•×£ ×ו × ×¢×•×œ×™× ×‘×מצעות שרות Volume Shadow Copy Service +(דורש הרש×ות ×ž× ×”×œ מערכת) +</target> +<source>Copy filesystem permissions</source> +<target>העתק הרש×ות של מערכת הקבצי×</target> +<source> +Transfer file and directory permissions +(Requires Administrator rights) +</source> +<target> +העבר הרש×ות ×§×‘×¦×™× ×•×ž×—×™×¦×•×ª +(דורש הרש×ות ×ž× ×”×œ מערכת) +</target> +<source>Hidden dialogs:</source> +<target>די××œ×•×’×™× ×ž×•×¡×ª×¨×™×:</target> +<source>Reset</source> +<target>×פס</target> +<source>Show hidden dialogs</source> +<target>הר××” די××œ×•×’×™× × ×¡×ª×¨×™×</target> +<source>External applications</source> +<target>×ª×•×›× ×” ×—×™×¦×•× ×™×ª</target> +<source>Description</source> +<target>ת×ור</target> +<source>Variant</source> +<target>×ž×©×ª× ×”</target> +<source>Statistics</source> +<target>סטטיסטיקה</target> +<source>Find what:</source> +<target>חפש מה:</target> +<source>Match case</source> +<target>הת×× ×¨×™×©×™×•×ª</target> +<source>&Find next</source> +<target>&×ž×¦× ×”×‘×</target> +<source>You may try to synchronize remaining items again (WITHOUT having to re-compare)!</source> +<target>!ב×פשרותך ×œ× ×¡×•×ª ×œ×¡× ×›×¨×Ÿ ×ת ×”×¢×¦×ž×™× ×”× ×•×ª×¨×™× ×ž×‘×œ×™ להשוות מחדש</target> +<source>Batch file created successfully!</source> +<target>קובץ ×צווה × ×•×¦×¨ בהצלחה!</target> +<source>Main bar</source> +<target>סרגל ר×שי</target> +<source>Folder pairs</source> +<target>זוגות מחיצות</target> +<source>Select view</source> +<target>בחר תצוגה</target> +<source>Folder Comparison and Synchronization</source> +<target>×¡× ×›×¨×•×Ÿ ×§×‘×¦×™× ×•×ž×—×™×¦×•×ª</target> +<source>Recycle Bin not yet supported for this system!</source> +<target>סל המחזור ×œ× × ×ª×ž×š כרגע במערכת הפעלה זו!</target> +<source>Set direction:</source> +<target>בחר כוון:</target> +<source>Exclude temporarily</source> +<target>×ל תכלול ×–×ž× ×™×ª</target> +<source>Include temporarily</source> +<target>כלול ×–×ž× ×™×ª</target> +<source>Exclude via filter:</source> +<target>×ל תכלול בעזרת ×¡× ×Ÿ:</target> +<source><multiple selection></source> +<target><בחירה מרובה></target> +<source>D-Click</source> +<target>לחיצה-כפולה</target> +<source>Delete</source> +<target>מחק</target> +<source>Customize...</source> +<target>מות×× ×ישית...</target> +<source>Auto-adjust columns</source> +<target>עימוד ×וטומטי</target> +<source>Include all rows</source> +<target>כלול ×ת כל השורות</target> +<source>Exclude all rows</source> +<target>×ל תכלול ×ת כל השורות</target> +<source>Reset view</source> +<target>×פס תצוגה</target> +<source>Show "%x"</source> +<target>הר××” "%x"</target> +<source><Last session></source> +<target><פעילות ××—×¨×•× ×”></target> +<source>Configuration saved!</source> +<target>תצורה × ×©×ž×¨×”!</target> +<source>Save changes to current configuration?</source> +<target>שמור ×©×™× ×•×™×™× ×œ×ª×¦×•×¨×” × ×•×›×—×™×ª?</target> +<source>Configuration loaded!</source> +<target>תצורה ×”×•×˜×¢× ×”!</target> +<source>Hide files that exist on left side only</source> +<target>הסתר ×§×‘×¦×™× ×”×§×™×ž×™× ×ך ורק בצד שמ×ל</target> +<source>Show files that exist on left side only</source> +<target>הר××” ×§×‘×¦×™× ×”× ×ž×¦××™× ×ך ורק בצד שמ×ל</target> +<source>Hide files that exist on right side only</source> +<target>הסתר ×§×‘×¦×™× ×”×§×™×ž×™× ×ך ורק בצד ימין</target> +<source>Show files that exist on right side only</source> +<target>הר××” ×§×‘×¦×™× ×”× ×ž×¦××™× ×ך ורק בצד ימין</target> +<source>Hide files that are newer on left</source> +<target>הסתר ×§×‘×¦×™× ×—×“×©×™× ×™×•×ª×¨ בצד שמ×ל</target> +<source>Show files that are newer on left</source> +<target>הר××” ×§×‘×¦×™× ×—×“×©×™× ×™×•×ª×¨ בצד שמ×ל</target> +<source>Hide files that are newer on right</source> +<target>הסתר ×§×‘×¦×™× ×—×“×©×™× ×™×•×ª×¨ בצד ימין</target> +<source>Show files that are newer on right</source> +<target>הר××” ×§×‘×¦×™× ×—×“×©×™× ×™×•×ª×¨ בצד ימין</target> +<source>Hide files that are equal</source> +<target>הסתר ×§×‘×¦×™× ×©××™× × ×©×•×•×™×</target> +<source>Show files that are equal</source> +<target>הר××” ×§×‘×¦×™× ×©×•×•×™×</target> +<source>Hide files that are different</source> +<target>הסתר ×§×‘×¦×™× ×©×•× ×™×</target> +<source>Show files that are different</source> +<target>הר××” ×§×‘×¦×™× ×©×•× ×™×</target> +<source>Hide conflicts</source> +<target>הסתר ×§×•× ×¤×œ×™×§×˜×™×</target> +<source>Show conflicts</source> +<target>הר××” ×§×•× ×¤×œ×™×§×˜×™×</target> +<source>Hide files that will be created on the left side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×™×•×¦×¨×• בצד שמ×ל</target> +<source>Show files that will be created on the left side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×•×•×¦×¨×• בצד שמ×ל</target> +<source>Hide files that will be created on the right side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×™×•×¦×¨×• בצד ימין</target> +<source>Show files that will be created on the right side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×•×•×¦×¨×• בצד ימין</target> +<source>Hide files that will be deleted on the left side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×ž×—×§×• בצד שמ×ל</target> +<source>Show files that will be deleted on the left side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×ž×—×§×• בצד שמ×ל</target> +<source>Hide files that will be deleted on the right side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×ž×—×§×• בצד ימין</target> +<source>Show files that will be deleted on the right side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×ž×—×§×• בצד ימין</target> +<source>Hide files that will be overwritten on left side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×“×¨×¡×• בצד שמ×ל</target> +<source>Show files that will be overwritten on left side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×“×¨×¡×• בצד שמ×ל</target> +<source>Hide files that will be overwritten on right side</source> +<target>הסתר ×§×‘×¦×™× ×©×™×“×¨×¡×• בצד ימין</target> +<source>Show files that will be overwritten on right side</source> +<target>הר××” ×§×‘×¦×™× ×©×™×“×¨×¡×• בצד ימין</target> +<source>Hide files that won't be copied</source> +<target>הסתר ×§×‘×¦×™× ×שר ×œ× ×™×•×¢×ª×§×•</target> +<source>Show files that won't be copied</source> +<target>הר××” ×§×‘×¦×™× ×©×œ× ×™×•×¢×ª×§×•</target> +<source>All directories in sync!</source> +<target>כל המחיצות ×ž×¡×•× ×›×¨× ×•×ª!</target> +<source>Please run a Compare first before synchronizing!</source> +<target>הרץ השוו××” ×œ×¤× ×™ ×¡× ×›×¨×•×Ÿ!</target> +<source>Comma separated list</source> +<target>רשימה מופרדת פסיקי×</target> +<source>Legend</source> +<target>מקר×</target> +<source>File list exported!</source> +<target>רשימת ×§×‘×¦×™× ×™×•×¦××”!</target> +<source> +<pluralform>Object deleted successfully!</pluralform> +<pluralform>%x objects deleted successfully!</pluralform> +</source> +<target> +<pluralform>×”×¢×¦× × ×ž×—×§ בהצלחה!</pluralform> +<pluralform>%x ×¢×¦×ž×™× × ×ž×—×§×• בהצלחה!</pluralform> +</target> +<source> +<pluralform>1 directory</pluralform> +<pluralform>%x directories</pluralform> +</source> +<target> +<pluralform>1 מחיצה</pluralform> +<pluralform>%x מחיצות</pluralform> +</target> +<source> +<pluralform>1 file</pluralform> +<pluralform>%x files</pluralform> +</source> +<target> +<pluralform>1 קובץ</pluralform> +<pluralform>%x קבצי×</pluralform> +</target> +<source> +<pluralform>%x of 1 row in view</pluralform> +<pluralform>%x of %y rows in view</pluralform> +</source> +<target> +<pluralform>%x מתוך 1 שורה בתצוגה</pluralform> +<pluralform>%x מתוך %y שורות בתצוגה</pluralform> +</target> +<source>Scanning...</source> +<target>סורק...</target> +<source>Comparing content...</source> +<target>משווה תכולה...</target> +<source>Paused</source> +<target>עצור</target> +<source>Aborted</source> +<target>הופסק</target> +<source>Completed</source> +<target>הושל×</target> +<source>Abort requested: Waiting for current operation to finish...</source> +<target>התקבלה בקשת ביטול: מחכה לפעולה ×”× ×•×›×—×™×ª להסתיי×...</target> +<source>Continue</source> +<target>המשך</target> +<source>Pause</source> +<target>עצור</target> +<source>Cannot find %x</source> +<target>×œ× ×ž×•×¦× %x</target> +<source>DECISION TREE</source> +<target>×¢×¥-החלטה</target> +<source>file exists on both sides</source> +<target>קובץ × ×ž×¦× ×‘×©× ×™ הצדדי×</target> +<source>on one side only</source> +<target>בצד ×חד בלבד</target> +<source>same date</source> +<target>ת×ריך ×–×”×”</target> +<source>different date</source> +<target>ת×ריך ×©×•× ×”</target> +<source>Inactive</source> +<target>בלתי פעיל</target> +<source>Second</source> +<target>×©× ×™×™×”</target> +<source>Minute</source> +<target>דקה</target> +<source>Hour</source> +<target>שעה</target> +<source>Day</source> +<target>יממה</target> +<source>Byte</source> +<target>בייט</target> +<source>KB</source> +<target>קילו-בייט</target> +<source>MB</source> +<target>מגה-בייט</target> +<source>Filter: All pairs</source> +<target>כל הזוגות :×ž×¡×•× ×Ÿ</target> +<source>Filter: Single pair</source> +<target>זוג ×חד :×ž×¡×•× ×Ÿ</target> +<source>Ignore</source> +<target>התעל×</target> +<source>Direct</source> +<target>כוון</target> +<source>Follow</source> +<target>עקוב</target> +<source>Integrate external applications into context menu. The following macros are available:</source> +<target>הטמע ×ª×•×›× ×•×ª ×—×™×¦×•× ×™×•×ª. תפריטי המקרו הב××™× ×–×ž×™× ×™×:</target> +<source>- full file or directory name</source> +<target>- ×©× ×ž×œ× ×©×œ קובץ ×ו תיקיה</target> +<source>- directory part only</source> +<target>- חלק התיקיה בלבד</target> +<source>- Other side's counterpart to %name</source> +<target>- הצד ×”×©× ×™ מקביל ל- %name</target> +<source>- Other side's counterpart to %dir</source> +<target>- הצד ×”×©× ×™ מקביל ל- %dir</target> +<source>Restore all hidden dialogs?</source> +<target>שחזר כל הדי××œ×•×’×™× ×”× ×¡×ª×¨×™×?</target> +<source> +<pluralform>Do you really want to move the following object to the Recycle Bin?</pluralform> +<pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> +</source> +<target> +<pluralform>×”×× ×œ×”×¢×‘×™×¨ ×ת ×”×¢×¦× ×”×‘× ×œ×¡×œ המיחזור?</pluralform> +<pluralform>×”×× ×œ×”×¢×‘×™×¨ ×ת %x ×”×¢×¦×ž×™× ×”×‘××™× ×œ×¡×œ המיחזור?</pluralform> +</target> +<source> +<pluralform>Do you really want to delete the following object?</pluralform> +<pluralform>Do you really want to delete the following %x objects?</pluralform> +</source> +<target> +<pluralform>×”×× ×œ×ž×—×•×§ ×ת ×”×¢×¦× ×”×‘×?</pluralform> +<pluralform>×”×× ×œ×ž×—×•×§ ×ת %x ×”×¢×¦×ž×™× ×”×‘××™×?</pluralform> +</target> +<source>Leave as unresolved conflict</source> +<target>הש×ר ×›×§×•× ×¤×œ×™×§×˜ ×œ× ×ž×˜×•×¤×œ</target> +<source>Delete permanently</source> +<target>מחק לצמיתות</target> +<source>Delete or overwrite files permanently</source> +<target>מחק ×ו דרוס ×§×‘×¦×™× ×œ×¦×ž×™×ª×•×ª</target> +<source>Use Recycle Bin when deleting or overwriting files</source> +<target>השתמש בסל המיחזור ×›×שר מוחק ×ו דורס קבצי×</target> +<source>Versioning</source> +<target>עדכון גרס×ות</target> +<source>Move files into a time-stamped subdirectory</source> +<target>העבר ×§×‘×¦×™× ×œ×ª×•×š מחיצות ×¢× ×©× ×”×ž×›×™×œ טביעת זמן ות×ריך</target> +<source>Cannot determine sync-direction:</source> +<target>×œ× ×ž×–×”×” כוון ×¡× ×›×¨×•×Ÿ:</target> +<source>Filter settings have changed!</source> +<target>קביעת ×”×ž×¡× ×Ÿ ×©×•× ×•!</target> +<source>Both sides have changed since last synchronization!</source> +<target>×©× ×™ ×”×¦×“×“×™× ×©×•× ×• מ××– ×”×¡× ×›×¨×•×Ÿ ×”×חרון!</target> +<source>No change since last synchronization!</source> +<target>×ין ×©×™× ×•×™ מ××– ×”×¡× ×›×¨×•×Ÿ ×”×חרון!</target> +<source>The file was not processed by last synchronization!</source> +<target>קובץ ×–×” ×œ× ×˜×•×¤×œ ×‘×¡× ×›×¨×•×Ÿ ×”×חרון!</target> +<source>Planned directory deletion is in conflict with its subdirectories and -files!</source> +<target>מחיצה המיועדת למחיקה מצויה בסתירה לתקיות ×”×ž×©× ×” ולקבצי×!</target> +<source>Setting default synchronization directions: Old files will be overwritten with newer files.</source> +<target>בחר ברירת מחדל של ×¡× ×›×¨×•×Ÿ: ×§×‘×¦×™× ×™×©× ×™× ×™×“×¨×¡×• ×¢"×™ ×§×‘×¦×™× ×—×“×©×™× ×™×•×ª×¨.</target> +<source>The file does not contain a valid configuration:</source> +<target>קובץ ×–×” ×œ× ×ž×›×™×œ ×§×•× ×¤×™×’×•×¨×¦×™×” ברת תוקף</target> +<source>Scanning:</source> +<target>סורק:</target> +<source>Encoding extended time information: %x</source> +<target>מקודד ××™× ×¤×•×¨×ž×¦×™×ª זמן מורחבת: %x</target> +<source>You can ignore this error to consider the directory as empty.</source> +<target>×פשר ×œ×”×ª×¢×œ× ×ž×©×’×™××” זו ×•×œ×”× ×™×— ×›×™ המחיצה ריקה.</target> +<source>Directory does not exist:</source> +<target>מחיצה ×œ× ×§×™×™×ž×ª:</target> +<source>Directories are dependent! Be careful when setting up synchronization rules:</source> +<target>מחיצות תלויות! זהירות בהגדרת כללי ×¡× ×›×¨×•×Ÿ:</target> +<source>Comparing content of files %x</source> +<target>השווה תכולה של ×§×‘×¦×™× %x</target> +<source>Memory allocation failed!</source> +<target>הקצ×ת זכרון × ×›×©×œ×”!</target> +<source>File %x has an invalid date!</source> +<target>קובץ %x מכיל ת×ריך שגוי!</target> +<source>Conflict detected:</source> +<target>התגלה ×§×•× ×¤×œ×™×§×˜:</target> +<source>Files %x have the same date but a different size!</source> +<target>קובץ %x בעל ת×ריך ×–×”×” ×ך גודל ×©×•× ×”!</target> +<source>Symlinks %x have the same date but a different target!</source> +<target>קשור סימבולי %x בעל ת×ריך ×–×”×” ×ך מטרה ×©×•× ×”!</target> +<source>Comparing files by content failed.</source> +<target>השוו×ת ×§×‘×¦×™× ×‘×מצעות תכולה × ×›×©×œ×”.</target> +<source>Generating file list...</source> +<target>מייצר רשימת קבצי×...</target> +<source>Multiple...</source> +<target>הכפל...</target> +<source>Both sides are equal</source> +<target>×©× ×™ ×”×¦×“×“×™× ×©×•×•×™×</target> +<source>Files/folders differ in attributes only</source> +<target>קבצי×\מחיצות ×©×•× ×™× ×‘×¢×¨×›×™ ×”×ª×›×•× ×•×ª בלבד</target> +<source>Copy new file/folder to left</source> +<target>העתק קובץ\מחיצה חדש\×” מימין לשמ×ל</target> +<source>Copy new file/folder to right</source> +<target>העתק קובץ\מחיצה חדש\×” משמ×ל לימין</target> +<source>Delete left file/folder</source> +<target>מחק קובץ\מחיצה בצד שמ×ל</target> +<source>Delete right file/folder</source> +<target>מחק קובץ\מחיצה בצד ימין</target> +<source>Overwrite left file/folder with right one</source> +<target>העתק ודרוס קובץ\מחיצה מימין לשמ×ל</target> +<source>Overwrite right file/folder with left one</source> +<target>העתק ודרוס קובץ\מחיצה משמ×ל לימין</target> +<source>Do nothing</source> +<target>×ל תעשה כלו×</target> +<source>Copy file attributes only to left</source> +<target>העתק ×ª×›×•× ×•×ª קובץ בלבד מימין לשמ×ל</target> +<source>Copy file attributes only to right</source> +<target>העתק ×ª×›×•× ×•×ª קובץ בלבד משמ×ל לימין</target> +<source>Deleting file %x</source> +<target>מוחק קובץ %x</target> +<source>Deleting Symbolic Link %x</source> +<target>מוחק קישור סימבולי %x</target> +<source>Deleting folder %x</source> +<target>מוחק מחיצה %x</target> +<source>Moving %x to Recycle Bin</source> +<target>מעביר %x לסל המיחזור</target> +<source>Moving file %x to user-defined directory %y</source> +<target>מעביר קובץ %x למחיצה מוגדרת משתמש %y</target> +<source>Moving folder %x to user-defined directory %y</source> +<target>מעביר תיקיה %x למחיצה מוגדרת משתמש %y</target> +<source>Moving Symbolic Link %x to user-defined directory %y</source> +<target>מעביר קישור סימבולי %x למחיצה מוגדרת משתמש %y</target> +<source>Copying new file %x to %y</source> +<target>מעתיק קובץ חדש %x ×ל %y</target> +<source>Copying new Symbolic Link %x to %y</source> +<target>מעתיק קישור סימבולי חדש %x ×ל %y</target> +<source>Overwriting file %x in %y</source> +<target>דורס קובץ %x ב %y</target> +<source>Overwriting Symbolic Link %x in %y</source> +<target>דורס קיור סימבולי %x ב %y</target> +<source>Creating folder %x</source> +<target>יוצר מחיצה %x</target> +<source>Verifying file %x</source> +<target>מ×מת קובץ %x</target> +<source>Updating attributes of %x</source> +<target>מעדכן ×ª×›×•× ×•×ª של %x</target> +<source>Source directory does not exist anymore:</source> +<target>מחיצת המקור ×œ× × ×ž×¦×ת:</target> +<source>Generating database...</source> +<target>מיצר בסיס × ×ª×•× ×™×...</target> +<source>Nothing to synchronize according to configuration!</source> +<target>×ין מה ×œ×¡× ×›×¨×Ÿ ×¢"פ ×”×§×•× ×¤×™×’×•×¨×¦×™×”!</target> +<source>Target directory name must not be empty!</source> +<target>×©× ×©×œ מחיצת מטרה ××™× ×• יכול להיות ריק!</target> +<source>User-defined directory for deletion was not specified!</source> +<target>מחיצה מוגדרת משתמש למחיקה ×œ× ×ž×•×’×“×¨×ª!</target> +<source>Unresolved conflicts existing!</source> +<target>×§×™×™× ×§×•× ×¤×œ×™×§×˜ ×œ× ×¤×ª×•×¨!</target> +<source>You can ignore conflicts and continue synchronization.</source> +<target>ב×פשרותך ×œ×”×ª×¢×œ× ×ž×”×§×•× ×¤×œ×™×§×˜×™× ×•×œ×”×ž×©×™×š ×‘×¡× ×›×¨×•×Ÿ.</target> +<source>Significant difference detected:</source> +<target>התגלה ×©×•× ×™ גדול מידי:</target> +<source>More than 50% of the total number of files will be copied or deleted!</source> +<target>יותר מ 50% ×ž×”×§×‘×¦×™× ×™×ž×—×§×• ×ו יועתקו!</target> +<source>Not enough free disk space available in:</source> +<target>×ין מספיק ×ž×§×•× ×“×™×¡×§ ×¤× ×•×™ ב:</target> +<source>Free disk space required:</source> +<target>×ž×§×•× ×“×™×¡×§ ×¤× ×•×™ × ×“×¨×©:</target> +<source>Free disk space available:</source> +<target>×ž×§×•× ×¤× ×•×™ בדיסק:</target> +<source>A directory will be modified which is part of multiple folder pairs! Please review synchronization settings!</source> +<target>מחיצה ×©×ª×©×ª× ×” ×”×™× ×—×œ×§ מריבוי זוגות מחיצות! בבקשה בדוק הגדרות ×¡×™× ×›×¨×•×Ÿ!</target> +<source>Processing folder pair:</source> +<target>מבצע זוג מחיצות:</target> +<source>Error copying locked file %x!</source> +<target>שגי××” בהעתקת קובץ × ×¢×•×œ %x!</target> +<source>Data verification error: Source and target file have different content!</source> +<target>שגי××” של ×ימות × ×ª×•× ×™× ×§×•×‘×¥ מקור ומטרה בעלי תכולת × ×ª×•× ×™× ×©×•× ×”!</target> diff --git a/BUILD/Languages/hungarian.lng b/BUILD/Languages/hungarian.lng index 093db082..2ab1e43f 100644 --- a/BUILD/Languages/hungarian.lng +++ b/BUILD/Languages/hungarian.lng @@ -8,7 +8,7 @@ </header> <source>Show in Explorer</source> -<target></target> +<target>Mutatás az IntézÅ‘ben</target> <source>Open with default application</source> <target>Megnyitás az alapértelmezett alkalmazással</target> <source>Browse directory</source> @@ -17,8 +17,22 @@ <target>RealtimeSync - Automatikus szinkronizálás</target> <source>Browse</source> <target>Tallózás</target> +<source>Invalid commandline: "%x"</source> +<target>Érvénytelen parancssor: "%x"</target> <source>Error resolving symbolic link:</source> <target>A szimbolikus link feloldása sikertelen:</target> +<source>Show popup</source> +<target>Felbukkanó ablak mutatása</target> +<source>Show popup on errors or warnings</source> +<target>ÉrtesÃtés felbukkanó ablakban a hibákról és figyelmeztetésekrÅ‘l</target> +<source>Ignore errors</source> +<target>Hibák figyelmen kÃvül hagyása</target> +<source>Hide all error and warning messages</source> +<target>Összes hibaüzenet és figyelmeztetés elrejtése</target> +<source>Exit instantly</source> +<target>Kilépés azonnal</target> +<source>Abort synchronization immediately</source> +<target>Szinkronizáció azonnali megszakÃtása</target> <source>Select alternate synchronization settings</source> <target>AlternatÃv szinkronizációs beállÃtások kiválasztása</target> <source>No filter selected</source> @@ -58,7 +72,7 @@ <source>%x MB</source> <target>%x MB</target> <source>%x KB</source> -<target></target> +<target>%x KB</target> <source>%x GB</source> <target>%x GB</target> <source> @@ -66,6 +80,8 @@ <pluralform>%x Bytes</pluralform> </source> <target> +<pluralform>1 Bájt</pluralform> +<pluralform>%x Bájt</pluralform> </target> <source><Symlink></source> <target><Symlink></target> @@ -112,19 +128,19 @@ <pluralform>%x sec</pluralform> </source> <target> +<pluralform>1 másodperc</pluralform> +<pluralform>%x másodperc</pluralform> </target> <source>Info</source> <target>Információ</target> <source>Fatal Error</source> <target>Kritikus hiba</target> +<source>Invalid FreeFileSync config file!</source> +<target>Érvénytelen a FreeFileSync beállÃtásait tartalmazó fájl!</target> <source>File does not exist:</source> <target>A következÅ‘ fájl nem létezik:</target> <source>Error parsing configuration file:</source> <target>A beállÃtásokat tartalmazó fájl feldolgozása sikertelen:</target> -<source>Error writing file:</source> -<target>A fájl Ãrása sikertelen:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Érvénytelen a FreeFileSync beállÃtásait tartalmazó fájl!</target> <source>/sec</source> <target>/másodperc</target> <source> @@ -132,18 +148,24 @@ <pluralform>%x min</pluralform> </source> <target> +<pluralform>1 perc</pluralform> +<pluralform>%x perc</pluralform> </target> <source> <pluralform>1 hour</pluralform> <pluralform>%x hours</pluralform> </source> <target> +<pluralform>1 óra</pluralform> +<pluralform>%x óra</pluralform> </target> <source> <pluralform>1 day</pluralform> <pluralform>%x days</pluralform> </source> <target> +<pluralform>1 nap</pluralform> +<pluralform>%x nap</pluralform> </target> <source>S&ave configuration...</source> <target>BeállÃtások mentés&e...</target> @@ -207,8 +229,6 @@ A parancssor végrehajtódik minden alkalommal, ha: <target>Figyelés aktÃv...</target> <source>Waiting for missing directories...</source> <target>Várakozás a hiányzó mappákra...</target> -<source>Command line is empty!</source> -<target>A parancssor üres!</target> <source>Could not initialize directory monitoring:</source> <target>A mappafigyelés inicializálása sikertelen:</target> <source>A directory input field is empty.</source> @@ -249,12 +269,18 @@ A parancssor végrehajtódik minden alkalommal, ha: <target>A fájl másolása sikertelen:</target> <source>Error opening file:</source> <target>A fájl megnyitása sikertelen:</target> +<source>Error writing file:</source> +<target>A fájl Ãrása sikertelen:</target> <source>Error reading file:</source> <target>A fájl olvasása sikertelen:</target> <source>Endless loop when traversing directory:</source> <target>Végtelen hurok a mappák bejárásakor:</target> <source>Error traversing directory:</source> <target>A mappa átnézése sikertelen:</target> +<source>Windows Error Code %x:</source> +<target>Windows hibakód %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux hibakód %x:</target> <source>Error setting privilege:</source> <target>Hiba történt a jogok beállÃtása közben:</target> <source>Error moving to Recycle Bin:</source> @@ -279,18 +305,6 @@ A parancssor végrehajtódik minden alkalommal, ha: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>A következÅ‘ XML-csomópontok értékének beolvasása sikertelen:</target> -<source>Show popup</source> -<target>Felbukkanó ablak mutatása</target> -<source>Show popup on errors or warnings</source> -<target>ÉrtesÃtés felbukkanó ablakban a hibákról és figyelmeztetésekrÅ‘l</target> -<source>Ignore errors</source> -<target>Hibák figyelmen kÃvül hagyása</target> -<source>Hide all error and warning messages</source> -<target>Összes hibaüzenet és figyelmeztetés elrejtése</target> -<source>Exit instantly</source> -<target>Kilépés azonnal</target> -<source>Abort synchronization immediately</source> -<target>Szinkronizáció azonnali megszakÃtása</target> <source>Logging</source> <target>Naplózás</target> <source>FreeFileSync batch file</source> @@ -395,8 +409,8 @@ A parancssor végrehajtódik minden alkalommal, ha: <target>Jobb oldal</target> <source>Batch job</source> <target>Kötegelt feladat</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Egy kötegelt feladat fájl létrehozása az automatizált szinkronizációhoz. Kötegelt feladat módban való indÃtáshoz egyszerűen meg kell adni a fájl nevét a FreeFileSync.exe-nek: FreeFileSync.exe <kötegelt feladat fájl>. Ezt ütemezni is lehet az operációs rendszer feladatkezelÅ‘jével.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Kötegelt feladat fájl létrehozása az automatizált szinkronizációhoz. Kötegelt feladat módban való indÃtáshoz csak simán duplát kell kattintani a fájlon vagy a parancssorból kell futtatni: FreeFileSync.exe <kötegelt feladat fájl>.futtasd egyszerűen meg kell adni a fájl nevét a FreeFileSync.exe-nek: FreeFileSync.exe <kötegelt feladat fájl>. Ezt ütemezni is lehet az operációs rendszer feladatkezelÅ‘jével.</target> <source>Help</source> <target>Súgó</target> <source>Configuration overview:</source> @@ -463,17 +477,17 @@ A parancssor végrehajtódik minden alkalommal, ha: <target>Kategória</target> <source>Action</source> <target>Művelet</target> -<source>Files/folders that exist on left side only</source> +<source>File/folder exists on left side only</source> <target>Csak a bal oldalon létezÅ‘ fájlok/mappák</target> -<source>Files/folders that exist on right side only</source> +<source>File/folder exists on right side only</source> <target>Csak a jobb oldalon létezÅ‘ fájlok/mappák</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Mindkét oldalon létezÅ‘ fájlok, de a bal oldali újabb</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Mindkét oldalon létezÅ‘ fájlok, de a jobb oldali újabb</target> -<source>Files that have different content</source> -<target>Fájlok, amelyeknek különbözÅ‘ a tartalmuk:</target> -<source>Conflicts/files that cannot be categorized</source> +<source>Left file is newer</source> +<target>A bal oldalon lévÅ‘ fájl újabb</target> +<source>Right file is newer</source> +<target>A jobb oldalon lévÅ‘ fájl újabb</target> +<source>Files have different content</source> +<target>A fájlok tartalma különbözÅ‘</target> +<source>Conflict/file cannot be categorized</source> <target>Kategorizálhatatlan ütközések/fájlok</target> <source>Compare by...</source> <target>ÖsszehasonlÃtás</target> @@ -484,7 +498,7 @@ Files are found equal if are the same </source> <target> -A fájlok megegyezÅ‘ ha +A fájlok megegyeznek, ha - a fájlméret - az utolsó módosÃtás dátuma megegyezik @@ -497,7 +511,7 @@ Files are found equal if is the same </source> <target> -A fájlok megegyezÅ‘ ha +A fájlok megegyeznek, ha - a fájlok tartalma megegyezik </target> @@ -529,8 +543,8 @@ megegyezik <target>- csak a bal oldalon létezik</target> <source>- exists right only</source> <target>- csak a jobb oldalon létezik</target> -<source>- conflict</source> -<target>- ütközés</target> +<source>- conflict (same date, different size)</source> +<target>- ütközés (ugyanaz a dátum, különbözÅ‘ méret)</target> <source>Compare by "File content"</source> <target>ÖsszehasonlÃtás "fájltartalom" alapján</target> <source> @@ -546,7 +560,7 @@ Ennek az opciónak az engedélyezésével a döntési fa kisebb lesz: <source>- different</source> <target>- különbözÅ‘</target> <source>Source code written in C++ utilizing:</source> -<target></target> +<target>A programot C++-ban fejlesztették a következÅ‘k felhasználásával:</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> <target> Nagy köszönet a FreeFileSync lokalizációjáért @@ -594,7 +608,10 @@ a következÅ‘ személyeknek: Only files/directories that match all filter settings will be selected for synchronization. Note: The name filter must be specified relative(!) to main synchronization directories. </source> -<target></target> +<target> +Csak azok a fájlok/mappák lesznek kiválasztva a szinkronizáláshoz, amelyek minden szűrÅ‘beállÃtásnak megfelelnek. +Megjegyzés: A névszűrésnek relatÃvnak(!) kell lennie a fÅ‘ szinkronizációs mappához képest. +</target> <source>Hints:</source> <target>Tippek:</target> <source>1. Enter relative file or directory names separated by ';' or a new line.</source> @@ -609,19 +626,22 @@ Note: The name filter must be specified relative(!) to main synchronization dire Include: *.doc;*.zip;*.exe Exclude: \stuff\temp\* </source> -<target></target> +<target> +Csatolni: *.doc; *.zip; *.exe +Kizárni: \stuff\temp\* +</target> <source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> <target>Minden .doc, .zip és .exe fájl szinkronizálása a "temp" almappában találhatók kivételével.</target> <source>Include</source> -<target>Csatol</target> +<target>Csatolni</target> <source>Exclude</source> -<target>Kizár</target> +<target>Kizárni</target> <source>Select time span:</source> -<target></target> +<target>IdÅ‘tartam kiválasztása:</target> <source>Minimum file size:</source> -<target></target> +<target>Minimális fájlméret</target> <source>Maximum file size:</source> -<target></target> +<target>Maximális fájlméret:</target> <source>&Default</source> <target>&Alapértelmezett</target> <source>Move column up</source> @@ -694,10 +714,8 @@ Fájlok és mappák jogosultságainak átvitele <target><többszörös kijelölés></target> <source>D-Click</source> <target>D-Klikk</target> -<source>Copy to clipboard CTRL+C</source> -<target>Másolás a vágólapra CTRL+C</target> -<source>Delete files DEL</source> -<target>Fájlok törlése DEL</target> +<source>Delete</source> +<target>Törlés</target> <source>Customize...</source> <target>Testreszabás...</target> <source>Auto-adjust columns</source> @@ -789,24 +807,32 @@ Fájlok és mappák jogosultságainak átvitele <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Sikeresen töröltük az objektumot!</pluralform> +<pluralform>Sikeresen töröltünk %x objektumot!</pluralform> </target> <source> <pluralform>1 directory</pluralform> <pluralform>%x directories</pluralform> </source> <target> +<pluralform>1 mappát</pluralform> +<pluralform>%x mappát</pluralform> </target> <source> <pluralform>1 file</pluralform> <pluralform>%x files</pluralform> </source> <target> +<pluralform>1 fájlt</pluralform> +<pluralform>%x fájlt</pluralform> </target> <source> <pluralform>%x of 1 row in view</pluralform> <pluralform>%x of %y rows in view</pluralform> </source> <target> +<pluralform>%x/1 sor a nézetben</pluralform> +<pluralform>%x/%y sor a nézetben</pluralform> </target> <source>Scanning...</source> <target>Vizsgálat folyamatban...</target> @@ -832,30 +858,26 @@ Fájlok és mappák jogosultságainak átvitele <target>mindkét oldalon létezÅ‘ fájlok</target> <source>on one side only</source> <target>csak az egy oldalon létezÅ‘ fájlok</target> -<source>- left</source> -<target>- bal oldali</target> -<source>- right</source> -<target>- jobb oldali</target> -<source>different</source> -<target>különbözÅ‘</target> -<source>- conflict (same date, different size)</source> -<target>- ütközés (ugyanaz a dátum, különbözÅ‘ méret)</target> +<source>same date</source> +<target>megegyezÅ‘ dátum</target> +<source>different date</source> +<target>különbözÅ‘ dátum</target> <source>Inactive</source> -<target></target> +<target>InaktÃv</target> <source>Second</source> -<target></target> +<target>Másodperc</target> <source>Minute</source> -<target></target> +<target>Perc</target> <source>Hour</source> -<target></target> +<target>Óra</target> <source>Day</source> -<target></target> +<target>Nap</target> <source>Byte</source> -<target></target> +<target>Bájt</target> <source>KB</source> -<target></target> +<target>KB</target> <source>MB</source> -<target></target> +<target>MB</target> <source>Filter: All pairs</source> <target>SzűrÅ‘: Minden pár</target> <source>Filter: Single pair</source> @@ -883,12 +905,16 @@ Fájlok és mappák jogosultságainak átvitele <pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> </source> <target> +<pluralform>Valóban a Lomtárba akarod mozgatni a következÅ‘ objektumot?</pluralform> +<pluralform>Valóban a Lomtárba akarod mozgatni a következÅ‘ %x objektumot?</pluralform> </target> <source> <pluralform>Do you really want to delete the following object?</pluralform> <pluralform>Do you really want to delete the following %x objects?</pluralform> </source> <target> +<pluralform>Valóban törölni akarod a következÅ‘ objektumot?</pluralform> +<pluralform>Valóban törölni akarod a következÅ‘ %x objektumot?</pluralform> </target> <source>Leave as unresolved conflict</source> <target>Feloldatlan ütközésként hagyni</target> @@ -946,28 +972,28 @@ Fájlok és mappák jogosultságainak átvitele <target>Fájllista generálása...</target> <source>Multiple...</source> <target>SokszorosÃtás</target> -<source>Files that are equal on both sides</source> -<target>MegegyezÅ‘ fájlok mindkét oldalon</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Egyforma fájlok/mappák, melyek csak attribútumaikban különböznek</target> -<source>Copy from right to left</source> -<target>Másolás a jobb oldalról a bal oldalra</target> -<source>Copy from left to right</source> -<target>Másolás a bal oldalról a jobb oldalra</target> -<source>Delete files/folders existing on left side only</source> -<target>Csak a bal oldalon létezÅ‘ fájlok/mappák törlése</target> -<source>Delete files/folders existing on right side only</source> -<target>Csak a jobb oldalon létezÅ‘ fájlok/mappák törlése</target> -<source>Copy from right to left overwriting</source> -<target>Másolás a jobb oldalról a bal oldalra felülÃrással</target> -<source>Copy from left to right overwriting</source> -<target>Másolás a bal oldalról a jobb oldalra felülÃrással</target> +<source>Both sides are equal</source> +<target>Mindkét oldal egyforma</target> +<source>Files/folders differ in attributes only</source> +<target>Csak attribútumokban különbözÅ‘ fájlok/mappák</target> +<source>Copy new file/folder to left</source> +<target>Új fájl/mappa másolása a bal oldalra</target> +<source>Copy new file/folder to right</source> +<target>Új fájl/mappa másolása a jobb oldalra</target> +<source>Delete left file/folder</source> +<target>Bal oldali fájl/mappa törlése</target> +<source>Delete right file/folder</source> +<target>Jobb oldali fájl/mappa törlése</target> +<source>Overwrite left file/folder with right one</source> +<target>Bal oldali fájl/mappa felülÃrása a jobb oldalival</target> +<source>Overwrite right file/folder with left one</source> +<target>Jobb oldali fájl/mappa felülÃrása a bal oldalival</target> <source>Do nothing</source> <target>Nincs mit csinálni</target> -<source>Copy attributes only from right to left</source> -<target>Attribútumok másolása kizárólag jobbról balra</target> -<source>Copy attributes only from left to right</source> -<target>Attribútumok másolása kizárólag balról jobbra</target> +<source>Copy file attributes only to left</source> +<target>Fájl attribútumok másolása csak a bal oldalra</target> +<source>Copy file attributes only to right</source> +<target>Fájl attribútumok másolása csak a jobb oldalra</target> <source>Deleting file %x</source> <target>Fájl törlése %x</target> <source>Deleting Symbolic Link %x</source> @@ -998,10 +1024,12 @@ Fájlok és mappák jogosultságainak átvitele <target>A(z) %x attribútumainak frissÃtése</target> <source>Source directory does not exist anymore:</source> <target>A forrásként megadott mappa többé nem létezik:</target> +<source>Generating database...</source> +<target>Adatbázis generálása...</target> <source>Nothing to synchronize according to configuration!</source> <target>A beállÃtásoknak megfelelÅ‘en nincs mit szinkronizálni!</target> <source>Target directory name must not be empty!</source> -<target></target> +<target>A célmappa neve nem lehet üres!</target> <source>User-defined directory for deletion was not specified!</source> <target>A törléshez nem lett mappa megadva a felhasználó által!</target> <source>Unresolved conflicts existing!</source> @@ -1022,8 +1050,6 @@ Fájlok és mappák jogosultságainak átvitele <target>Egy olyan mappa kerül módosÃtásra, amely tagja több mappa párosnak! Kérjük, nézd át a szinkronizációs beállÃtásokat!</target> <source>Processing folder pair:</source> <target>Mappapár feldolgozása:</target> -<source>Generating database...</source> -<target>Adatbázis generálása...</target> <source>Error copying locked file %x!</source> <target>Hiba történt a(z) %x zárolt fájl másolása közben!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/italian.lng b/BUILD/Languages/italian.lng index 404d1fb5..32324996 100644 --- a/BUILD/Languages/italian.lng +++ b/BUILD/Languages/italian.lng @@ -8,7 +8,7 @@ </header> <source>Show in Explorer</source> -<target></target> +<target>Mostra in Esplora Risorse</target> <source>Open with default application</source> <target>Apri con applicazione di default</target> <source>Browse directory</source> @@ -17,8 +17,22 @@ <target>RealtimeSync - Sincronizzazione Automatizzata</target> <source>Browse</source> <target>Sfoglia</target> +<source>Invalid commandline: "%x"</source> +<target>Comando non valido: "%x"</target> <source>Error resolving symbolic link:</source> <target>Errore nella risoluzione di collegamento simbolico:</target> +<source>Show popup</source> +<target>Mostra popup</target> +<source>Show popup on errors or warnings</source> +<target>Mostra popup degli errori o avvisi</target> +<source>Ignore errors</source> +<target>Ignora gli errori</target> +<source>Hide all error and warning messages</source> +<target>Nascondi tutti gli errori e i messaggi d'avviso</target> +<source>Exit instantly</source> +<target>Esci istantaneamente</target> +<source>Abort synchronization immediately</source> +<target>Interrompi immediatamente la sincronizzazione</target> <source>Select alternate synchronization settings</source> <target>Seleziona impostazioni di sincronizzazione alternative</target> <source>No filter selected</source> @@ -58,7 +72,7 @@ <source>%x MB</source> <target>%x MB</target> <source>%x KB</source> -<target></target> +<target>%x KB</target> <source>%x GB</source> <target>%x GB</target> <source> @@ -66,6 +80,8 @@ <pluralform>%x Bytes</pluralform> </source> <target> +<pluralform>1 Byte</pluralform> +<pluralform>%x Byte</pluralform> </target> <source><Symlink></source> <target><Symlink></target> @@ -112,19 +128,19 @@ <pluralform>%x sec</pluralform> </source> <target> +<pluralform>1 sec</pluralform> +<pluralform>%x sec</pluralform> </target> <source>Info</source> <target>Info</target> <source>Fatal Error</source> -<target>Fatal Error</target> +<target>Errore Fatale</target> +<source>Invalid FreeFileSync config file!</source> +<target>File di configurazione FreeFileSync non valido!</target> <source>File does not exist:</source> <target>Il file non esiste:</target> <source>Error parsing configuration file:</source> <target>Errore nell'analisi del file di configurazione:</target> -<source>Error writing file:</source> -<target>Errore durante la scrittura del file:</target> -<source>Invalid FreeFileSync config file!</source> -<target>File di configurazione FreeFileSync non valido!</target> <source>/sec</source> <target>/sec</target> <source> @@ -132,18 +148,24 @@ <pluralform>%x min</pluralform> </source> <target> +<pluralform>1 min</pluralform> +<pluralform>%x min</pluralform> </target> <source> <pluralform>1 hour</pluralform> <pluralform>%x hours</pluralform> </source> <target> +<pluralform>1 ora</pluralform> +<pluralform>%x ore</pluralform> </target> <source> <pluralform>1 day</pluralform> <pluralform>%x days</pluralform> </source> <target> +<pluralform>1 giorno</pluralform> +<pluralform>%x giorni</pluralform> </target> <source>S&ave configuration...</source> <target>S&alva la configurazione...</target> @@ -207,8 +229,6 @@ La linea di comando è eseguita ogni volta che: <target>Monitoraggio attivo...</target> <source>Waiting for missing directories...</source> <target>In attesa delle directory mancanti...</target> -<source>Command line is empty!</source> -<target>Linea di comando e' vuota!</target> <source>Could not initialize directory monitoring:</source> <target>Monitoraggio directory non inizializzabile:</target> <source>A directory input field is empty.</source> @@ -249,12 +269,18 @@ La linea di comando è eseguita ogni volta che: <target>Errore durante la copia del file:</target> <source>Error opening file:</source> <target>Errore in apertura file:</target> +<source>Error writing file:</source> +<target>Errore durante la scrittura del file:</target> <source>Error reading file:</source> <target>Errore durante la lettura del file:</target> <source>Endless loop when traversing directory:</source> <target>Loop senza fine attraverso le directory:</target> <source>Error traversing directory:</source> <target>Errore nel percorso della directory:</target> +<source>Windows Error Code %x:</source> +<target>Errore Windows Codice %x:</target> +<source>Linux Error Code %x:</source> +<target>Errore Linux Codice %x:</target> <source>Error setting privilege:</source> <target>Errore nell'impostazione dei privilegi:</target> <source>Error moving to Recycle Bin:</source> @@ -279,18 +305,6 @@ La linea di comando è eseguita ogni volta che: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Impossibile leggere i valori per i seguenti nodi XML:</target> -<source>Show popup</source> -<target>Mostra popup</target> -<source>Show popup on errors or warnings</source> -<target>Mostra popup degli errori o avvisi</target> -<source>Ignore errors</source> -<target>Ignora gli errori</target> -<source>Hide all error and warning messages</source> -<target>Nascondi tutti gli errori e i messaggi d'avviso</target> -<source>Exit instantly</source> -<target>Esci istantaneamente</target> -<source>Abort synchronization immediately</source> -<target>Interrompi immediatamente la sincronizzazione</target> <source>Logging</source> <target>Logging</target> <source>FreeFileSync batch file</source> @@ -395,8 +409,8 @@ La linea di comando è eseguita ogni volta che: <target>Destra</target> <source>Batch job</source> <target>Batch job</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Componi un file batch per la sincronia automatica. Per partire in modalità batch fai semplicemente seguire il nome del file all'eseguibile di FreeFileSync: FreeFileSync.exe <nomefilebatch>. Puoi anche schedulare l'operazione nelle operazioni pianificate del sistema operativo.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Crea un file batch per sincronizzazione automatica. Per partire in modalità batch effettua semplicemente doppio click sul file o esegui da linea di comando: FreeFileSync.exe <batchfile>. Puoi anche schedulare il batch nelle operazioni pianificate del tuo sistema operativo.</target> <source>Help</source> <target>Aiuto</target> <source>Configuration overview:</source> @@ -463,18 +477,18 @@ La linea di comando è eseguita ogni volta che: <target>Categoria</target> <source>Action</source> <target>Azioni</target> -<source>Files/folders that exist on left side only</source> -<target>Files/cartelle esistenti solo a sinistra</target> -<source>Files/folders that exist on right side only</source> -<target>Files/cartelle esistenti solo a destra</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Files esistenti su entrambi i lati, più recenti a sinistra</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Files esistenti su entrambi i lati, più recenti a destra</target> -<source>Files that have different content</source> -<target>Files con contenuto differente</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflitti/files senza categoria di appartenenza</target> +<source>File/folder exists on left side only</source> +<target>File/cartella esiste solo sul lato sinistro</target> +<source>File/folder exists on right side only</source> +<target>File/cartella esiste solo sul lato destro</target> +<source>Left file is newer</source> +<target>File di sinistra è più recente</target> +<source>Right file is newer</source> +<target>File di destra è più recente</target> +<source>Files have different content</source> +<target>I file hanno differente contenuto</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflitti/file non possono essere categorizzati</target> <source>Compare by...</source> <target>Compara per...</target> <source> @@ -528,8 +542,8 @@ I file sono considerati identici se <target>- il file esiste solo a sinistra</target> <source>- exists right only</source> <target>- il file esiste solo a destra</target> -<source>- conflict</source> -<target>- conflitto</target> +<source>- conflict (same date, different size)</source> +<target>- conflitto (stessa data, dimensione diversa)</target> <source>Compare by "File content"</source> <target>Compara per "Contenuto dei file"</target> <source> @@ -545,7 +559,7 @@ Abilitando questa opzione l'albero delle decisioni è semplificato: <source>- different</source> <target>- file diversi</target> <source>Source code written in C++ utilizing:</source> -<target></target> +<target>Codice sorgente scritto in C++ utilizzando:</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> <target>Per la traduzione di FreeFileSync, un grazie va a:</target> <source>Feedback and suggestions are welcome at:</source> @@ -590,7 +604,10 @@ Abilitando questa opzione l'albero delle decisioni è semplificato: Only files/directories that match all filter settings will be selected for synchronization. Note: The name filter must be specified relative(!) to main synchronization directories. </source> -<target></target> +<target> +Solo file/cartelle che corrispondono a tutti i filtri impostati saranno selezionati per la sincronizzazione. +Nota: Il nome filtro deve essere specificato relativo(!) nelle directory principali di sincronizzazione. +</target> <source>Hints:</source> <target>Consigli:</target> <source>1. Enter relative file or directory names separated by ';' or a new line.</source> @@ -605,7 +622,10 @@ Note: The name filter must be specified relative(!) to main synchronization dire Include: *.doc;*.zip;*.exe Exclude: \stuff\temp\* </source> -<target></target> +<target> +Includi: *.doc;*.zip;*.exe +Escludi: \stuff\temp\* +</target> <source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> <target>Sincronizza tutti i file .doc, .zip e .exe eccetto tutti quelli nella cartella "temp".</target> <source>Include</source> @@ -613,11 +633,11 @@ Exclude: \stuff\temp\* <source>Exclude</source> <target>Escludi</target> <source>Select time span:</source> -<target></target> +<target>Seleziona intervallo temporale:</target> <source>Minimum file size:</source> -<target></target> +<target>Dimensione minima file:</target> <source>Maximum file size:</source> -<target></target> +<target>Dimensione massima file:</target> <source>&Default</source> <target>&Default</target> <source>Move column up</source> @@ -690,10 +710,8 @@ Trasferisci file e permessi sulle cartelle <target><selezione multipla></target> <source>D-Click</source> <target>D-Click</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copia nella clipboard CTRL+C</target> -<source>Delete files DEL</source> -<target>Elimina file DEL</target> +<source>Delete</source> +<target>Cancella</target> <source>Customize...</source> <target>Personalizza...</target> <source>Auto-adjust columns</source> @@ -785,27 +803,35 @@ Trasferisci file e permessi sulle cartelle <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Eliminazione oggetto riuscita!</pluralform> +<pluralform>%x oggetti eliminati con successo!</pluralform> </target> <source> <pluralform>1 directory</pluralform> <pluralform>%x directories</pluralform> </source> <target> +<pluralform>1 cartella</pluralform> +<pluralform>%x cartelle</pluralform> </target> <source> <pluralform>1 file</pluralform> <pluralform>%x files</pluralform> </source> <target> +<pluralform>1 file</pluralform> +<pluralform>%x file</pluralform> </target> <source> <pluralform>%x of 1 row in view</pluralform> <pluralform>%x of %y rows in view</pluralform> </source> <target> +<pluralform>%x di 1 riga in vista</pluralform> +<pluralform>%x di %y righe in vista</pluralform> </target> <source>Scanning...</source> -<target>Analisi in corso...</target> +<target>Scansione in corso...</target> <source>Comparing content...</source> <target>Comparazione contenuto...</target> <source>Paused</source> @@ -828,30 +854,26 @@ Trasferisci file e permessi sulle cartelle <target>file esistente su entrambi i lati</target> <source>on one side only</source> <target>file esistente su un solo lato</target> -<source>- left</source> -<target>- a sinistra</target> -<source>- right</source> -<target>- a destra</target> -<source>different</source> -<target>file differenti</target> -<source>- conflict (same date, different size)</source> -<target>- conflitto (stessa data, dimensione diversa)</target> +<source>same date</source> +<target>stessa data</target> +<source>different date</source> +<target>data diversa</target> <source>Inactive</source> -<target></target> +<target>Inattivo</target> <source>Second</source> -<target></target> +<target>Secondo</target> <source>Minute</source> -<target></target> +<target>Minuto</target> <source>Hour</source> -<target></target> +<target>Ora</target> <source>Day</source> -<target></target> +<target>Giorno</target> <source>Byte</source> -<target></target> +<target>Byte</target> <source>KB</source> -<target></target> +<target>KB</target> <source>MB</source> -<target></target> +<target>MB</target> <source>Filter: All pairs</source> <target>Filtro: Tutte le coppie</target> <source>Filter: Single pair</source> @@ -879,12 +901,16 @@ Trasferisci file e permessi sulle cartelle <pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> </source> <target> +<pluralform>Vuoi veramente spostare il seguente oggetto nel Cestino?</pluralform> +<pluralform>Vuoi veramente spostare i seguenti %x oggetti nel Cestino?</pluralform> </target> <source> <pluralform>Do you really want to delete the following object?</pluralform> <pluralform>Do you really want to delete the following %x objects?</pluralform> </source> <target> +<pluralform>Vuoi veramente cancellare il seguente oggetto?</pluralform> +<pluralform>Vuoi veramente cancellare i seguenti %x oggetti?</pluralform> </target> <source>Leave as unresolved conflict</source> <target>Lascia come conflitti irrisolti</target> @@ -942,28 +968,28 @@ Trasferisci file e permessi sulle cartelle <target>Generazione lista dei file...</target> <source>Multiple...</source> <target>Multiplo...</target> -<source>Files that are equal on both sides</source> -<target>Files identici su entrambi i lati</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Considera uguali file/cartelle che differiscono solo per gli attributi</target> -<source>Copy from right to left</source> -<target>Copia da destra a sinistra</target> -<source>Copy from left to right</source> -<target>Copia da sinistra a destra</target> -<source>Delete files/folders existing on left side only</source> -<target>Elimina files/cartelle esistenti solo a sinistra</target> -<source>Delete files/folders existing on right side only</source> -<target>Elimina files/cartelle esistenti solo a destra</target> -<source>Copy from right to left overwriting</source> -<target>Copia da destra a sinistra sovrascrivendo</target> -<source>Copy from left to right overwriting</source> -<target>Copia sinistra a destra sovrascrivendo</target> +<source>Both sides are equal</source> +<target>Entrambi i lati sono uguali</target> +<source>Files/folders differ in attributes only</source> +<target>File/cartelle differiscono solo negli attributi</target> +<source>Copy new file/folder to left</source> +<target>Copia nuovo file/cartella verso sinistra</target> +<source>Copy new file/folder to right</source> +<target>Copia nuovo file/cartella verso destra</target> +<source>Delete left file/folder</source> +<target>Cancella file/cartella di sinistra</target> +<source>Delete right file/folder</source> +<target>Cancella file/cartella di destra</target> +<source>Overwrite left file/folder with right one</source> +<target>Sovrascrivi file/cartella di sinistra con quello di destra</target> +<source>Overwrite right file/folder with left one</source> +<target>Sovrascrivi file/cartella di destra con quello di sinistra</target> <source>Do nothing</source> <target>Non fare nulla</target> -<source>Copy attributes only from right to left</source> -<target>Copia attributi solo da destra a sinistra</target> -<source>Copy attributes only from left to right</source> -<target>Copia attributi solo da sinistra a destra</target> +<source>Copy file attributes only to left</source> +<target>Copia i soli attributi file verso sinistra</target> +<source>Copy file attributes only to right</source> +<target>Copia i soli attributi file verso destra</target> <source>Deleting file %x</source> <target>Eliminazione file %x</target> <source>Deleting Symbolic Link %x</source> @@ -994,10 +1020,12 @@ Trasferisci file e permessi sulle cartelle <target>Aggiornamento attributi di %x</target> <source>Source directory does not exist anymore:</source> <target>La directory sorgente non è più esistente:</target> +<source>Generating database...</source> +<target>Generazione database...</target> <source>Nothing to synchronize according to configuration!</source> <target>Niente da sincronizzare in questa configurazione!</target> <source>Target directory name must not be empty!</source> -<target></target> +<target>Il nome della cartella di destinazione non può essere nullo!</target> <source>User-defined directory for deletion was not specified!</source> <target>Directory personalizzata per la cancellazione non specificata!</target> <source>Unresolved conflicts existing!</source> @@ -1018,8 +1046,6 @@ Trasferisci file e permessi sulle cartelle <target>Una directory che fa parte di più coppie di cartelle sarà modificata! Ricontrolla le impostazioni di sincronizzazione!</target> <source>Processing folder pair:</source> <target>Elaborazione coppia di cartelle:</target> -<source>Generating database...</source> -<target>Generazione database...</target> <source>Error copying locked file %x!</source> <target>Errore durante la copia del file bloccato %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/japanese.lng b/BUILD/Languages/japanese.lng index 4a44248b..a5fd933c 100644 --- a/BUILD/Languages/japanese.lng +++ b/BUILD/Languages/japanese.lng @@ -17,8 +17,22 @@ <target>リアルタイムåŒæœŸ - 自動åŒæœŸ</target> <source>Browse</source> <target>å‚ç…§</target> +<source>Invalid commandline: "%x"</source> +<target>無効ãªã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³: "%x"</target> <source>Error resolving symbolic link:</source> <target>シンボリックリンクã®è§£æ±ºã«å¤±æ•—:</target> +<source>Show popup</source> +<target>ãƒãƒƒãƒ—アップ表示</target> +<source>Show popup on errors or warnings</source> +<target>エラー/è¦å‘Šã‚’ãƒãƒƒãƒ—アップ表示</target> +<source>Ignore errors</source> +<target>エラーを無視</target> +<source>Hide all error and warning messages</source> +<target>ã™ã¹ã¦ã®ã‚¨ãƒ©ãƒ¼ã¨è¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’éžè¡¨ç¤º</target> +<source>Exit instantly</source> +<target>ã™ãã«çµ‚了</target> +<source>Abort synchronization immediately</source> +<target>今ã™ãã«åŒæœŸå‡¦ç†ã‚’ä¸æ–</target> <source>Select alternate synchronization settings</source> <target>代替åŒæœŸè¨å®šã‚’é¸æŠž</target> <source>No filter selected</source> @@ -119,14 +133,12 @@ <target>æƒ…å ±</target> <source>Fatal Error</source> <target>致命的ãªã‚¨ãƒ©ãƒ¼</target> +<source>Invalid FreeFileSync config file!</source> +<target>無効㪠FreeFileSync 構æˆãƒ•ã‚¡ã‚¤ãƒ«ã§ã™!</target> <source>File does not exist:</source> <target>ファイルãŒå˜åœ¨ã—ã¾ã›ã‚“:</target> <source>Error parsing configuration file:</source> <target>構æˆãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹æ–‡ã«èª¤ã‚ŠãŒã‚ã‚Šã¾ã™:</target> -<source>Error writing file:</source> -<target>ファイル書ãè¾¼ã¿ã‚¨ãƒ©ãƒ¼:</target> -<source>Invalid FreeFileSync config file!</source> -<target>無効㪠FreeFileSync 構æˆãƒ•ã‚¡ã‚¤ãƒ«ã§ã™!</target> <source>/sec</source> <target>/秒</target> <source> @@ -212,8 +224,6 @@ The command line is executed each time: <target>監視を開始ã—ã¾ã™...</target> <source>Waiting for missing directories...</source> <target>見失ã£ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®å¾…æ©Ÿä¸</target> -<source>Command line is empty!</source> -<target>コマンドラインãŒç©ºç™½ã§ã™!</target> <source>Could not initialize directory monitoring:</source> <target>監視ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’åˆæœŸåŒ–ã§ãã¾ã›ã‚“:</target> <source>A directory input field is empty.</source> @@ -254,12 +264,18 @@ The command line is executed each time: <target>ファイルã®ã‚³ãƒ”ーã«å¤±æ•—:</target> <source>Error opening file:</source> <target>ファイルã®ã‚ªãƒ¼ãƒ—ンã«å¤±æ•—:</target> +<source>Error writing file:</source> +<target>ファイル書ãè¾¼ã¿ã‚¨ãƒ©ãƒ¼:</target> <source>Error reading file:</source> <target>ファイルèªã¿è¾¼ã¿ã‚¨ãƒ©ãƒ¼:</target> <source>Endless loop when traversing directory:</source> <target>ディレクトリ移動ä¸ã«ç„¡é™ãƒ«ãƒ¼ãƒ—ãŒç™ºç”Ÿ:</target> <source>Error traversing directory:</source> <target>ディレクトリã®ç§»å‹•ã‚¨ãƒ©ãƒ¼:</target> +<source>Windows Error Code %x:</source> +<target>Windows エラーコード %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux エラーコード %x:</target> <source>Error setting privilege:</source> <target>特権ã®è¨å®šã‚¨ãƒ©ãƒ¼:</target> <source>Error moving to Recycle Bin:</source> @@ -284,18 +300,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>以下㮠XMLノードã®å€¤ã‚’èªã¿è¾¼ã‚€ã“ã¨ãŒå‡ºæ¥ã¾ã›ã‚“:</target> -<source>Show popup</source> -<target>ãƒãƒƒãƒ—アップ表示</target> -<source>Show popup on errors or warnings</source> -<target>エラー/è¦å‘Šã‚’ãƒãƒƒãƒ—アップ表示</target> -<source>Ignore errors</source> -<target>エラーを無視</target> -<source>Hide all error and warning messages</source> -<target>ã™ã¹ã¦ã®ã‚¨ãƒ©ãƒ¼ã¨è¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’éžè¡¨ç¤º</target> -<source>Exit instantly</source> -<target>ã™ãã«çµ‚了</target> -<source>Abort synchronization immediately</source> -<target>今ã™ãã«åŒæœŸå‡¦ç†ã‚’ä¸æ–</target> <source>Logging</source> <target>ãƒã‚°</target> <source>FreeFileSync batch file</source> @@ -335,7 +339,7 @@ The command line is executed each time: <source>FreeFileSync is up to date!</source> <target>FreeFileSync ã¯æœ€æ–°ã§ã™!</target> <source>Do you want FreeFileSync to automatically check for updates every week?</source> -<target>FreeFileSync ã®ã‚¢ãƒƒãƒ—デートã®æœ‰ç„¡ã®ç¢ºèªã‚’自動的ã«æ¯Žé€±è¡Œã„ã¾ã™ã‹></target> +<target>FreeFileSync ã®æ›´æ–°ç¢ºèªã‚’毎週自動的ã«è¡Œã„ã¾ã™ã‹?</target> <source>(Requires an Internet connection!)</source> <target>(インターãƒãƒƒãƒˆæŽ¥ç¶šã‚’å¿…è¦ã¨ã—ã¾ã™!)</target> <source>1. &Compare</source> @@ -400,12 +404,8 @@ The command line is executed each time: <target>å³å´</target> <source>Batch job</source> <target>一括処ç†</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target> -一括ã§åŒæœŸå‡¦ç†ã‚’è¡Œã†ãŸã‚ã®ãƒãƒƒãƒãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã—ã¾ã™ã€‚ 一括モードを開始ã™ã‚‹ã¨ãã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ‘スåを実行ファイル -< FreeFileSync.exe> -ã«ãƒãƒƒãƒãƒ•ã‚¡ã‚¤ãƒ«ã§æ¸¡ã™ã ã‘ã§ã™ã€‚ ã¾ãŸã€ã“ã®æ“作ã¯OSã®ã‚¿ã‚¹ã‚¯ã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ©ã‹ã‚‰å®Ÿè¡Œã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ -</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>åŒæœŸã‚’一括ã§è‡ªå‹•çš„ã«å®Ÿè¡Œã™ã‚‹ãŸã‚ã®ãƒãƒƒãƒãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã—ã¾ã™ã€‚実行ã¯.BAT ファイルをダブルクリックã€ã¾ãŸã¯æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚’実行ã—ã¾ã™: FreeFileSync.exe<batchfile>.BAT ファイルã¯ã€OS ã®ã‚¿ã‚¹ã‚¯ã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ©ã§å®Ÿè¡Œã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™</target> <source>Help</source> <target>ヘルプ</target> <source>Configuration overview:</source> @@ -472,18 +472,18 @@ The command line is executed each time: <target>カテゴリ</target> <source>Action</source> <target>æ“作</target> -<source>Files/folders that exist on left side only</source> +<source>File/folder exists on left side only</source> <target>å·¦å´ã®ã¿ã«å˜åœ¨ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«/フォルダ</target> -<source>Files/folders that exist on right side only</source> +<source>File/folder exists on right side only</source> <target>å³å´ã®ã¿ã«å˜åœ¨ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«/フォルダ</target> -<source>Files that exist on both sides, left one is newer</source> -<target>両å´ã«å˜åœ¨ã™ã‚‹ãŒã€å·¦å´ã®æ–¹ãŒã‚ˆã‚Šæ–°ã—ã„</target> -<source>Files that exist on both sides, right one is newer</source> -<target>両å´ã«å˜åœ¨ã™ã‚‹ãŒã€å³å´ã®æ–¹ãŒã‚ˆã‚Šæ–°ã—ã„</target> -<source>Files that have different content</source> -<target>内容ãŒç•°ãªã‚‹ãƒ•ã‚¡ã‚¤ãƒ«</target> -<source>Conflicts/files that cannot be categorized</source> -<target>分類ã®ã§ããªã„競åˆ/ファイル</target> +<source>Left file is newer</source> +<target>å·¦å´ã®æ–°ã—ã„ファイル</target> +<source>Right file is newer</source> +<target>å³å´ã®æ–°ã—ã„ファイル</target> +<source>Files have different content</source> +<target>ファイル内容ã¯ç•°ãªã‚Šã¾ã™</target> +<source>Conflict/file cannot be categorized</source> +<target>競åˆãŒã‚ã‚‹ãŸã‚分類ã§ãã¾ã›ã‚“</target> <source>Compare by...</source> <target>比較対象...</target> <source> @@ -538,8 +538,8 @@ is the same <target>- å·¦å´ã«ã®ã¿å˜åœ¨</target> <source>- exists right only</source> <target>- å³å´ã«ã®ã¿å˜åœ¨</target> -<source>- conflict</source> -<target>- ä¸ä¸€è‡´</target> +<source>- conflict (same date, different size)</source> +<target>- ä¸ä¸€è‡´ (åŒã˜æ—¥ä»˜, ç•°ãªã‚‹ã‚µã‚¤ã‚º)</target> <source>Compare by "File content"</source> <target>"ファイルã®å†…容" を比較</target> <source> @@ -555,7 +555,7 @@ With this option enabled the decision tree is smaller: <source>- different</source> <target>- 差異ã‚ã‚Š</target> <source>Source code written in C++ utilizing:</source> -<target></target> +<target>ソースコード㯠C++ ã§æ›¸ã‹ã‚Œã¦ã„ã¾ã™</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> <target>FreeFileSync ã®ãƒãƒ¼ã‚«ãƒ©ã‚¤ã‚ºã¸ã®å”力ã«æ„Ÿè¬ã—ã¾ã™:</target> <source>Feedback and suggestions are welcome at:</source> @@ -706,10 +706,8 @@ Transfer file and directory permissions <target><複数é¸æŠž></target> <source>D-Click</source> <target>W-クリック</target> -<source>Copy to clipboard CTRL+C</source> -<target>クリップボードã«ã‚³ãƒ”ー CTRL+C</target> -<source>Delete files DEL</source> -<target>ファイルを削除 DEL</target> +<source>Delete</source> +<target>削除</target> <source>Customize...</source> <target>カスタマイズ...</target> <source>Auto-adjust columns</source> @@ -848,14 +846,10 @@ Transfer file and directory permissions <target>両å´ã«å˜åœ¨ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«</target> <source>on one side only</source> <target>片å´ã®ã¿</target> -<source>- left</source> -<target>- å·¦å´</target> -<source>- right</source> -<target>- å³å´</target> -<source>different</source> -<target>差異ã‚ã‚Š</target> -<source>- conflict (same date, different size)</source> -<target>- ä¸ä¸€è‡´ (åŒã˜æ—¥ä»˜, ç•°ãªã‚‹ã‚µã‚¤ã‚º)</target> +<source>same date</source> +<target>日時ãŒåŒä¸€</target> +<source>different date</source> +<target>日時ãŒç•°ãªã‚‹</target> <source>Inactive</source> <target>éžã‚¢ã‚¯ãƒ†ã‚£ãƒ–</target> <source>Second</source> @@ -964,28 +958,28 @@ Transfer file and directory permissions <target>ファイル一覧を作æˆä¸...</target> <source>Multiple...</source> <target>複数処ç†...</target> -<source>Files that are equal on both sides</source> -<target>両å´ã§åŒæ§˜ã®ãƒ•ã‚¡ã‚¤ãƒ«</target> -<source>Equal files/folders that differ in attributes only</source> -<target>åŒæ§˜ã®ãƒ•ã‚¡ã‚¤ãƒ«/フォルダã§ã€å±žæ€§ã®ã¿ç•°ãªã‚‹</target> -<source>Copy from right to left</source> -<target>å³ã‹ã‚‰å·¦ã«ã‚³ãƒ”ー</target> -<source>Copy from left to right</source> -<target>å·¦ã‹ã‚‰å³ã«ã‚³ãƒ”ー</target> -<source>Delete files/folders existing on left side only</source> -<target>å·¦å´ã®ã¿ã«å˜åœ¨ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«/フォルダを削除</target> -<source>Delete files/folders existing on right side only</source> -<target>å³å´ã®ã¿ã«å˜åœ¨ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«/フォルダを削除</target> -<source>Copy from right to left overwriting</source> -<target>å³ã‹ã‚‰å·¦ã«ä¸Šæ›¸ãコピー</target> -<source>Copy from left to right overwriting</source> -<target>å·¦ã‹ã‚‰å³ã«ä¸Šæ›¸ãコピー</target> +<source>Both sides are equal</source> +<target>両å´ã¨ã‚‚ç‰ã—ã</target> +<source>Files/folders differ in attributes only</source> +<target>属性ã®ç•°ãªã‚‹ãƒ•ã‚¡ã‚¤ãƒ«/フォルダã®ã¿</target> +<source>Copy new file/folder to left</source> +<target>æ–°ã—ã„ファイル/フォルダを左å´ã«ã‚³ãƒ”ー</target> +<source>Copy new file/folder to right</source> +<target>æ–°ã—ã„ファイル/フォルダをå³å´ã«ã‚³ãƒ”ー</target> +<source>Delete left file/folder</source> +<target>å·¦å´ã®ãƒ•ã‚¡ã‚¤ãƒ«/フォルダを削除</target> +<source>Delete right file/folder</source> +<target>å³å´ã®ãƒ•ã‚¡ã‚¤ãƒ«/フォルダを削除</target> +<source>Overwrite left file/folder with right one</source> +<target>å³å´ã®ã‚‚ã®ã‚’å·¦å´ã®ãƒ•ã‚¡ã‚¤ãƒ«/フォルダã«ä¸Šæ›¸ã</target> +<source>Overwrite right file/folder with left one</source> +<target>å·¦å´ã®ã‚‚ã®ã‚’å³å´ã®ãƒ•ã‚¡ã‚¤ãƒ«/フォルダã«ä¸Šæ›¸ã</target> <source>Do nothing</source> <target>何もã—ãªã„</target> -<source>Copy attributes only from right to left</source> -<target>属性ã®ã¿å³ã‹ã‚‰å·¦ã«ã‚³ãƒ”ー</target> -<source>Copy attributes only from left to right</source> -<target>属性ã®ã¿å·¦ã‹ã‚‰å³ã«ã‚³ãƒ”ー</target> +<source>Copy file attributes only to left</source> +<target>ファイル属性ã®ã¿å·¦å´ã«ã‚³ãƒ”ー</target> +<source>Copy file attributes only to right</source> +<target>ファイル属性ã®ã¿å³å´ã«ã‚³ãƒ”ー</target> <source>Deleting file %x</source> <target>ファイル %x を削除ä¸</target> <source>Deleting Symbolic Link %x</source> @@ -1016,6 +1010,8 @@ Transfer file and directory permissions <target>%x ã®å±žæ€§ã‚’æ›´æ–°</target> <source>Source directory does not exist anymore:</source> <target>ソースディレクトリãŒå˜åœ¨ã—ã¾ã›ã‚“:</target> +<source>Generating database...</source> +<target>データベースを作æˆä¸...</target> <source>Nothing to synchronize according to configuration!</source> <target>構æˆè¨å®šã«å¯¾å¿œã™ã‚‹åŒæœŸãŒã¿ã¤ã‹ã‚Šã¾ã›ã‚“!</target> <source>Target directory name must not be empty!</source> @@ -1040,8 +1036,6 @@ Transfer file and directory permissions <target>複数ペアã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªè¨å®šéƒ¨åˆ†ã«å¤‰æ›´ã•ã‚ŒãŸç®‡æ‰€ãŒã‚ã‚Šã¾ã™! åŒæœŸè¨å®šã‚’å†ç¢ºèªã—ã¦ã¿ã¦ãã ã•ã„!</target> <source>Processing folder pair:</source> <target>フォルダペアを処ç†ä¸:</target> -<source>Generating database...</source> -<target>データベースを作æˆä¸...</target> <source>Error copying locked file %x!</source> <target>コピーã«å¤±æ•—! ファイル%x ã¯ãƒãƒƒã‚¯ã•ã‚Œã¦ã„ã¾ã™!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/korean.lng b/BUILD/Languages/korean.lng index 30b2ef4f..a476f52c 100644 --- a/BUILD/Languages/korean.lng +++ b/BUILD/Languages/korean.lng @@ -17,8 +17,22 @@ <target>실시간 ë™ê¸°í™” - ìžë™ ë™ê¸°í™”</target> <source>Browse</source> <target>찾아보기</target> +<source>Invalid commandline: "%x"</source> +<target>ìž˜ëª»ëœ ì»¤ë§¨ë“œë¼ì¸</target> <source>Error resolving symbolic link:</source> <target>ì‹¬ë³¼ë¦ ë§í¬ë¥¼ í•´ê²°í•˜ë˜ ì¤‘ ë°œìƒí•œ 오류 :</target> +<source>Show popup</source> +<target>íŒì—… 표시</target> +<source>Show popup on errors or warnings</source> +<target>오류/ê²½ê³ ê´€ë ¨ íŒì—… 표시</target> +<source>Ignore errors</source> +<target>오류 무시</target> +<source>Hide all error and warning messages</source> +<target>ëª¨ë“ ì˜¤ë¥˜/ê²½ê³ ë©”ì„¸ì§€ 숨기기</target> +<source>Exit instantly</source> +<target>즉시 종료</target> +<source>Abort synchronization immediately</source> +<target>ë™ê¸°í™” ìž‘ì—… 즉시 중단</target> <source>Select alternate synchronization settings</source> <target>대체 ë™ê¸°í™” ì„¤ì • ì„ íƒ</target> <source>No filter selected</source> @@ -30,7 +44,7 @@ <source>Remove alternate settings</source> <target>ëŒ€ì²´ì„¤ì • ì œê±°</target> <source>Create a batch job</source> -<target>ì¼ê´„ìž‘ì—…[Batch Job] ìƒì„±</target> +<target>ì¼ê´„ìž‘ì—… ìƒì„±</target> <source>Synchronization settings</source> <target>ë™ê¸°í™” ì„¤ì •</target> <source>Comparison settings</source> @@ -48,7 +62,7 @@ <source>Configure filter</source> <target>í•„í„° ì„¤ì •</target> <source>Customize columns</source> -<target>ê°œì¸ ì„¤ì • - ì—´ ì¡°ì •</target> +<target>ê°œì¸ ì„¤ì • - ì—´(세로칸) ì¡°ì •</target> <source>Global settings</source> <target>ì „ì²´ ì„¤ì •</target> <source>Synchronization Preview</source> @@ -119,14 +133,12 @@ <target>ì •ë³´</target> <source>Fatal Error</source> <target>치명ì 오류</target> +<source>Invalid FreeFileSync config file!</source> +<target>ìž˜ëª»ëœ FreeFileSync ì„¤ì • 파ì¼!</target> <source>File does not exist:</source> <target>파ì¼ì´ 존재하지 않습니다 :</target> <source>Error parsing configuration file:</source> <target>ì„¤ì •íŒŒì¼ ë¶„ì„ ì¤‘ ë°œìƒí•œ 오류 :</target> -<source>Error writing file:</source> -<target>파ì¼ì„ ì“°ë˜ ì¤‘ ë°œìƒí•œ 오류 :</target> -<source>Invalid FreeFileSync config file!</source> -<target>ìœ íš¨í•˜ì§€ ì•Šì€ FreeFileSync ì„¤ì • 파ì¼!</target> <source>/sec</source> <target>/ì´ˆ</target> <source> @@ -169,7 +181,7 @@ <source>1. Select directories to monitor.</source> <target>1. 모니터 대ìƒì´ ë ë””ë ‰í† ë¦¬ë¥¼ ì„ íƒí•˜ì„¸ìš”.</target> <source>2. Enter a command line.</source> -<target>2. ëª…ë ¹ 줄(커맨드ë¼ì¸)ì„ ìž…ë ¥í•˜ì„¸ìš”.</target> +<target>2. 커맨드ë¼ì¸ì„ ìž…ë ¥í•˜ì„¸ìš”.</target> <source>3. Press 'Start'.</source> <target>3. '시작'ì„ ëˆ„ë¥´ì„¸ìš”.</target> <source> @@ -178,7 +190,7 @@ The command line is executed each time: - files within these directories or subdirectories are modified </source> <target> -커멘드ë¼ì¸ì€ 다ìŒê³¼ ê°™ì€ ê²½ìš°ì— ë§¤ë²ˆ 실행 ë©ë‹ˆë‹¤: +커맨드ë¼ì¸ì€ 다ìŒê³¼ ê°™ì€ ê²½ìš°ì— ë§¤ë²ˆ 실행 ë©ë‹ˆë‹¤: - ëª¨ë“ ë””ë ‰í† ë¦¬ê°€ 사용 ê°€ëŠ¥í• ê²½ìš° (예. USB 스틱 삽입시) - 해당 ë””ë ‰í† ë¦¬ ë˜ëŠ” ì„œë¸Œë””ë ‰í† ë¦¬ ë‚´ì˜ íŒŒì¼ì´ 변경ë 경우 </target> @@ -191,11 +203,11 @@ The command line is executed each time: <source>Select a folder</source> <target>í´ë” ì„ íƒ</target> <source>Command line</source> -<target>ëª…ë ¹ 줄 (커맨드ë¼ì¸)</target> +<target>커맨드ë¼ì¸</target> <source>Minimum Idle Time [seconds]</source> -<target>최소 대기시간 [ì´ˆ]</target> +<target>최소 대기시간 [ì´ˆ 단위]</target> <source>Idle time between detection of last change and execution of command line in seconds</source> -<target>마지막 변경내용 ê°ì§€ë¡œë¶€í„° ë‹¤ìŒ ì»¤ë©˜ë“œë¼ì¸ 실행까지 대기시간 (ì´ˆ 단위)</target> +<target>마지막 변경내용 ê°ì§€ë¡œë¶€í„° ë‹¤ìŒ ì»¤ë§¨ë“œë¼ì¸ 실행까지 대기시간 [ì´ˆ 단위]</target> <source>Start</source> <target>시작</target> <source>(Build: %x)</source> @@ -212,8 +224,6 @@ The command line is executed each time: <target>ëª¨ë‹ˆí„°ë§ í™œì„±í™”...</target> <source>Waiting for missing directories...</source> <target>ëˆ„ë½ ë””ë ‰í† ë¦¬ 대기 중...</target> -<source>Command line is empty!</source> -<target>ëª…ë ¹ 줄 (커맨드ë¼ì¸)ì´ ë¹„ì–´ 있습니다!</target> <source>Could not initialize directory monitoring:</source> <target>ë””ë ‰í† ë¦¬ 모니터ë§ì„ 초기화 í• ìˆ˜ 없습니다 :</target> <source>A directory input field is empty.</source> @@ -227,7 +237,7 @@ The command line is executed each time: <source>Error moving file:</source> <target>íŒŒì¼ ì´ë™ 중 ë°œìƒí•œ 오류 :</target> <source>Operation aborted!</source> -<target>ìž‘ì—… 중지!</target> +<target>ìž‘ì—… 중단!</target> <source>Target file already existing!</source> <target>ëŒ€ìƒ íŒŒì¼ì´ ì´ë¯¸ 존재합니다!</target> <source>Error moving directory:</source> @@ -254,14 +264,20 @@ The command line is executed each time: <target>íŒŒì¼ ë³µì‚¬ 중 ë°œìƒí•œ 오류 :</target> <source>Error opening file:</source> <target>파ì¼ì„ ì—´ë˜ ì¤‘ ë°œìƒí•œ 오류 :</target> +<source>Error writing file:</source> +<target>파ì¼ì„ ì“°ë˜ ì¤‘ ë°œìƒí•œ 오류 :</target> <source>Error reading file:</source> <target>파ì¼ì„ ì½ë˜ 중 ë°œìƒí•œ 오류 :</target> <source>Endless loop when traversing directory:</source> <target>ë””ë ‰í† ë¦¬ ì´ë™ 중 무한 루프 ë°œìƒ :</target> <source>Error traversing directory:</source> <target>ë””ë ‰í† ë¦¬ ì´ë™ 중 ë°œìƒí•œ 오류 :</target> +<source>Windows Error Code %x:</source> +<target>윈ë„ìš° ì—러 코드 %x:</target> +<source>Linux Error Code %x:</source> +<target>리눅스 ì—러 코드 %x:</target> <source>Error setting privilege:</source> -<target>특권(프리빌리지) ì„¤ì • 중 ë°œìƒí•œ 오류 :</target> +<target>권한 ì„¤ì • 중 ë°œìƒí•œ 오류 :</target> <source>Error moving to Recycle Bin:</source> <target>휴지통으로 ì´ë™ 중 ë°œìƒí•œ 오류 :</target> <source>Could not load a required DLL:</source> @@ -284,30 +300,18 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>ë‹¤ìŒ XML 노드 ê°’ì„ ì½ì–´ ë“¤ì¼ ìˆ˜ 없습니다 :</target> -<source>Show popup</source> -<target>íŒì—… 표시</target> -<source>Show popup on errors or warnings</source> -<target>오류/ê²½ê³ ê´€ë ¨ íŒì—… 표시</target> -<source>Ignore errors</source> -<target>오류 무시</target> -<source>Hide all error and warning messages</source> -<target>ëª¨ë“ ì˜¤ë¥˜/ê²½ê³ ë©”ì„¸ì§€ 숨기기</target> -<source>Exit instantly</source> -<target>즉시 종료</target> -<source>Abort synchronization immediately</source> -<target>ë™ê¸°í™” ìž‘ì—… 즉시 중단</target> <source>Logging</source> <target>로그 중</target> <source>FreeFileSync batch file</source> -<target>FreeFileSync ì¼ê´„íŒŒì¼ [Batch File]</target> +<target>FreeFileSync ì¼ê´„ 파ì¼</target> <source>FreeFileSync configuration</source> <target>FreeFileSync 구성 ì„¤ì •</target> <source>FreeFileSync Batch Job</source> -<target>FreeFileSync ì¼ê´„ìž‘ì—… [Batch Job]</target> +<target>FreeFileSync ì¼ê´„ ìž‘ì—…</target> <source>Unable to create logfile!</source> <target>ë¡œê·¸íŒŒì¼ ìƒì„±ì„ í• ìˆ˜ 없습니다!</target> <source>Batch execution</source> -<target>ì¼ê´„ìž‘ì—… 실행</target> +<target>ì¼ê´„ 실행</target> <source>Log-messages:</source> <target>로그 메세지 :</target> <source>Stop</source> @@ -353,7 +357,7 @@ The command line is executed each time: <source>&Global settings...</source> <target>ì „ì²´ ì„¤ì •(&G)</target> <source>&Create batch job...</source> -<target>ì¼ê´„ìž‘ì—…[Batch Job] ìƒì„±(&C)</target> +<target>ì¼ê´„ìž‘ì—… ìƒì„±(&C)</target> <source>&Export file list...</source> <target>íŒŒì¼ ë¦¬ìŠ¤íŠ¸ 내보내기(&E)</target> <source>&Advanced</source> @@ -400,8 +404,8 @@ The command line is executed each time: <target>우측</target> <source>Batch job</source> <target>ì¼ê´„ ìž‘ì—…</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>ìžë™ ë™ê¸°í™” ì¼ê´„ìž‘ì—…ì„ ìœ„í•´ Batch Fileì„ ìƒì„±í•©ë‹ˆë‹¤. ì¼ê´„ 모드를 시작하기 ìœ„í•´ì„ , 실행 가능한 FreeFileSync í˜•ì‹ : FreeFileSync.exe <batchfile>ë¡œ íŒŒì¼ ì´ë¦„ì„ ì§€ì •í•´ 주기만 하면 ë©ë‹ˆë‹¤. ì´ ìž‘ì—…ì€ O/S(ìš´ì˜ì²´ì œ)ì˜ ìž‘ì—…ê´€ë¦¬ìžì—ì„œë„ ì‹¤í–‰ 가능합니다.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>ìžë™ ë™ê¸°í™”를 위한 ì¼ê´„íŒŒì¼ ìƒì„±. ì¼ê´„모드 ìž‘ì—…ì€ í•´ë‹¹ 파ì¼ì„ ë”블í´ë¦ 하거나 커맨드ë¼ì¸: FreeFileSync.exe <ì¼ê´„파ì¼>ì„ í†µí•´ 실행 가능합니다. ë˜í•œ ìš´ì˜ì²´ì œ(O/S)ì˜ ìž‘ì—…ê´€ë¦¬ìžì—ì„œë„ ì˜ˆì•½í• ìˆ˜ 있습니다.</target> <source>Help</source> <target>ë„움ë§</target> <source>Configuration overview:</source> @@ -453,7 +457,7 @@ The command line is executed each time: <source>Update -></source> <target>ì—…ë°ì´íŠ¸ -></target> <source>Copy new or updated files to right folder.</source> -<target>ì‹ ê·œ ë˜ëŠ” ê°±ì‹ íŒŒì¼ì„ 우측 í´ë”ë¡œ 복사</target> +<target>ì‹ ê·œ ë˜ëŠ” ì—…ë°ì´íŠ¸ ëœ íŒŒì¼ì„ 우측 í´ë”ë¡œ 복사</target> <source>Custom</source> <target>ê°œì¸ ì„¤ì •</target> <source>Configure your own synchronization rules.</source> @@ -468,18 +472,18 @@ The command line is executed each time: <target>ì¹´í…Œê³ ë¦¬</target> <source>Action</source> <target>실행</target> -<source>Files/folders that exist on left side only</source> -<target>좌측ì—만 존재하는 파ì¼/í´ë”</target> -<source>Files/folders that exist on right side only</source> -<target>우측ì—만 존재하는 파ì¼/í´ë”</target> -<source>Files that exist on both sides, left one is newer</source> -<target>파ì¼ì´ 양측 ëª¨ë‘ ì¡´ìž¬í•˜ì§€ë§Œ, ì¢Œì¸¡ì´ ë” ì‹ ê·œì¸ íŒŒì¼.</target> -<source>Files that exist on both sides, right one is newer</source> -<target>파ì¼ì´ 양측 ëª¨ë‘ ì¡´ìž¬í•˜ì§€ë§Œ, ìš°ì¸¡ì´ ë” ì‹ ê·œì¸ íŒŒì¼.</target> -<source>Files that have different content</source> -<target>ë‚´ìš©ì´ ë‹¤ë¥¸ 파ì¼</target> -<source>Conflicts/files that cannot be categorized</source> -<target>ë¶„ë¥˜í• ìˆ˜ 없는 충ëŒ/파ì¼</target> +<source>File/folder exists on left side only</source> +<target>파ì¼/í´ë”ê°€ 좌측ì—만 존재</target> +<source>File/folder exists on right side only</source> +<target>파ì¼/í´ë”ê°€ 우측ì—만 존재</target> +<source>Left file is newer</source> +<target>좌측 파ì¼ì´ ë” ìµœì‹ </target> +<source>Right file is newer</source> +<target>우측 파ì¼ì´ ë” ìµœì‹ </target> +<source>Files have different content</source> +<target>íŒŒì¼ ë‚´ìš©ì´ ë‹¤ë¦„</target> +<source>Conflict/file cannot be categorized</source> +<target>충ëŒ/íŒŒì¼ ë¶„ë¥˜ 불가능</target> <source>Compare by...</source> <target>ëŒ€ìƒ ë³„ 비êµ...</target> <source> @@ -532,8 +536,8 @@ is the same <target>- 좌측ì—만 존재함</target> <source>- exists right only</source> <target>- 우측ì—만 존재함</target> -<source>- conflict</source> -<target>- 충ëŒ/불ì¼ì¹˜</target> +<source>- conflict (same date, different size)</source> +<target>- 충ëŒ/불ì¼ì¹˜ (ë‚ ì§œëŠ” 같으나, í¬ê¸°ê°€ 다름)</target> <source>Compare by "File content"</source> <target>"íŒŒì¼ ë‚´ìš©" 별 비êµ</target> <source> @@ -551,7 +555,7 @@ With this option enabled the decision tree is smaller: <source>Source code written in C++ utilizing:</source> <target>소스코드는 C++ 언어로 아래 íˆ´ì„ ì‚¬ìš©í•˜ì—¬ 작성ë˜ì—ˆìŠµë‹ˆë‹¤ :</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> -<target>FreeFileSync í˜„ì§€í™”ì— ë„ì›€ì„ ì£¼ì‹ ë¶„ë“¤ê»˜ ê¹Šì€ ê°ì‚¬ 드립니다 :</target> +<target>FreeFileSync í˜„ì§€í™”ì— ë„ì›€ì„ ì£¼ì‹ ë¶„ë“¤ê»˜ ê°ì‚¬ 드립니다 :</target> <source>Feedback and suggestions are welcome at:</source> <target>피드백 ë° ì œì•ˆì‚¬í•ì€ 아래로 ë³´ë‚´ 주ì‹ì‹œì˜¤ :</target> <source>FreeFileSync at Sourceforge</source> @@ -569,7 +573,7 @@ With this option enabled the decision tree is smaller: <source>Published under the GNU General Public License:</source> <target>GNU ì¼ë°˜ 공용 ë¼ì´ì„¼ìŠ¤ì— ì˜í•œ 출시 :</target> <source>Ignore subsequent errors</source> -<target>ì´í›„ 오류 무시</target> +<target>ì´í›„ ì¼ì–´ë‚˜ëŠ” 오류 무시</target> <source>Hide further error messages during the current process</source> <target>현재 ì²˜ë¦¬ê³¼ì • ë™ì•ˆ 추가오류 메세지 숨기기</target> <source>&Ignore</source> @@ -579,7 +583,7 @@ With this option enabled the decision tree is smaller: <source>Do not show this dialog again</source> <target>다ìŒë¶€í„° 표시하지 ì•ŠìŒ</target> <source>&Switch</source> -<target>ì „í™˜[Switch](&S)</target> +<target>스위치[ì „í™˜](&S)</target> <source>&Yes</source> <target>예(&Y)</target> <source>&No</source> @@ -631,9 +635,9 @@ Exclude: \stuff\temp\* <source>&Default</source> <target>기본 ì„¤ì •/ê°’(&D)</target> <source>Move column up</source> -<target>ì—´(컬럼) 위로 ì´ë™</target> +<target>ì—´ 위로 ì´ë™</target> <source>Move column down</source> -<target>ì—´(컬럼) 아래로 ì´ë™</target> +<target>ì—´ 아래로 ì´ë™</target> <source>Copy locked files</source> <target>ë½ ê±¸ë¦° íŒŒì¼ ë³µì‚¬</target> <source> @@ -677,7 +681,7 @@ Transfer file and directory permissions <source>You may try to synchronize remaining items again (WITHOUT having to re-compare)!</source> <target>잔여 ì•„ì´í…œì— 대한 ë™ê¸°í™”를 (다시 비êµí• 필요없ì´) 재시ë„í• ìˆ˜ 있습니다!</target> <source>Batch file created successfully!</source> -<target>ì¼ê´„작업파ì¼[Batch File]ì´ ì„±ê³µì 으로 ìƒì„± ë습니다!</target> +<target>ì¼ê´„ 파ì¼ì´ 성공ì 으로 ìƒì„± ë습니다!</target> <source>Main bar</source> <target>ë©”ì¸ ë°”</target> <source>Folder pairs</source> @@ -700,18 +704,16 @@ Transfer file and directory permissions <target><복수 ì„ íƒ></target> <source>D-Click</source> <target>D-í´ë¦</target> -<source>Copy to clipboard CTRL+C</source> -<target>í´ë¦½ë³´ë“œì— 복사 CTRL+C</target> -<source>Delete files DEL</source> -<target>íŒŒì¼ ì‚ì œ DEL</target> +<source>Delete</source> +<target>ì‚ì œ</target> <source>Customize...</source> <target>ê°œì¸ ì„¤ì •í™”...</target> <source>Auto-adjust columns</source> <target>ì—´ ìžë™ì •ë ¬</target> <source>Include all rows</source> -<target>ëª¨ë“ í–‰(로우) í¬í•¨</target> +<target>ëª¨ë“ í–‰ í¬í•¨</target> <source>Exclude all rows</source> -<target>ì „ì²´ í–‰(로우) ì œì™¸</target> +<target>ì „ì²´ í–‰ ì œì™¸</target> <source>Reset view</source> <target>보기 리셋</target> <source>Show "%x"</source> @@ -825,11 +827,11 @@ Transfer file and directory permissions <source>Paused</source> <target>ì¼ì‹œì •ì§€ 중</target> <source>Aborted</source> -<target>중지ë¨</target> +<target>중단ë¨</target> <source>Completed</source> <target>완료</target> <source>Abort requested: Waiting for current operation to finish...</source> -<target>사용ìžì— ì˜í•œ ìž‘ì—… 중지 : 현재 ìž‘ì—… 종료 대기 중...</target> +<target>사용ìžì— ì˜í•œ ìž‘ì—… 중단 : 현재 ìž‘ì—… 종료 대기 중...</target> <source>Continue</source> <target>계ì†</target> <source>Pause</source> @@ -842,14 +844,10 @@ Transfer file and directory permissions <target>양측 모ë‘ì— íŒŒì¼ì´ 존재</target> <source>on one side only</source> <target>한쪽ì—만 존재</target> -<source>- left</source> -<target>- 좌측</target> -<source>- right</source> -<target>- 우측</target> -<source>different</source> -<target>다름</target> -<source>- conflict (same date, different size)</source> -<target>- 충ëŒ/불ì¼ì¹˜ (ë‚ ì§œëŠ” 같으나, í¬ê¸°ê°€ 다름)</target> +<source>same date</source> +<target>ê°™ì€ ë‚ ì§œ</target> +<source>different date</source> +<target>다른 ë‚ ì§œ</target> <source>Inactive</source> <target>비활성화</target> <source>Second</source> @@ -913,7 +911,7 @@ Transfer file and directory permissions <source>Versioning</source> <target>ë²„ì €ë‹</target> <source>Move files into a time-stamped subdirectory</source> -<target>파ì¼ì„ 타임 스탬프 ëœ ì„œë¸Œ í´ë”ë¡œ ì´ë™</target> +<target>파ì¼ì„ 타임스탬프 ëœ ì„œë¸Œ í´ë”ë¡œ ì´ë™</target> <source>Cannot determine sync-direction:</source> <target>ë™ê¸°í™” ë°©í–¥ì„ ê²°ì •í• ìˆ˜ 없습니다 :</target> <source>Filter settings have changed!</source> @@ -925,9 +923,9 @@ Transfer file and directory permissions <source>The file was not processed by last synchronization!</source> <target>ì´ íŒŒì¼ì€ 마지막 ë™ê¸°í™”ì—ì„œ 처리ë˜ì§€ 않았습니다!</target> <source>Planned directory deletion is in conflict with its subdirectories and -files!</source> -<target>ë””ë ‰í† ë¦¬ë¥¼ ì‚ì œí•˜ë©´ ì„œë¸Œë””ë ‰í† ë¦¬ ë° íŒŒì¼ê³¼ 충ëŒí•˜ê²Œ ë©ë‹ˆë‹¤!</target> +<target>ë””ë ‰í† ë¦¬ë¥¼ ì‚ì œí•˜ë©´ 서브 ë””ë ‰í† ë¦¬ ë° íŒŒì¼ê³¼ 충ëŒí•˜ê²Œ ë©ë‹ˆë‹¤!</target> <source>Setting default synchronization directions: Old files will be overwritten with newer files.</source> -<target>기본값 ë™ê¸°í™” ë°©í–¥ ì„¤ì • : ì´ì „ 파ì¼ë“¤ì€ ì‹ ê·œ 파ì¼ë“¤ë¡œ ë®ì–´ì“°ì—¬ 집니다.</target> +<target>기본값 ë™ê¸°í™” ë°©í–¥ ì„¤ì • : ì´ì „ 파ì¼ë“¤ì€ ì‹ ê·œ 파ì¼ë“¤ë¡œ ë®ì–´ 쓰여집니다.</target> <source>The file does not contain a valid configuration:</source> <target>ì´ íŒŒì¼ì€ ìœ íš¨í•œ ì„¤ì • ê°’ì„ ê°–ê³ ìžˆì§€ 않습니다 :</target> <source>Scanning:</source> @@ -939,7 +937,7 @@ Transfer file and directory permissions <source>Directory does not exist:</source> <target>ë””ë ‰í† ë¦¬ê°€ 존재하지 않습니다 :</target> <source>Directories are dependent! Be careful when setting up synchronization rules:</source> -<target>ë””ë ‰í† ë¦¬ê°€ ì˜ì¡´ ê´€ê³„ì— ìžˆìŠµë‹ˆë‹¤. ë™ê¸°í™” ê·œì¹™ì„¤ì •ì‹œ, 주ì˜í•˜ì‹ì‹œì˜¤.</target> +<target>ë””ë ‰í† ë¦¬ê°€ ì˜ì¡´ ê´€ê³„ì— ìžˆìŠµë‹ˆë‹¤. ë™ê¸°í™” 규칙 ì„¤ì •ì‹œ 주ì˜í•˜ì‹ì‹œì˜¤.</target> <source>Comparing content of files %x</source> <target>íŒŒì¼ %x ë‚´ìš© 별 ë¹„êµ ì¤‘</target> <source>Memory allocation failed!</source> @@ -958,28 +956,28 @@ Transfer file and directory permissions <target>íŒŒì¼ ë¦¬ìŠ¤íŠ¸ ìƒì„± 중...</target> <source>Multiple...</source> <target>다중처리 (멀티플) ìž‘ì—…...</target> -<source>Files that are equal on both sides</source> -<target>양측 ëª¨ë‘ ë™ì¼í•œ 파ì¼</target> -<source>Equal files/folders that differ in attributes only</source> -<target>ì†ì„±ë§Œ 다른 ë™ì¼ 파ì¼/í´ë”</target> -<source>Copy from right to left</source> -<target>우측ì—ì„œ 좌측으로 복사</target> -<source>Copy from left to right</source> -<target>좌측ì—ì„œ 우측으로 복사</target> -<source>Delete files/folders existing on left side only</source> -<target>좌측ì—만 존재하는 파ì¼/í´ë” ì‚ì œ</target> -<source>Delete files/folders existing on right side only</source> -<target>우측ì—만 존재하는 파ì¼/í´ë” ì‚ì œ</target> -<source>Copy from right to left overwriting</source> -<target>우측ì—ì„œ 좌측으로 ë®ì–´ì“°ê¸° 복사</target> -<source>Copy from left to right overwriting</source> -<target>좌측ì—ì„œ 우측으로 ë®ì–´ì“°ê¸° 복사</target> +<source>Both sides are equal</source> +<target>ì–‘ì¸¡ì´ ê°™ìŒ</target> +<source>Files/folders differ in attributes only</source> +<target>파ì¼/í´ë”ê°€ ì†ì„±ë§Œ 다름</target> +<source>Copy new file/folder to left</source> +<target>ì‹ ê·œ 파ì¼/í´ë”를 좌측으로 복사</target> +<source>Copy new file/folder to right</source> +<target>ì‹ ê·œ 파ì¼/í´ë”를 우측으로 복사</target> +<source>Delete left file/folder</source> +<target>ë‚¨ì€ íŒŒì¼/í´ë” ì‚ì œ</target> +<source>Delete right file/folder</source> +<target>우측 파ì¼/í´ë” ì‚ì œ</target> +<source>Overwrite left file/folder with right one</source> +<target>우측 파ì¼/í´ë”ë¡œ 좌측 파ì¼/í´ë” ë®ì–´ì“°ê¸°</target> +<source>Overwrite right file/folder with left one</source> +<target>좌측 파ì¼/í´ë”ë¡œ 우측 파ì¼/í´ë” ë®ì–´ì“°ê¸°</target> <source>Do nothing</source> <target>아무 ê²ƒë„ í•˜ì§€ ì•ŠìŒ</target> -<source>Copy attributes only from right to left</source> -<target>ì†ì„±ë§Œ 우측ì—ì„œ 좌측으로 복사</target> -<source>Copy attributes only from left to right</source> -<target>ì†ì„±ë§Œ 좌측ì—ì„œ 우측으로 복사</target> +<source>Copy file attributes only to left</source> +<target>íŒŒì¼ ì†ì„±ë§Œ 좌측으로 복사</target> +<source>Copy file attributes only to right</source> +<target>íŒŒì¼ ì†ì„±ë§Œ 우측으로 복사</target> <source>Deleting file %x</source> <target>íŒŒì¼ %x ì‚ì œ 중</target> <source>Deleting Symbolic Link %x</source> @@ -1010,18 +1008,20 @@ Transfer file and directory permissions <target>%x ì†ì„± ì—…ë°ì´íŠ¸</target> <source>Source directory does not exist anymore:</source> <target>소스 ë””ë ‰í† ë¦¬ê°€ ë” ì´ìƒ 존재하지 않습니다 :</target> +<source>Generating database...</source> +<target>ë°ì´í„°ë² ì´ìŠ¤ ìƒì„± 중...</target> <source>Nothing to synchronize according to configuration!</source> <target>구성 ì„¤ì •ì— ë”°ë¼ ë™ê¸°í™” í• ë‚´ìš©ì´ ì—†ìŠµë‹ˆë‹¤!</target> <source>Target directory name must not be empty!</source> <target>ëŒ€ìƒ ë””ë ‰í† ë¦¬ ì´ë¦„ì´ ë¹„ì–´ì„œëŠ” 안 ë©ë‹ˆë‹¤!</target> <source>User-defined directory for deletion was not specified!</source> -<target>ì‚ì œë¥¼ 위한 ì‚¬ìš©ìž ì§€ì • ë””ë ‰í† ë¦¬ê°€ ì •í•´ì§€ì§€ 않았습니다!</target> +<target>ì‚ì œí•˜ë ¤ëŠ” ì‚¬ìš©ìž ì§€ì • ë””ë ‰í† ë¦¬ê°€ ì •í•´ì§€ì§€ 않았습니다!</target> <source>Unresolved conflicts existing!</source> <target>í•´ê²°ë˜ì§€ ì•Šì€ ì¶©ëŒì´ 있습니다!</target> <source>You can ignore conflicts and continue synchronization.</source> <target>충ëŒì„ ë¬´ì‹œí•˜ê³ ë™ê¸°í™”를 계ì†í• 수 있습니다.</target> <source>Significant difference detected:</source> -<target>중대한 ì°¨ì´ê°€ ê°ì§€ ë습니다 :</target> +<target>ìƒë‹¹í•œ ì°¨ì´ê°€ ê°ì§€ë습니다 :</target> <source>More than 50% of the total number of files will be copied or deleted!</source> <target>ì´ íŒŒì¼ ê°œìˆ˜ì˜ 50% ì´ìƒì´ 복사ë˜ê±°ë‚˜ ì‚ì œ ë©ë‹ˆë‹¤!</target> <source>Not enough free disk space available in:</source> @@ -1034,8 +1034,6 @@ Transfer file and directory permissions <target>다중í´ë” íŽ˜ì–´ì˜ ì¼ë¶€ì¸ ë””ë ‰í† ë¦¬ê°€ 변경ë©ë‹ˆë‹¤. ë™ê¸°í™” ì„¤ì •ì„ ìž¬ê²€í† í•´ 주세요.</target> <source>Processing folder pair:</source> <target>í´ë” 페어 처리 중 :</target> -<source>Generating database...</source> -<target>ë°ì´í„°ë² ì´ìŠ¤ ìƒì„± 중...</target> <source>Error copying locked file %x!</source> <target>복사 실패! íŒŒì¼ %x ì— ë½ì´ ê±¸ë ¤ 있습니다.</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/polish.lng b/BUILD/Languages/polish.lng index f4c059a6..a4fec878 100644 --- a/BUILD/Languages/polish.lng +++ b/BUILD/Languages/polish.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automatyczna Synchronizacja</target> <source>Browse</source> <target>PrzeglÄ…daj</target> +<source>Invalid commandline: "%x"</source> +<target>NieprawidÅ‚owa komenda: "%x"</target> <source>Error resolving symbolic link:</source> <target>BÅ‚Ä…d odczytu dowiÄ…zania symbolicznego:</target> +<source>Show popup</source> +<target>Pokaż okno popup</target> +<source>Show popup on errors or warnings</source> +<target>Pokaż okno popup dla bÅ‚Ä™dów i ostrzeżeÅ„</target> +<source>Ignore errors</source> +<target>Ignoruj bÅ‚Ä™dy</target> +<source>Hide all error and warning messages</source> +<target>Ukryj wszystkie informacje bÅ‚Ä™dach i ostrzeżeniach</target> +<source>Exit instantly</source> +<target>Wyjdź natychmiastowo</target> +<source>Abort synchronization immediately</source> +<target>Natychmiast zakoÅ„cz synchronizacjÄ™</target> <source>Select alternate synchronization settings</source> <target>Stwórz alternatywne reguÅ‚y synchronizacji</target> <source>No filter selected</source> @@ -129,8 +143,6 @@ <target>Plik nie istnieje:</target> <source>Error parsing configuration file:</source> <target>BÅ‚Ä…d parsowania pliku konfiguracyjnego:</target> -<source>Error writing file:</source> -<target>BÅ‚Ä…d zapisu pliku:</target> <source>/sec</source> <target>/sekundÄ™</target> <source> @@ -222,8 +234,6 @@ Komenda jest wykonwywana za każdym razem gdy: <target>Monitorowanie aktywne...</target> <source>Waiting for missing directories...</source> <target>Oczekiwanie na brakujÄ…ce katalogi...</target> -<source>Command line is empty!</source> -<target>Linia komend jest pusta!</target> <source>Could not initialize directory monitoring:</source> <target>Nie można uruchomić monitora katalogów:</target> <source>A directory input field is empty.</source> @@ -264,12 +274,18 @@ Komenda jest wykonwywana za każdym razem gdy: <target>BÅ‚Ä…d podczas kopiowania pliku:</target> <source>Error opening file:</source> <target>BÅ‚Ä…d odczytu pliku:</target> +<source>Error writing file:</source> +<target>BÅ‚Ä…d zapisu pliku:</target> <source>Error reading file:</source> <target>BÅ‚Ä…d odczytu pliku:</target> <source>Endless loop when traversing directory:</source> <target>ZapÄ™tlenie podczas przeglÄ…dania katalogu:</target> <source>Error traversing directory:</source> <target>BÅ‚Ä…d podczas odczytywania katalogu:</target> +<source>Windows Error Code %x:</source> +<target>BÅ‚Ä…d systemu Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>BÅ‚Ä…d systemu linux %x:</target> <source>Error setting privilege:</source> <target>BÅ‚Ä…d ustawiania uprawnieÅ„:</target> <source>Error moving to Recycle Bin:</source> @@ -294,18 +310,6 @@ Komenda jest wykonwywana za każdym razem gdy: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Nie można odczytać wartoÅ›ci dla danych gaÅ‚Ä™zi XML:</target> -<source>Show popup</source> -<target>Pokaż okno popup</target> -<source>Show popup on errors or warnings</source> -<target>Pokaż okno popup dla bÅ‚Ä™dów i ostrzeżeÅ„</target> -<source>Ignore errors</source> -<target>Ignoruj bÅ‚Ä™dy</target> -<source>Hide all error and warning messages</source> -<target>Ukryj wszystkie informacje bÅ‚Ä™dach i ostrzeżeniach</target> -<source>Exit instantly</source> -<target>Wyjdź natychmiastowo</target> -<source>Abort synchronization immediately</source> -<target>Natychmiast zakoÅ„cz synchronizacjÄ™</target> <source>Logging</source> <target>Tworzenie logów</target> <source>FreeFileSync batch file</source> @@ -410,8 +414,8 @@ Komenda jest wykonwywana za każdym razem gdy: <target>Prawy</target> <source>Batch job</source> <target>Plik wsadowy</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Twórz plik wsadowy dla automatyzacji procesu. By rozpocząć prace w tym trybie zwyczajnie uruchom plik klikajÄ…c dwa razy lub dodaj go do zadaÅ„ zaplanowanych Twojego systemu. Plik wsadowy może być również przekazywany jako parametr do programu w postaci: FreeFileSync.exe <plikwsadowy>.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Utwórz plik wsadowy dla automatycznej synchronizacji. Aby uruchomić synchronizacjÄ™ w trybie wsadowym po prostu kliknij dwa razy na plik lub uruchom go z konsoli: FreeFileSync.exe <plikwsadowy>. Możesz to dodać do programu planujÄ…cego zadania w Twoim systemie.</target> <source>Help</source> <target>Pomoc</target> <source>Configuration overview:</source> @@ -478,18 +482,18 @@ Komenda jest wykonwywana za każdym razem gdy: <target>Kategoria</target> <source>Action</source> <target>Akcja</target> -<source>Files/folders that exist on left side only</source> -<target>Pliki/katalogi istniejÄ…ce tylko po lewej stronie</target> -<source>Files/folders that exist on right side only</source> -<target>Pliki/katalogi istniejÄ…ce tylko po prawej stronie</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Pliki, które istniejÄ… po obu stronach, lewa strona jest nowsza</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Pliki, które istniejÄ… po obu stronach, prawa strona jest nowsza</target> -<source>Files that have different content</source> -<target>Pliki, które majÄ… różnÄ… zawartość</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Konflikty/pliki, które nie mogÄ… być skategoryzowane</target> +<source>File/folder exists on left side only</source> +<target>Plik/folder istnieje tylko po lewej stronie</target> +<source>File/folder exists on right side only</source> +<target>Plik/folder istnieje tylko po prawej stronie</target> +<source>Left file is newer</source> +<target>Lewy plik jest nowszy</target> +<source>Right file is newer</source> +<target>Prawy plik jest nowszy</target> +<source>Files have different content</source> +<target>Pliki różniÄ… siÄ™ zawartoÅ›ciÄ…</target> +<source>Conflict/file cannot be categorized</source> +<target>Konflikt/plik nie może zostać skategoryzowany</target> <source>Compare by...</source> <target>Porównaj przez...</target> <source> @@ -712,10 +716,8 @@ Transfer uprawnieÅ„ plików i katalogów <target><zaznaczone elementy></target> <source>D-Click</source> <target>Podw. klikniÄ™cie</target> -<source>Copy to clipboard CTRL+C</source> -<target>Kopiuj do pamiÄ™ci CTRL+C</target> -<source>Delete files DEL</source> -<target>UsuÅ„ DEL</target> +<source>Delete</source> +<target>UsuÅ„</target> <source>Customize...</source> <target>Dostosuj...</target> <source>Auto-adjust columns</source> @@ -806,7 +808,11 @@ Transfer uprawnieÅ„ plików i katalogów <pluralform>Object deleted successfully!</pluralform> <pluralform>%x objects deleted successfully!</pluralform> </source> -<target></target> +<target> +<pluralform>Obiekt pomyÅ›lnie usuniÄ™ty!</pluralform> +<pluralform>%x obiekty pomyÅ›lnie usuniÄ™te!</pluralform> +<pluralform>%x pomyÅ›lnie usuniÄ™tych!</pluralform> +</target> <source> <pluralform>1 directory</pluralform> <pluralform>%x directories</pluralform> @@ -859,9 +865,9 @@ Transfer uprawnieÅ„ plików i katalogów <source>on one side only</source> <target>tylko po jednej stronie</target> <source>same date</source> -<target></target> +<target>ta sama data</target> <source>different date</source> -<target></target> +<target>różna data</target> <source>Inactive</source> <target>Nieaktywny</target> <source>Second</source> @@ -974,28 +980,28 @@ Transfer uprawnieÅ„ plików i katalogów <target>Generowanie listy plików...</target> <source>Multiple...</source> <target>Wiele...</target> -<source>Files that are equal on both sides</source> -<target>Pliki równe po obu stronach</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Pliki/foldery różniÄ…ce siÄ™ tylko atrybutami</target> -<source>Copy from right to left</source> -<target>Kopiuj z prawej do lewej</target> -<source>Copy from left to right</source> -<target>Kopiuj z lewej do prawej</target> -<source>Delete files/folders existing on left side only</source> -<target>UsuÅ„ pliki/foldery istniejÄ…ce tylko po lewej stronie</target> -<source>Delete files/folders existing on right side only</source> -<target>UsuÅ„ pliki/foldery istniejÄ…ce tylko po prawej stronie</target> -<source>Copy from right to left overwriting</source> -<target>Kopiuj z prawej do lewej nadpisujÄ…c</target> -<source>Copy from left to right overwriting</source> -<target>Kopiuj z lewej do prawej nadpisujÄ…c</target> +<source>Both sides are equal</source> +<target>Obie strony sÄ… równe</target> +<source>Files/folders differ in attributes only</source> +<target>Pliki/foldery różniÄ… siÄ™ tylko atrybutami</target> +<source>Copy new file/folder to left</source> +<target>Skopiuj nowy plik/katalog na lewÄ… stronÄ…</target> +<source>Copy new file/folder to right</source> +<target>Skopiuj nowy plik/katalog na prawÄ… stronÄ…</target> +<source>Delete left file/folder</source> +<target>UsuÅ„ plik/katalog po lewej stronie</target> +<source>Delete right file/folder</source> +<target>UsuÅ„ plik/katalog po prawej stronie</target> +<source>Overwrite left file/folder with right one</source> +<target>Nadpisz plik/katalog po lewej stronie tym po prawej</target> +<source>Overwrite right file/folder with left one</source> +<target>Nadpisz plik/katalog po prawej stronie tym po lewej</target> <source>Do nothing</source> <target>Nic nie rób</target> -<source>Copy attributes only from right to left</source> -<target>Kopiuj atrybuty tylko z prawej strony</target> -<source>Copy attributes only from left to right</source> -<target>Kopiuj atrybuty tylko z lewej strony</target> +<source>Copy file attributes only to left</source> +<target>Kopiuj atrybuty plików tylko na lewÄ… stronÄ™</target> +<source>Copy file attributes only to right</source> +<target>Kopiuj atrybuty plików tylko na prawÄ… stronÄ™</target> <source>Deleting file %x</source> <target>Usuwanie pliku %x</target> <source>Deleting Symbolic Link %x</source> @@ -1026,6 +1032,8 @@ Transfer uprawnieÅ„ plików i katalogów <target>Aktualizowanie atrybutów %x</target> <source>Source directory does not exist anymore:</source> <target>Katalog źródÅ‚owy nie istnieje:</target> +<source>Generating database...</source> +<target>Generowanie bazy danych...</target> <source>Nothing to synchronize according to configuration!</source> <target>Brak elementów do synchronizacji!</target> <source>Target directory name must not be empty!</source> @@ -1050,8 +1058,6 @@ Transfer uprawnieÅ„ plików i katalogów <target>Katalog zostanie zmodyfikowany w efekcie synchronizacji wielu par folderów! Zweryfikuj ustawienia synchronizacji!</target> <source>Processing folder pair:</source> <target>Przetwarzanie folderów:</target> -<source>Generating database...</source> -<target>Generowanie bazy danych...</target> <source>Error copying locked file %x!</source> <target>BÅ‚Ä…d podczas kopiowania zablokowanego pliku %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/portuguese.lng b/BUILD/Languages/portuguese.lng index 7198044d..d64f02f5 100644 --- a/BUILD/Languages/portuguese.lng +++ b/BUILD/Languages/portuguese.lng @@ -8,7 +8,7 @@ </header> <source>Show in Explorer</source> -<target></target> +<target>Mostrar no Explorer</target> <source>Open with default application</source> <target>Abrir com a aplicação associada</target> <source>Browse directory</source> @@ -17,8 +17,22 @@ <target>RealtimeSync - Sincronização Automática</target> <source>Browse</source> <target>Procurar</target> +<source>Invalid commandline: "%x"</source> +<target>Comando inválido: "%x"</target> <source>Error resolving symbolic link:</source> <target>Erro na resolução do link simbólico:</target> +<source>Show popup</source> +<target>Mostrar popups</target> +<source>Show popup on errors or warnings</source> +<target>Mostrar popup c/ erros ou avisos</target> +<source>Ignore errors</source> +<target>Ignorar erros</target> +<source>Hide all error and warning messages</source> +<target>Ocultar todas as mensagens de erro/aviso</target> +<source>Exit instantly</source> +<target>Sair imediatamente</target> +<source>Abort synchronization immediately</source> +<target>Abortar sincronização imediatamente</target> <source>Select alternate synchronization settings</source> <target>Seleccionar opções alternativas de sincronização</target> <source>No filter selected</source> @@ -58,7 +72,7 @@ <source>%x MB</source> <target>%x MB</target> <source>%x KB</source> -<target></target> +<target>%x KB</target> <source>%x GB</source> <target>%x GB</target> <source> @@ -66,6 +80,8 @@ <pluralform>%x Bytes</pluralform> </source> <target> +<pluralform>1 Byte</pluralform> +<pluralform>%x Bytes</pluralform> </target> <source><Symlink></source> <target><Link Simbólico></target> @@ -112,19 +128,19 @@ <pluralform>%x sec</pluralform> </source> <target> +<pluralform>1 seg</pluralform> +<pluralform>%x segs</pluralform> </target> <source>Info</source> <target>Info</target> <source>Fatal Error</source> <target>Erro fatal</target> +<source>Invalid FreeFileSync config file!</source> +<target>Ficheiro de configuração do FreeFileSync inválido!</target> <source>File does not exist:</source> <target>O ficheiro não existe:</target> <source>Error parsing configuration file:</source> <target>Erro de leitura do ficheiro de configuração:</target> -<source>Error writing file:</source> -<target>Erro de escrita no ficheiro:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Ficheiro de configuração do FreeFileSync inválido!</target> <source>/sec</source> <target>/seg</target> <source> @@ -132,33 +148,39 @@ <pluralform>%x min</pluralform> </source> <target> +<pluralform>1 min</pluralform> +<pluralform>%x mins</pluralform> </target> <source> <pluralform>1 hour</pluralform> <pluralform>%x hours</pluralform> </source> <target> +<pluralform>1 hora</pluralform> +<pluralform>%x horas</pluralform> </target> <source> <pluralform>1 day</pluralform> <pluralform>%x days</pluralform> </source> <target> +<pluralform>1 dia</pluralform> +<pluralform>%x dias</pluralform> </target> <source>S&ave configuration...</source> <target>G&uardar a configuração...</target> <source>&Load configuration...</source> <target>&Carregar configuração...</target> <source>&Quit</source> -<target>&Sair</target> +<target>S&air</target> <source>&File</source> <target>&Ficheiro</target> <source>&Content</source> -<target>&Conteúdo</target> +<target>C&onteúdo</target> <source>&About...</source> <target>&Sobre...</target> <source>&Help</source> -<target>&Ajuda</target> +<target>A&juda</target> <source>Usage:</source> <target>Uso:</target> <source>1. Select directories to monitor.</source> @@ -204,11 +226,9 @@ A linha de comandos é executada cada vez que: <source>&Exit</source> <target>&Sair</target> <source>Monitoring active...</source> -<target>Monitorizar activo...</target> +<target>Monitorizar activado...</target> <source>Waiting for missing directories...</source> <target>Aguardar pelos directórios em falta...</target> -<source>Command line is empty!</source> -<target>Linha de comandos vazia!</target> <source>Could not initialize directory monitoring:</source> <target>Não é possÃvel iniciar monitorização do directório:</target> <source>A directory input field is empty.</source> @@ -216,7 +236,7 @@ A linha de comandos é executada cada vez que: <source>Error when monitoring directories.</source> <target>Erro ao monitorizar os directórios.</target> <source>Drag && drop</source> -<target>Pegar && largar</target> +<target>Arrastar && Largar</target> <source>Conversion error:</source> <target>Erro de conversão:</target> <source>Error moving file:</source> @@ -249,12 +269,18 @@ A linha de comandos é executada cada vez que: <target>Erro ao copiar ficheiro:</target> <source>Error opening file:</source> <target>Erro ao abrir ficheiro:</target> +<source>Error writing file:</source> +<target>Erro de escrita no ficheiro:</target> <source>Error reading file:</source> <target>Erro de leitura de ficheiro:</target> <source>Endless loop when traversing directory:</source> <target>Loop infinito ao percorrer directório:</target> <source>Error traversing directory:</source> <target>Erro ao percorrer a pasta:</target> +<source>Windows Error Code %x:</source> +<target>Código de erro do Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Código de erro do Linux %x:</target> <source>Error setting privilege:</source> <target>Erro ao estabelecer privilégios:</target> <source>Error moving to Recycle Bin:</source> @@ -279,18 +305,6 @@ A linha de comandos é executada cada vez que: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Não foi possÃvel ler os valores dos seguintes nós XML:</target> -<source>Show popup</source> -<target>Mostrar popups</target> -<source>Show popup on errors or warnings</source> -<target>Mostrar popup c/ erros ou avisos</target> -<source>Ignore errors</source> -<target>Ignorar erros</target> -<source>Hide all error and warning messages</source> -<target>Ocultar todas as mensagens de erro ou aviso</target> -<source>Exit instantly</source> -<target>Sair imediatamente</target> -<source>Abort synchronization immediately</source> -<target>Abortar sincronização imediatamente</target> <source>Logging</source> <target>A escrever em log</target> <source>FreeFileSync batch file</source> @@ -395,8 +409,8 @@ A linha de comandos é executada cada vez que: <target>Direita</target> <source>Batch job</source> <target>Ficheiro Batch</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Criar um batch para sincronização automática. Para iniciar o modo batch, passar o nome do ficheiro para o executável do FreeFileSync: FreeFileSync.exe <ficheiro batch>. Também pode ser calendarizado no programador de tarefas.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Criar um batch para sincronização automática. Para iniciar o batch, basta fazer duplo-clique no ficheiro ou executar via linha de comandos: FreeFileSync.exe <batch>. Também pode ser inserido no programador de tarefas do sistema operativo.</target> <source>Help</source> <target>Ajuda</target> <source>Configuration overview:</source> @@ -463,18 +477,18 @@ A linha de comandos é executada cada vez que: <target>Categoria</target> <source>Action</source> <target>Acção</target> -<source>Files/folders that exist on left side only</source> -<target>Ficheiros/pastas existentes somente à esquerda</target> -<source>Files/folders that exist on right side only</source> -<target>Ficheiros/pastas existentes somente à direita</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Ficheiros existentes dos dois lados, à esquerda é mais recente</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Ficheiros existentes dos dois lados, à direita é mais recente</target> -<source>Files that have different content</source> -<target>Ficheiros com conteúdo diferente</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflitos/ficheiros que não podem ser categorizados</target> +<source>File/folder exists on left side only</source> +<target>Ficheiro/pasta existe apenas à esquerda</target> +<source>File/folder exists on right side only</source> +<target>Ficheiro/pasta existe apenas à direita</target> +<source>Left file is newer</source> +<target>Ficheiro mais recente à esquerda</target> +<source>Right file is newer</source> +<target>Ficheiro mais recente à direita</target> +<source>Files have different content</source> +<target>Ficheiros são diferentes</target> +<source>Conflict/file cannot be categorized</source> +<target>Ficheiro/conflito não pode ser categorizado</target> <source>Compare by...</source> <target>Comparar por...</target> <source> @@ -527,8 +541,8 @@ Os ficheiros são considerados iguais se <target>- existe apenas à esquerda</target> <source>- exists right only</source> <target>- existe apenas à direita</target> -<source>- conflict</source> -<target>- conflito</target> +<source>- conflict (same date, different size)</source> +<target>- conflito (mesma data, tamanho diferente)</target> <source>Compare by "File content"</source> <target>Comparar por "Conteúdo dos ficheiros"</target> <source> @@ -544,7 +558,7 @@ Com esta opção, a arvoré de decisão é menor: <source>- different</source> <target>- ficheiros diferentes</target> <source>Source code written in C++ utilizing:</source> -<target></target> +<target>Código fonte escrito em C++ usando:</target> <source>Big thanks for localizing FreeFileSync goes out to:</source> <target>Pela tradução de FreeFileSync, um agradecimento a:</target> <source>Feedback and suggestions are welcome at:</source> @@ -589,7 +603,10 @@ Com esta opção, a arvoré de decisão é menor: Only files/directories that match all filter settings will be selected for synchronization. Note: The name filter must be specified relative(!) to main synchronization directories. </source> -<target></target> +<target> +Apenas ficheiros/directórios que coincidam com as opções de filtros vão ser seleccionados para sincronização. +Nota: Os filtros devem ser especificados em relação aos directórios principais de sincronização. +</target> <source>Hints:</source> <target>Dicas:</target> <source>1. Enter relative file or directory names separated by ';' or a new line.</source> @@ -604,7 +621,10 @@ Note: The name filter must be specified relative(!) to main synchronization dire Include: *.doc;*.zip;*.exe Exclude: \stuff\temp\* </source> -<target></target> +<target> +Incluir: *.doc;*.zip;*.exe +Excluir: \stuff\temp\* +</target> <source>Synchronize all .doc, .zip and .exe files except everything in subfolder "temp".</source> <target>Sincronizar todos os ficheiros .doc, .zip e .exe excepto os da pasta "temp".</target> <source>Include</source> @@ -612,11 +632,11 @@ Exclude: \stuff\temp\* <source>Exclude</source> <target>Excluir</target> <source>Select time span:</source> -<target></target> +<target>Selecionar intervalo de tempo:</target> <source>Minimum file size:</source> -<target></target> +<target>Tamanho mÃnimo de ficheiro:</target> <source>Maximum file size:</source> -<target></target> +<target>Tamanho máximo de ficheiro:</target> <source>&Default</source> <target>&Config. Iniciais</target> <source>Move column up</source> @@ -686,13 +706,11 @@ Transferir ficheiro e permissões <source>Exclude via filter:</source> <target>Excluir por filtro:</target> <source><multiple selection></source> -<target><Selecção Múltipla></target> +<target><selecção múltipla></target> <source>D-Click</source> <target>Duplo Clique</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copiar para a Ãrea de transferência CTRL+C</target> -<source>Delete files DEL</source> -<target>Eliminar ficheiros DEL</target> +<source>Delete</source> +<target>Eliminar</target> <source>Customize...</source> <target>Personalizar...</target> <source>Auto-adjust columns</source> @@ -784,24 +802,32 @@ Transferir ficheiro e permissões <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Objecto eliminado com sucesso!</pluralform> +<pluralform>%x objectos eliminados com sucesso!</pluralform> </target> <source> <pluralform>1 directory</pluralform> <pluralform>%x directories</pluralform> </source> <target> +<pluralform>1 directório</pluralform> +<pluralform>%x directórios</pluralform> </target> <source> <pluralform>1 file</pluralform> <pluralform>%x files</pluralform> </source> <target> +<pluralform>1 ficheiro</pluralform> +<pluralform>%x ficheiros</pluralform> </target> <source> <pluralform>%x of 1 row in view</pluralform> <pluralform>%x of %y rows in view</pluralform> </source> <target> +<pluralform>%x de 1 linha em vista</pluralform> +<pluralform>%x de %y linhas em vista</pluralform> </target> <source>Scanning...</source> <target>A pesquisar...</target> @@ -827,30 +853,26 @@ Transferir ficheiro e permissões <target>ficheiro existente em ambos os lados</target> <source>on one side only</source> <target>ficheiro existente apenas num lado</target> -<source>- left</source> -<target>- esquerda</target> -<source>- right</source> -<target>- direita</target> -<source>different</source> -<target>ficheiros diferentes</target> -<source>- conflict (same date, different size)</source> -<target>- conflito (mesma data, tamanho diferente)</target> +<source>same date</source> +<target>data igual</target> +<source>different date</source> +<target>data diferente</target> <source>Inactive</source> -<target></target> +<target>Inactivo</target> <source>Second</source> -<target></target> +<target>Segundo</target> <source>Minute</source> -<target></target> +<target>Minuto</target> <source>Hour</source> -<target></target> +<target>Hora</target> <source>Day</source> -<target></target> +<target>Dia</target> <source>Byte</source> -<target></target> +<target>Byte</target> <source>KB</source> -<target></target> +<target>KB</target> <source>MB</source> -<target></target> +<target>MB</target> <source>Filter: All pairs</source> <target>Filtro: Todos os pares</target> <source>Filter: Single pair</source> @@ -878,12 +900,16 @@ Transferir ficheiro e permissões <pluralform>Do you really want to move the following %x objects to the Recycle Bin?</pluralform> </source> <target> +<pluralform>Deseja mesmo mover o seguinte objecto para a Reciclagem?</pluralform> +<pluralform>Deseja mesmo mover os seguintes %x objectos para a Reciclagem?</pluralform> </target> <source> <pluralform>Do you really want to delete the following object?</pluralform> <pluralform>Do you really want to delete the following %x objects?</pluralform> </source> <target> +<pluralform>Deseja mesmo eliminar o seguinte objecto?</pluralform> +<pluralform>Deseja mesmo eliminar os seguintes %x objectos?</pluralform> </target> <source>Leave as unresolved conflict</source> <target>Deixar como conflito</target> @@ -894,7 +920,7 @@ Transferir ficheiro e permissões <source>Use Recycle Bin when deleting or overwriting files</source> <target>Utilizar Reciclagem ao apagar ou substituir ficheiros</target> <source>Versioning</source> -<target></target> +<target>Manter versões anteriores</target> <source>Move files into a time-stamped subdirectory</source> <target>Mover ficheiros para uma pasta com a data</target> <source>Cannot determine sync-direction:</source> @@ -941,28 +967,28 @@ Transferir ficheiro e permissões <target>A gerar lista ficheiros...</target> <source>Multiple...</source> <target>Multiplo...</target> -<source>Files that are equal on both sides</source> -<target>Ficheiros iguais dos dois lados</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Ficheiros/Pastas iguais que diferem apenas nos atributos</target> -<source>Copy from right to left</source> -<target>Copiar da direita para a esquerda</target> -<source>Copy from left to right</source> -<target>Copiar da esquerda para a direita</target> -<source>Delete files/folders existing on left side only</source> -<target>Eliminar itens existentes apenas no lado esquerdo</target> -<source>Delete files/folders existing on right side only</source> -<target>Eliminar itens existentes apenas no lado direito</target> -<source>Copy from right to left overwriting</source> -<target>Copiar da direita para a esquerda com sobreposição</target> -<source>Copy from left to right overwriting</source> -<target>Copiar da esquerda para a direita com sobreposição</target> +<source>Both sides are equal</source> +<target>Ambos os lados iguais</target> +<source>Files/folders differ in attributes only</source> +<target>Ficheiros/pastas diferem apenas nos atributos</target> +<source>Copy new file/folder to left</source> +<target>Copiar novo ficheiro/pasta para a esquerda</target> +<source>Copy new file/folder to right</source> +<target>Copiar novo ficheiro/pasta para a direita</target> +<source>Delete left file/folder</source> +<target>Eliminar ficheiro/pasta à esquerda</target> +<source>Delete right file/folder</source> +<target>Eliminar ficheiro/pasta à direita</target> +<source>Overwrite left file/folder with right one</source> +<target>Substituir ficheiro/pasta da esquerda (pelo da direita)</target> +<source>Overwrite right file/folder with left one</source> +<target>Substituir ficheiro/pasta da direita (pelo da esquerda)</target> <source>Do nothing</source> <target>Não fazer nada</target> -<source>Copy attributes only from right to left</source> -<target>Copiar atributos apenas da direita para a esquerda</target> -<source>Copy attributes only from left to right</source> -<target>Copiar atributos apenas da esquerda para a direita</target> +<source>Copy file attributes only to left</source> +<target>Copiar apenas atributos de ficheiro para a esquerda</target> +<source>Copy file attributes only to right</source> +<target>Copiar apenas atributos de ficheiro para a direita</target> <source>Deleting file %x</source> <target>Apagar ficheiro %x</target> <source>Deleting Symbolic Link %x</source> @@ -993,10 +1019,12 @@ Transferir ficheiro e permissões <target>Actualizar atributos de %x</target> <source>Source directory does not exist anymore:</source> <target>A pasta de origem já não existe:</target> +<source>Generating database...</source> +<target>A gerar base de dados...</target> <source>Nothing to synchronize according to configuration!</source> <target>Nada a sincronizar de acordo com a configuração!</target> <source>Target directory name must not be empty!</source> -<target></target> +<target>Nome do directório de destino não pode estar vazio!</target> <source>User-defined directory for deletion was not specified!</source> <target>Directório para eliminação não foi especificado!</target> <source>Unresolved conflicts existing!</source> @@ -1017,8 +1045,6 @@ Transferir ficheiro e permissões <target>Um directório que pertencente a conjunto de vários directórios vai ser alterado! Por favor, verifique as opções de sincronização!</target> <source>Processing folder pair:</source> <target>A processar o par do directorio:</target> -<source>Generating database...</source> -<target>A gerar base de dados...</target> <source>Error copying locked file %x!</source> <target>Erro ao copiar ficheiro bloqueado %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/portuguese_br.lng b/BUILD/Languages/portuguese_br.lng index a7827513..57a63970 100644 --- a/BUILD/Languages/portuguese_br.lng +++ b/BUILD/Languages/portuguese_br.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Sincronização Automatizada</target> <source>Browse</source> <target>Procurar</target> +<source>Invalid commandline: "%x"</source> +<target>Comando de linha inválido: "%x"</target> <source>Error resolving symbolic link:</source> <target>Erro na resolução de link simbólico:</target> +<source>Show popup</source> +<target>Mostrar popup</target> +<source>Show popup on errors or warnings</source> +<target>Mostrar popup com erros ou avisos</target> +<source>Ignore errors</source> +<target>Ignorar erros</target> +<source>Hide all error and warning messages</source> +<target>Ocultar todas as mensagens de erro ou aviso</target> +<source>Exit instantly</source> +<target>Sair instantaneamente</target> +<source>Abort synchronization immediately</source> +<target>Cancelar a sincronização imediatamente</target> <source>Select alternate synchronization settings</source> <target>Selecionar configuração de sincronização alternativa</target> <source>No filter selected</source> @@ -94,9 +108,9 @@ <source>Initial synchronization:</source> <target>Sincronização inicial:</target> <source>One of the FreeFileSync database files is not yet existing:</source> -<target>Um dos arquivos de bancos de dados do FreeFileSync ainda não existe:</target> +<target>Um dos arquivos de banco de dados do FreeFileSync ainda não existe:</target> <source>One of the FreeFileSync database entries within the following file is not yet existing:</source> -<target>Um das entradas do bancos de dados do FreeFileSync dentro do seguinte arquivo ainda não existe:</target> +<target>Um das entradas do banco de dados do FreeFileSync dentro do seguinte arquivo ainda não existe:</target> <source>Error reading from synchronization database:</source> <target>Erro ao ler do banco de dados de sincronização:</target> <source>An exception occurred!</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Erro fatal</target> +<source>Invalid FreeFileSync config file!</source> +<target>Arquivo de configuração do FreeFileSync inválido!</target> <source>File does not exist:</source> <target>O arquivo não existe:</target> <source>Error parsing configuration file:</source> <target>Erro de leitura do arquivo de configuração:</target> -<source>Error writing file:</source> -<target>Erro ao escrever arquivo:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Arquivo de configuração do FreeFileSync inválido!</target> <source>/sec</source> <target>/seg</target> <source> @@ -194,7 +206,7 @@ A linha de comando é executada cada vez que: <source>Remove folder</source> <target>Remover pasta</target> <source>Select a folder</source> -<target>Selecione uma pasta</target> +<target>Selecionar uma pasta</target> <source>Command line</source> <target>Linha de comando</target> <source>Minimum Idle Time [seconds]</source> @@ -217,26 +229,24 @@ A linha de comando é executada cada vez que: <target>Monitoramento ativo...</target> <source>Waiting for missing directories...</source> <target>Esperando por diretórios faltantes...</target> -<source>Command line is empty!</source> -<target>Linha de comando está vazia!</target> <source>Could not initialize directory monitoring:</source> <target>Não foi possÃvel inicializar o monitoramento de diretórios:</target> <source>A directory input field is empty.</source> <target>Um campo de entrada de diretório está vazio.</target> <source>Error when monitoring directories.</source> -<target>Erro monitorando diretórios.</target> +<target>Erro ao monitorar os diretórios.</target> <source>Drag && drop</source> <target>Arrastar && Soltar</target> <source>Conversion error:</source> <target>Erro de conversão:</target> <source>Error moving file:</source> -<target>Erro movendo arquivo:</target> +<target>Erro ao mover arquivo:</target> <source>Operation aborted!</source> <target>Operação cancelada!</target> <source>Target file already existing!</source> <target>Arquivo de destino já existe!</target> <source>Error moving directory:</source> -<target>Erro movendo diretório:</target> +<target>Erro ao mover diretório:</target> <source>Target directory already existing!</source> <target>Diretório de destino já existe!</target> <source>Error deleting directory:</source> @@ -259,12 +269,18 @@ A linha de comando é executada cada vez que: <target>Erro ao copiar arquivo:</target> <source>Error opening file:</source> <target>Erro ao abrir arquivo:</target> +<source>Error writing file:</source> +<target>Erro ao escrever arquivo:</target> <source>Error reading file:</source> <target>Erro ao ler arquivo:</target> <source>Endless loop when traversing directory:</source> <target>Loop infinito quando percorrendo diretório:</target> <source>Error traversing directory:</source> <target>Erro ao percorrer diretório:</target> +<source>Windows Error Code %x:</source> +<target>Código de Erro do Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Código de Erro do Linux %x:</target> <source>Error setting privilege:</source> <target>Erro ao definir privilégio:</target> <source>Error moving to Recycle Bin:</source> @@ -289,28 +305,16 @@ A linha de comando é executada cada vez que: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Não foi possÃvel ler os valores para os seguintes nós XML:</target> -<source>Show popup</source> -<target>Mostrar popup</target> -<source>Show popup on errors or warnings</source> -<target>Mostrar popup com erros ou avisos</target> -<source>Ignore errors</source> -<target>Ignorar erros</target> -<source>Hide all error and warning messages</source> -<target>Ocultar todas as mensagens de erro ou aviso</target> -<source>Exit instantly</source> -<target>Sair instantaneamente</target> -<source>Abort synchronization immediately</source> -<target>Cancelar a sincronização imediatamente</target> <source>Logging</source> <target>Gravando log</target> <source>FreeFileSync batch file</source> -<target>FreeFileSync Arquivo batch</target> +<target>FreeFileSync arquivo batch</target> <source>FreeFileSync configuration</source> <target>FreeFileSync configuração</target> <source>FreeFileSync Batch Job</source> <target>FreeFileSync Arquivo batch</target> <source>Unable to create logfile!</source> -<target>Não foi possÃvel criar arquivo log!</target> +<target>Não foi possÃvel criar arquivo de log!</target> <source>Batch execution</source> <target>Execução do batch</target> <source>Log-messages:</source> @@ -332,7 +336,7 @@ A linha de comando é executada cada vez que: <source>Unable to connect to sourceforge.net!</source> <target>Não foi possÃvel conectar a sourceforge.net!</target> <source>A newer version of FreeFileSync is available:</source> -<target>Uma nova versão do FreeFileSync foi encontrada:</target> +<target>Uma nova versão do FreeFileSync está disponÃvel:</target> <source>Download now?</source> <target>Baixar agora?</target> <source>Information</source> @@ -398,15 +402,15 @@ A linha de comando é executada cada vez que: <source>Number of files and directories that will be deleted</source> <target>Número de arquivos e diretórios que serão apagados</target> <source>Total amount of data that will be transferred</source> -<target>Volume de dados que será transferido</target> +<target>Volume total de dados que será transferido</target> <source>Left</source> <target>Esquerda</target> <source>Right</source> <target>Direita</target> <source>Batch job</source> <target>Arquivo Batch</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Monta um arquivo batch para sincronização automatizada. Para iniciar o modo batch, passar o nome do arquivo para o executável do FreeFileSync: FreeFileSync.exe <arquivo batch>. Também pode ser programado no Agendador de Tarefas do sistema operacional.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Cria um arquivo batch para sincronização automática. Para iniciar o modo batch, simplesmente dê um duplo click no arquivo ou execute via linha de comando: FreeFileSync.exe <arquivo batch>. Também pode ser agendado pelo agendador de tarefas do sistema operacional.</target> <source>Help</source> <target>Ajuda</target> <source>Configuration overview:</source> @@ -424,7 +428,7 @@ A linha de comando é executada cada vez que: <source>Overview</source> <target>Parâmetros</target> <source>Select logfile directory:</source> -<target>Escolha um diretório para salvar o arquivo log:</target> +<target>Escolha um diretório para salvar o arquivo de log:</target> <source>Maximum number of logfiles:</source> <target>Número máximo de arquivos de log:</target> <source>&Save</source> @@ -450,7 +454,7 @@ A linha de comando é executada cada vez que: <source><Automatic></source> <target><Automático></target> <source>Identify and propagate changes on both sides using a database. Deletions and conflicts are detected automatically.</source> -<target>Identificar e propagar mudanças em ambos os lados utilizando um banco de dados. Exclusões e conflitos serão detectados automaticamente.</target> +<target>Identifica e propaga mudanças em ambos os lados utilizando um banco de dados. Exclusões e conflitos serão detectados automaticamente.</target> <source>Mirror ->></source> <target>Espelhar ->></target> <source>Mirror backup of left folder. Right folder is modified to exactly match left folder after synchronization.</source> @@ -458,7 +462,7 @@ A linha de comando é executada cada vez que: <source>Update -></source> <target>Atualizar -></target> <source>Copy new or updated files to right folder.</source> -<target>Copiar arquivos novos ou atualizados para a pasta da direita</target> +<target>Copia arquivos novos ou atualizados para a pasta da direita</target> <source>Custom</source> <target>Personalizado</target> <source>Configure your own synchronization rules.</source> @@ -473,18 +477,18 @@ A linha de comando é executada cada vez que: <target>Categoria</target> <source>Action</source> <target>Ação</target> -<source>Files/folders that exist on left side only</source> -<target>Arquivos/pastas que existem somente à esquerda</target> -<source>Files/folders that exist on right side only</source> -<target>Arquivos/pastas que existem somente à direita</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Arquivos que existem nos dois lados, sendo à esquerda mais recentes</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Arquivos que existem nos dois lados, sendo à direita mais recentes</target> -<source>Files that have different content</source> -<target>Arquivos que possuem conteúdo diferente</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflitos/arquivos que não podem ser categorizados</target> +<source>File/folder exists on left side only</source> +<target>Arquivo/pasta existente somente no lado esquerdo</target> +<source>File/folder exists on right side only</source> +<target>Arquivo/pasta existente somente no lado direito</target> +<source>Left file is newer</source> +<target>Arquivo à esquerda é mais novo</target> +<source>Right file is newer</source> +<target>Arquivo à direita é mais novo</target> +<source>Files have different content</source> +<target>Arquivos possuem diferentes conteúdos</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflito/arquivo não pode ser categorizado</target> <source>Compare by...</source> <target>Comparar por...</target> <source> @@ -560,17 +564,17 @@ Com esta opção habilitada, a árvore de decisão é menor: <source>Big thanks for localizing FreeFileSync goes out to:</source> <target>Pela tradução do FreeFileSync, um agradecimento a:</target> <source>Feedback and suggestions are welcome at:</source> -<target>Comentários e sugestões são bem-vindos em:</target> +<target>Comentários e sugestões são bem-vindos:</target> <source>FreeFileSync at Sourceforge</source> <target>FreeFileSync na Sourceforge</target> <source>Homepage</source> <target>Homepage</target> <source>If you like FFS</source> -<target>Se gosta do FFS</target> +<target>Se você gosta do FFS</target> <source>Donate with PayPal</source> <target>Doar usando PayPal</target> <source>Email</source> -<target>Email</target> +<target>E-mail</target> <source>Report translation error</source> <target>Reportar erro de tradução</target> <source>Published under the GNU General Public License:</source> @@ -610,9 +614,9 @@ Nota: O nome do filtro deve ser especificado relativo(!) ao diretório principal <source>1. Enter relative file or directory names separated by ';' or a new line.</source> <target>1. Entre os nomes dos arquivos ou diretórios relativos separados por ';' ou uma nova linha.</target> <source>2. Use wildcard characters '*' and '?'.</source> -<target>2. Usar '*' e '?' como caracteres coringa.</target> +<target>2. Use '*' e '?' como caracteres coringa.</target> <source>3. Exclude files directly on main grid via context menu.</source> -<target>3. Excluir arquivos diretamente do grid principal através do menu de contexto.</target> +<target>3. Exclua arquivos diretamente do grid principal através do menu de contexto.</target> <source>Example</source> <target>Exemplo</target> <source> @@ -630,7 +634,7 @@ Excluir: \stuff\temp\* <source>Exclude</source> <target>Excluir</target> <source>Select time span:</source> -<target>Selecione o perÃodo de tempo:</target> +<target>Selecionar o perÃodo de tempo:</target> <source>Minimum file size:</source> <target>Tamanho mÃnimo do arquivo:</target> <source>Maximum file size:</source> @@ -702,15 +706,13 @@ Transferir permissões de arquivos e diretórios <source>Include temporarily</source> <target>Incluir temporariamente</target> <source>Exclude via filter:</source> -<target>Excluir por filtro:</target> +<target>Excluir via filtro:</target> <source><multiple selection></source> <target><seleção múltipla></target> <source>D-Click</source> <target>Duplo Click</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copiar para a Ãrea de transferência CTRL+C</target> -<source>Delete files DEL</source> -<target>Apagar arquivos DEL</target> +<source>Delete</source> +<target>Apagar</target> <source>Customize...</source> <target>Personalizar...</target> <source>Auto-adjust columns</source> @@ -818,8 +820,8 @@ Transferir permissões de arquivos e diretórios <pluralform>%x files</pluralform> </source> <target> -<pluralform>1 Arquivo</pluralform> -<pluralform>%x Arquivos</pluralform> +<pluralform>1 arquivo</pluralform> +<pluralform>%x arquivos</pluralform> </target> <source> <pluralform>%x of 1 row in view</pluralform> @@ -853,8 +855,10 @@ Transferir permissões de arquivos e diretórios <target>arquivo existe em ambos os lados</target> <source>on one side only</source> <target>existente apenas em um lado</target> -<source>different</source> -<target>diferente</target> +<source>same date</source> +<target>mesma data</target> +<source>different date</source> +<target>data diferente</target> <source>Inactive</source> <target>Inativo</target> <source>Second</source> @@ -878,7 +882,7 @@ Transferir permissões de arquivos e diretórios <source>Ignore</source> <target>Ignorar</target> <source>Direct</source> -<target>Direto</target> +<target>Direcionar</target> <source>Follow</source> <target>Seguir</target> <source>Integrate external applications into context menu. The following macros are available:</source> @@ -965,28 +969,28 @@ Transferir permissões de arquivos e diretórios <target>Gerando lista de arquivos...</target> <source>Multiple...</source> <target>Múltiplos...</target> -<source>Files that are equal on both sides</source> -<target>Arquivos que são iguais em ambos os lados</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Arquivos/pastas iguais que diferem apenas nos atributos</target> -<source>Copy from right to left</source> -<target>Copiar da direita para a esquerda</target> -<source>Copy from left to right</source> -<target>Copiar da esquerda para a direita</target> -<source>Delete files/folders existing on left side only</source> -<target>Apagar arquivos/pastas existentes apenas no lado esquerdo</target> -<source>Delete files/folders existing on right side only</source> -<target>Apagar arquivos/pastas existentes apenas no lado direito</target> -<source>Copy from right to left overwriting</source> -<target>Copiar da direita para a esquerda substituindo</target> -<source>Copy from left to right overwriting</source> -<target>Copiar da esquerda para a direita substituindo</target> +<source>Both sides are equal</source> +<target>Ambos os lados são iguais</target> +<source>Files/folders differ in attributes only</source> +<target>Arquivos/pastas se diferenciam apenas nos atributos</target> +<source>Copy new file/folder to left</source> +<target>Copiar arquivos/pastas novos para a esquerda</target> +<source>Copy new file/folder to right</source> +<target>Copiar arquivos/pastas novos para a direita</target> +<source>Delete left file/folder</source> +<target>Apagar arquivos/pastas da esquerda</target> +<source>Delete right file/folder</source> +<target>Apagar arquivos/pastas da direita</target> +<source>Overwrite left file/folder with right one</source> +<target>Substituir arquivos/pastas da esquerda pelos da direita</target> +<source>Overwrite right file/folder with left one</source> +<target>Substituir arquivos/pastas da direita pelos da esquerda</target> <source>Do nothing</source> <target>Não fazer nada</target> -<source>Copy attributes only from right to left</source> -<target>Copiar atributos somente da direita para a esquerda</target> -<source>Copy attributes only from left to right</source> -<target>Copiar atributos somente da esquerda para a direita</target> +<source>Copy file attributes only to left</source> +<target>Copiar apenas os atributos do arquivo para a esquerda</target> +<source>Copy file attributes only to right</source> +<target>Copiar apenas os atributos do arquivo para a direita</target> <source>Deleting file %x</source> <target>Apagando arquivo %x</target> <source>Deleting Symbolic Link %x</source> @@ -1006,9 +1010,9 @@ Transferir permissões de arquivos e diretórios <source>Copying new Symbolic Link %x to %y</source> <target>Copiando novo Link Simbólico %x para %y</target> <source>Overwriting file %x in %y</source> -<target>SubstituÃndo arquivo %x em %y</target> +<target>Substituindo arquivo %x em %y</target> <source>Overwriting Symbolic Link %x in %y</source> -<target>SubstituÃndo Link Simbólico %x em %y</target> +<target>Substituindo Link Simbólico %x em %y</target> <source>Creating folder %x</source> <target>Criando pasta %x</target> <source>Verifying file %x</source> @@ -1017,6 +1021,8 @@ Transferir permissões de arquivos e diretórios <target>Atualizando atributos de %x</target> <source>Source directory does not exist anymore:</source> <target>Diretório de origem não existe mais:</target> +<source>Generating database...</source> +<target>Gerando banco de dados...</target> <source>Nothing to synchronize according to configuration!</source> <target>Nada para sincronizar de acordo com a configuração!</target> <source>Target directory name must not be empty!</source> @@ -1038,11 +1044,9 @@ Transferir permissões de arquivos e diretórios <source>Free disk space available:</source> <target>Espaço livre em disco:</target> <source>A directory will be modified which is part of multiple folder pairs! Please review synchronization settings!</source> -<target>Um diretório será modificado o qual é parte de múltiplos pares de pastas! Por favor revise suas configurações de sincronização!</target> +<target>Um diretório que faz parte de múltiplos pares de pastas será modificado! Por favor revise suas configurações de sincronização!</target> <source>Processing folder pair:</source> <target>Processando par de pastas:</target> -<source>Generating database...</source> -<target>Gerando banco de dados...</target> <source>Error copying locked file %x!</source> <target>Erro ao copiar arquivo bloqueado %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/romanian.lng b/BUILD/Languages/romanian.lng index 19db6f3b..2c7da055 100644 --- a/BUILD/Languages/romanian.lng +++ b/BUILD/Languages/romanian.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Sincronizare Inteligentă</target> <source>Browse</source> <target>Explorează</target> +<source>Invalid commandline: "%x"</source> +<target>Linie de comandă nevalidă: "%x"</target> <source>Error resolving symbolic link:</source> <target>Eroare la rezolvarea legăturii simbolice:</target> +<source>Show popup</source> +<target>Arată casete de dialog</target> +<source>Show popup on errors or warnings</source> +<target>Este arătată o casetă de dialog pentru fiecare eroare sau avertisment</target> +<source>Ignore errors</source> +<target>Ignoră erorile</target> +<source>Hide all error and warning messages</source> +<target>Sînt ascunse toate mesajele de eroare È™i de avertizare</target> +<source>Exit instantly</source> +<target>IeÈ™i imediat</target> +<source>Abort synchronization immediately</source> +<target>Abandonează imediat sincronizarea</target> <source>Select alternate synchronization settings</source> <target>Selectează o altă configuraÈ›ie a sincronizării</target> <source>No filter selected</source> @@ -30,7 +44,7 @@ <source>Remove alternate settings</source> <target>ÃŽnlătură setările alternative</target> <source>Create a batch job</source> -<target>Creează o Sarcină Lot</target> +<target>Creează o Sarcină Set</target> <source>Synchronization settings</source> <target>Setările Sincronizării</target> <source>Comparison settings</source> @@ -81,7 +95,7 @@ <source>Full path</source> <target>Cale completă</target> <source>Filename</source> -<target>Numele Filei</target> +<target>Numele Elementului</target> <source>Relative path</source> <target>Calea Relativă</target> <source>Directory</source> @@ -123,14 +137,12 @@ <target>InformaÈ›ii</target> <source>Fatal Error</source> <target>Eroare Fatală</target> +<source>Invalid FreeFileSync config file!</source> +<target>Filă de configurare FreeFileSync nevalidă!</target> <source>File does not exist:</source> <target>Fila nu există:</target> <source>Error parsing configuration file:</source> <target>Eroare la parsarea filei de configurare:</target> -<source>Error writing file:</source> -<target>Eroare la scrierea filei:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Filă de configurare FreeFileSync nevalidă!</target> <source>/sec</source> <target>/sec</target> <source> @@ -222,8 +234,6 @@ Linia de comandă este executată de fiecare dată cînd: <target>Monitorizare activă...</target> <source>Waiting for missing directories...</source> <target>AÈ™tept ca dosarele lipsă să devină disponibile...</target> -<source>Command line is empty!</source> -<target>Linia de comandă este goală!</target> <source>Could not initialize directory monitoring:</source> <target>Nu pot iniÈ›ializa monitorizarea dosarelor:</target> <source>A directory input field is empty.</source> @@ -231,7 +241,7 @@ Linia de comandă este executată de fiecare dată cînd: <source>Error when monitoring directories.</source> <target>Eroare la monitorizarea dosarelor.</target> <source>Drag && drop</source> -<target>Trage un dosar peste compartiment sau foloseÈ™te butonul Explorează</target> +<target>Trage un dosar peste compartimentul de mai jos sau foloseÈ™te butonul Explorează</target> <source>Conversion error:</source> <target>Eroare de convertire:</target> <source>Error moving file:</source> @@ -264,12 +274,18 @@ Linia de comandă este executată de fiecare dată cînd: <target>Eroare la copierea filei:</target> <source>Error opening file:</source> <target>Eroare la deschiderea filei:</target> +<source>Error writing file:</source> +<target>Eroare la scrierea filei:</target> <source>Error reading file:</source> <target>Eroare la citirea filei:</target> <source>Endless loop when traversing directory:</source> <target>Buclă infinită la parcurgerea dosarului:</target> <source>Error traversing directory:</source> <target>Eroare la parcurgerea dosarului:</target> +<source>Windows Error Code %x:</source> +<target>Codul Erorii Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Codul Erorii Linux %x:</target> <source>Error setting privilege:</source> <target>Eroare la setarea privilegiului:</target> <source>Error moving to Recycle Bin:</source> @@ -294,30 +310,18 @@ Linia de comandă este executată de fiecare dată cînd: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Nu pot citi valorile pentru următoarele noduri XML:</target> -<source>Show popup</source> -<target>Arată casete de dialog</target> -<source>Show popup on errors or warnings</source> -<target>Este arătată o casetă de dialog pentru fiecare eroare sau avertisment</target> -<source>Ignore errors</source> -<target>Ignoră erorile</target> -<source>Hide all error and warning messages</source> -<target>Sînt ascunse toate mesajele de eroare È™i de avertizare</target> -<source>Exit instantly</source> -<target>IeÈ™i imediat</target> -<source>Abort synchronization immediately</source> -<target>Abandonează imediat sincronizarea</target> <source>Logging</source> <target>Jurnalizez</target> <source>FreeFileSync batch file</source> -<target>Filă cu lot de comenzi FreeFileSync</target> +<target>Filă cu set de comenzi FreeFileSync</target> <source>FreeFileSync configuration</source> <target>ConfiguraÈ›ie FreeFileSync</target> <source>FreeFileSync Batch Job</source> -<target>Sarcină cu lot de comenzi FreeFileSync</target> +<target>Sarcină cu set de comenzi FreeFileSync</target> <source>Unable to create logfile!</source> <target>Fila jurnal nu poate fi creată!</target> <source>Batch execution</source> -<target>Execută Fila Lot</target> +<target>Execută Fila Set</target> <source>Log-messages:</source> <target>Mesaje de jurnalizare:</target> <source>Stop</source> @@ -363,7 +367,7 @@ Linia de comandă este executată de fiecare dată cînd: <source>&Global settings...</source> <target>&Setări Globale...</target> <source>&Create batch job...</source> -<target>&Creează o Sarcină Lot...</target> +<target>&Creează o Sarcină Set...</target> <source>&Export file list...</source> <target>&Exportă Lista de File...</target> <source>&Advanced</source> @@ -395,7 +399,7 @@ Linia de comandă este executată de fiecare dată cînd: <source>Hide excluded items</source> <target>Ascunde itemurile excluse</target> <source>Hide filtered or temporarily excluded files</source> -<target>Ascunde filele filtrate sau excluse temporar</target> +<target>Ascunde elementele (file/dosare) filtrate sau excluse temporar</target> <source>Number of files and directories that will be created</source> <target>Numărul de file È™i dosare care vor fi create</target> <source>Number of files that will be overwritten</source> @@ -409,9 +413,9 @@ Linia de comandă este executată de fiecare dată cînd: <source>Right</source> <target>Dreapta</target> <source>Batch job</source> -<target>Sarcină Lot</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Se poate crea o filă cu un lot de comenzi [batch file] pentru sincronizarea inteligentă. Pentru a porni în modul lot, precizează astfel numele filei lot pentru prelucrarea sa de către executabilul FreeFileSync: freefilesync.exe <filă lot>. Această operaÈ›ie poate fi programată în planificatorul de sarcini al sistemului de operare [task scheduler].</target> +<target>Sarcină Set</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>PoÈ›i crea o filă ce include un set de comenzi [batch file], în scopul folosirii ei la sincronizarea inteligentă. Pentru a porni în modul set, dublu-clichează fila sau execut-o folosind linia de comandă: FreeFileSync.exe <filaset>. Această operaÈ›ie poate fi programată în planificatorul de sarcini al sistemului de operare [task scheduler].</target> <source>Help</source> <target>Ajutor</target> <source>Configuration overview:</source> @@ -478,18 +482,18 @@ Linia de comandă este executată de fiecare dată cînd: <target>Categorie</target> <source>Action</source> <target>AcÈ›iune</target> -<source>Files/folders that exist on left side only</source> -<target>File sau dosare care există doar în partea stîngă</target> -<source>Files/folders that exist on right side only</source> -<target>File sau dosare care există doar în partea dreaptă</target> -<source>Files that exist on both sides, left one is newer</source> -<target>File care există în ambele părÈ›i, cea din stînga fiind mai nouă</target> -<source>Files that exist on both sides, right one is newer</source> -<target>File care există în ambele părÈ›i, cea din dreapta fiind mai nouă</target> -<source>Files that have different content</source> -<target>File care au conÈ›inut diferit</target> -<source>Conflicts/files that cannot be categorized</source> -<target>SituaÈ›ii care nu pot fi incluse într-o anumită categorie</target> +<source>File/folder exists on left side only</source> +<target>Fila/Dosarul există doar în partea stîngă</target> +<source>File/folder exists on right side only</source> +<target>Fila/Dosarul există doar în partea dreaptă</target> +<source>Left file is newer</source> +<target>Fila stîngă e mai nouă</target> +<source>Right file is newer</source> +<target>Fila dreaptă e mai nouă</target> +<source>Files have different content</source> +<target>Filele au conÈ›inut diferit</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflictul/Fila nu pot fi incluse într-o anumită categorie</target> <source>Compare by...</source> <target>Compară după:</target> <source> @@ -544,8 +548,8 @@ este identic <target>- există doar în stînga</target> <source>- exists right only</source> <target>- există doar în dreapta</target> -<source>- conflict</source> -<target>- conflict</target> +<source>- conflict (same date, different size)</source> +<target>- conflict (dată identică, mărime diferită)</target> <source>Compare by "File content"</source> <target>Compară după "ConÈ›inutul Filelor"</target> <source> @@ -712,10 +716,8 @@ Transferă permisiunile filelor È™i dosarelor <target><selectare multiplă></target> <source>D-Click</source> <target>Clic-Dreapta</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copiază în CliplanÈ™etă CTRL+C</target> -<source>Delete files DEL</source> -<target>Șterge Filele DEL</target> +<source>Delete</source> +<target>Șterge</target> <source>Customize...</source> <target>Personalizează...</target> <source>Auto-adjust columns</source> @@ -753,45 +755,45 @@ Transferă permisiunile filelor È™i dosarelor <source>Show files that are newer on right</source> <target>Arată filele din dreapta mai noi decît cele din stînga</target> <source>Hide files that are equal</source> -<target>Ascunde filele care sînt identice</target> +<target>Ascunde elementele (file/dosare) identice</target> <source>Show files that are equal</source> -<target>Arată filele identice</target> +<target>Arată elementele (file/dosare) identice</target> <source>Hide files that are different</source> -<target>Ascunde filele care sînt diferite</target> +<target>Ascunde elementele (file/dosare) care sînt diferite</target> <source>Show files that are different</source> -<target>Arată filele diferite</target> +<target>Arată elementele (file/dosare) diferite</target> <source>Hide conflicts</source> <target>Ascunde conflictele</target> <source>Show conflicts</source> <target>Arată conflictele</target> <source>Hide files that will be created on the left side</source> -<target>Ascunde filele care vor fi create în stînga</target> +<target>Ascunde elementele (file/dosare) care vor fi create în stînga</target> <source>Show files that will be created on the left side</source> -<target>Arată filele care vor fi create în stînga</target> +<target>Arată elementele (file/dosare) care vor fi create în stînga</target> <source>Hide files that will be created on the right side</source> -<target>Ascunde filele care vor fi create în dreapta</target> +<target>Ascunde elementele (file/dosare) care vor fi create în dreapta</target> <source>Show files that will be created on the right side</source> -<target>Arată filele care vor fi create în dreapta</target> +<target>Arată elementele (file/dosare) care vor fi create în dreapta</target> <source>Hide files that will be deleted on the left side</source> -<target>Ascunde filele care vor fi È™terse în stînga</target> +<target>Ascunde elementele (file/dosare) care vor fi È™terse în stînga</target> <source>Show files that will be deleted on the left side</source> -<target>Arată filele care vor fi È™terse în stînga</target> +<target>Arată elementele (file/dosare) care vor fi È™terse în stînga</target> <source>Hide files that will be deleted on the right side</source> -<target>Ascunde filele care vor fi È™terse în dreapta</target> +<target>Ascunde elementele (file/dosare) care vor fi È™terse în dreapta</target> <source>Show files that will be deleted on the right side</source> -<target>Arată filele care vor fi È™terse în dreapta</target> +<target>Arată elementele (file/dosare) care vor fi È™terse în dreapta</target> <source>Hide files that will be overwritten on left side</source> -<target>Ascunde filele care vor fi suprascrise în stînga</target> +<target>Ascunde elementele (file/dosare) care vor fi suprascrise în stînga</target> <source>Show files that will be overwritten on left side</source> -<target>Arată filele care vor fi suprascrise în stînga</target> +<target>Arată elementele (file/dosare) care vor fi suprascrise în stînga</target> <source>Hide files that will be overwritten on right side</source> -<target>Ascunde filele care vor fi suprascrise în dreapta</target> +<target>Ascunde elementele (file/dosare) care vor fi suprascrise în dreapta</target> <source>Show files that will be overwritten on right side</source> -<target>Arată filele care vor fi suprascrise în dreapta</target> +<target>Arată elementele (file/dosare) care vor fi suprascrise în dreapta</target> <source>Hide files that won't be copied</source> -<target>Ascunde filele care nu vor fi copiate</target> +<target>Ascunde elementele (file/dosare) care nu vor fi copiate</target> <source>Show files that won't be copied</source> -<target>Arată filele care nu vor fi copiate</target> +<target>Arată elementele (file/dosare) care nu vor fi copiate</target> <source>All directories in sync!</source> <target>Toate dosarele au fost sincronizate!</target> <source>Please run a Compare first before synchronizing!</source> @@ -808,8 +810,8 @@ Transferă permisiunile filelor È™i dosarelor </source> <target> <pluralform>Item È™ters cu succes!</pluralform> -<pluralform>%x itemuri È™terse cu succes!</pluralform> -<pluralform>%x de itemuri È™terse cu succes!</pluralform> +<pluralform>%x elemente È™terse cu succes!</pluralform> +<pluralform>%x de elemente È™terse cu succes!</pluralform> </target> <source> <pluralform>1 directory</pluralform> @@ -862,14 +864,10 @@ Transferă permisiunile filelor È™i dosarelor <target>fila există în ambele părÈ›i</target> <source>on one side only</source> <target>fila există doar într-o parte</target> -<source>- left</source> -<target>- stînga</target> -<source>- right</source> -<target>- dreapta</target> -<source>different</source> -<target>file diferite</target> -<source>- conflict (same date, different size)</source> -<target>- conflict (aceeaÈ™i dată, mărime diferită)</target> +<source>same date</source> +<target>dată identică</target> +<source>different date</source> +<target>dată diferită</target> <source>Inactive</source> <target>Dezactivat</target> <source>Second</source> @@ -973,37 +971,37 @@ Transferă permisiunile filelor È™i dosarelor <source>Conflict detected:</source> <target>Conflict detectat:</target> <source>Files %x have the same date but a different size!</source> -<target>Filele %x au aceeaÈ™i dată, dar mărime diferită!</target> +<target>Filele %x au dată identică, dar mărime diferită!</target> <source>Symlinks %x have the same date but a different target!</source> -<target>Simlegăturile %x au aceeaÈ™i dată, dar È›inte diferite!</target> +<target>Simlegăturile %x au dată identică, dar È›inte diferite!</target> <source>Comparing files by content failed.</source> <target>Compararea filelor după conÈ›inut a eÈ™uat.</target> <source>Generating file list...</source> <target>Generez lista de file...</target> <source>Multiple...</source> <target>Multiplu...</target> -<source>Files that are equal on both sides</source> -<target>File identice în ambele părÈ›i</target> -<source>Equal files/folders that differ in attributes only</source> -<target>File/Dosare identice care diferă doar prin atributele lor</target> -<source>Copy from right to left</source> -<target>Copiază de la Dreapta la Stînga</target> -<source>Copy from left to right</source> -<target>Copiază de la Stînga la Dreapta</target> -<source>Delete files/folders existing on left side only</source> -<target>Șterge Itemul din Stînga</target> -<source>Delete files/folders existing on right side only</source> -<target>Șterge Itemul din Dreapta</target> -<source>Copy from right to left overwriting</source> -<target>Copiază de la Dreapta la Stînga cu Suprascriere</target> -<source>Copy from left to right overwriting</source> -<target>Copiază de la Stînga la Dreapta cu Suprascriere</target> +<source>Both sides are equal</source> +<target>Amblee părÈ›i sînt identice</target> +<source>Files/folders differ in attributes only</source> +<target>File/Dosarele diferă doar prin atributele lor</target> +<source>Copy new file/folder to left</source> +<target>Copiază fila/dosarul nou în stînga</target> +<source>Copy new file/folder to right</source> +<target>Copiază fila/dosarul nou în dreapta</target> +<source>Delete left file/folder</source> +<target>Șterge fila/dosarul stîng</target> +<source>Delete right file/folder</source> +<target>Șterge fila/dosarul drept</target> +<source>Overwrite left file/folder with right one</source> +<target>Suprascrie elementul stîng (fila/dosarul) cu cel drept</target> +<source>Overwrite right file/folder with left one</source> +<target>Suprascrie elementul drept (fila/dosarul) cu cel stîng</target> <source>Do nothing</source> <target>Nici o AcÈ›iune</target> -<source>Copy attributes only from right to left</source> -<target>Copiază doar atributele de la dreapta la stînga</target> -<source>Copy attributes only from left to right</source> -<target>Copiază doar atributele de la stînga la dreapta</target> +<source>Copy file attributes only to left</source> +<target>Copiază atributele filelor doar înspre stînga</target> +<source>Copy file attributes only to right</source> +<target>Copiază atributele filelor doar înspre dreapta</target> <source>Deleting file %x</source> <target>Șterg fila %x</target> <source>Deleting Symbolic Link %x</source> @@ -1034,6 +1032,8 @@ Transferă permisiunile filelor È™i dosarelor <target>Actualizez atributele lui %x</target> <source>Source directory does not exist anymore:</source> <target>Dosarul sursă nu mai există:</target> +<source>Generating database...</source> +<target>Generez baza de date...</target> <source>Nothing to synchronize according to configuration!</source> <target>Nu este nimic de sincronizat conform configuraÈ›iei!</target> <source>Target directory name must not be empty!</source> @@ -1058,8 +1058,6 @@ Transferă permisiunile filelor È™i dosarelor <target>Va fi modificat un dosar care face parte din mai multe perechi de dosare! Reverifică setările de sincronizare!</target> <source>Processing folder pair:</source> <target>Procesez perechea de dosare:</target> -<source>Generating database...</source> -<target>Generez baza de date...</target> <source>Error copying locked file %x!</source> <target>Eroare la copierea filei zăvorîte %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/russian.lng b/BUILD/Languages/russian.lng index 391fc9ff..bd2a5e26 100644 --- a/BUILD/Languages/russian.lng +++ b/BUILD/Languages/russian.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - ÐвтоматичеÑÐºÐ°Ñ ÑинхронизациÑ</target> <source>Browse</source> <target>Обзор</target> +<source>Invalid commandline: "%x"</source> +<target>ÐÐµÐ²ÐµÑ€Ð½Ð°Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð½Ð°Ñ Ñтрока: "%x"</target> <source>Error resolving symbolic link:</source> <target>Ошибка при решении ÑимволичеÑкой ÑÑылки:</target> +<source>Show popup</source> +<target>Показывать вÑплывающие окна</target> +<source>Show popup on errors or warnings</source> +<target>Показывать вÑплывающие окна при ошибках и замечаниÑÑ…</target> +<source>Ignore errors</source> +<target>Игнорировать ошибки</target> +<source>Hide all error and warning messages</source> +<target>Скрывать вÑе ошибки и ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ñ Ð¿Ñ€ÐµÐ´ÑƒÐ¿Ñ€ÐµÐ¶Ð´ÐµÐ½Ð¸Ñми</target> +<source>Exit instantly</source> +<target>Выйти немедленно</target> +<source>Abort synchronization immediately</source> +<target>Отменить Ñинхронизацию немедленно</target> <source>Select alternate synchronization settings</source> <target>Выбрать альтернативные наÑтройки Ñинхронизации</target> <source>No filter selected</source> @@ -129,8 +143,6 @@ <target>Файл не ÑущеÑтвует:</target> <source>Error parsing configuration file:</source> <target>Ошибка при анализе файла наÑтроек Ñинхронизации:</target> -<source>Error writing file:</source> -<target>Ошибка при запиÑи файла:</target> <source>/sec</source> <target>/Ñ</target> <source> @@ -222,8 +234,6 @@ The command line is executed each time: <target>Мониторинг включен...</target> <source>Waiting for missing directories...</source> <target>Ожидание пропущенных папок...</target> -<source>Command line is empty!</source> -<target>ÐšÐ¾Ð¼Ð°Ð½Ð´Ð½Ð°Ñ Ñтрока пуÑта!</target> <source>Could not initialize directory monitoring:</source> <target>Ðе удалоÑÑŒ инициализировать папку Ð´Ð»Ñ Ð¼Ð¾Ð½Ð¸Ñ‚Ð¾Ñ€Ð¸Ð½Ð³Ð°:</target> <source>A directory input field is empty.</source> @@ -264,12 +274,18 @@ The command line is executed each time: <target>Ошибка при копировании файла:</target> <source>Error opening file:</source> <target>Ошибка при открытии файла:</target> +<source>Error writing file:</source> +<target>Ошибка при запиÑи файла:</target> <source>Error reading file:</source> <target>Ошибка при чтении файла:</target> <source>Endless loop when traversing directory:</source> <target>Зацикливание при вÑтрече переÑекающихÑÑ Ð¿ÑƒÑ‚ÐµÐ¹:</target> <source>Error traversing directory:</source> <target>Ошибка при переÑечении папок:</target> +<source>Windows Error Code %x:</source> +<target>Код ошибки Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Код ошибки Linux %x:</target> <source>Error setting privilege:</source> <target>Ошибка уÑтановки привилегий:</target> <source>Error moving to Recycle Bin:</source> @@ -294,22 +310,10 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Ðе удалоÑÑŒ прочитать Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ñледующих XML запиÑей:</target> -<source>Show popup</source> -<target>Показывать вÑплывающие окна</target> -<source>Show popup on errors or warnings</source> -<target>Показывать вÑплывающие окна при ошибках и замечаниÑÑ…</target> -<source>Ignore errors</source> -<target>Игнорировать ошибки</target> -<source>Hide all error and warning messages</source> -<target>Скрывать вÑе ошибки и ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ñ Ð¿Ñ€ÐµÐ´ÑƒÐ¿Ñ€ÐµÐ¶Ð´ÐµÐ½Ð¸Ñми</target> -<source>Exit instantly</source> -<target>Выйти немедленно</target> -<source>Abort synchronization immediately</source> -<target>Отменить Ñинхронизацию немедленно</target> <source>Logging</source> <target>Лог-файлы</target> <source>FreeFileSync batch file</source> -<target>Файл Ð·Ð°Ð´Ð°Ð½Ð¸Ñ FreeFileSync</target> +<target>Файл пакетного Ð·Ð°Ð´Ð°Ð½Ð¸Ñ FreeFileSync</target> <source>FreeFileSync configuration</source> <target>ÐаÑтройка FreeFileSync</target> <source>FreeFileSync Batch Job</source> @@ -363,7 +367,7 @@ The command line is executed each time: <source>&Global settings...</source> <target>&Глобальные наÑтройки...</target> <source>&Create batch job...</source> -<target>&Создать задание...</target> +<target>&Создать пакетное задание...</target> <source>&Export file list...</source> <target>&ÐкÑпортировать ÑпиÑок файлов...</target> <source>&Advanced</source> @@ -413,8 +417,8 @@ The command line is executed each time: <target>Справа</target> <source>Batch job</source> <target>Пакетное задание</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Создайте файл Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ð·Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð¾Ð¹ Ñинхронизации. Чтобы запуÑтить программу в Ñтом режиме проÑто передайте название файла на выполнение FreeFileSync: FreeFileSync.exe <batchfile>. Ðто также может быть запиÑано в планировщике задач Вашей операционной ÑиÑтемы.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Создайте файл пакетного Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ñ‡ÐµÑкой Ñинхронизации. Ð”Ð»Ñ Ð·Ð°Ð¿ÑƒÑка в пакетном режиме проÑто дважды щелкните по файлу или выполните командную Ñтроку: FreeFileSync.exe <batchfile>. Также Ñто может быть запланировано в планировщике задач операционной ÑиÑтемы.</target> <source>Help</source> <target>Помощь</target> <source>Configuration overview:</source> @@ -481,18 +485,18 @@ The command line is executed each time: <target>КатегориÑ</target> <source>Action</source> <target>ДейÑтвие</target> -<source>Files/folders that exist on left side only</source> -<target>Файлы/папки, ÑущеÑтвующие только на левой Ñтороне</target> -<source>Files/folders that exist on right side only</source> -<target>Файлы/папки, ÑущеÑтвующие только на правой Ñтороне</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Файлы, ÑущеÑтвующие на обоих Ñторонах, левый новее</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Файлы, ÑущеÑтвующие на обоих Ñторонах, правый новее</target> -<source>Files that have different content</source> -<target>Файлы, имеющие различное Ñодержание</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Конфликты/файлы, которые не могут быть отнеÑены к какой-либо категории</target> +<source>File/folder exists on left side only</source> +<target>Файл/папка ÑущеÑтвует только на левой Ñтороне</target> +<source>File/folder exists on right side only</source> +<target>Файл/папка ÑущеÑтвует только на правой Ñтороне</target> +<source>Left file is newer</source> +<target>Файл на левой Ñтороне новее</target> +<source>Right file is newer</source> +<target>Файл на правой Ñтороне новее</target> +<source>Files have different content</source> +<target>Файлы имеют различное Ñодержание</target> +<source>Conflict/file cannot be categorized</source> +<target>Конфликт/файл не может быть отнеÑен к какой-либо категории</target> <source>Compare by...</source> <target>Критерии ÑравнениÑ</target> <source> @@ -688,7 +692,7 @@ Transfer file and directory permissions <source>You may try to synchronize remaining items again (WITHOUT having to re-compare)!</source> <target>Ð’Ñ‹ можете попытатьÑÑ Ñинхронизировать оÑтавшиеÑÑ Ð¿ÑƒÐ½ÐºÑ‚Ñ‹ Ñнова (без повторного ÑравнениÑ)!</target> <source>Batch file created successfully!</source> -<target>Файл Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ñоздан уÑпешно!</target> +<target>Файл пакетного Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ñоздан уÑпешно!</target> <source>Main bar</source> <target>Ð“Ð»Ð°Ð²Ð½Ð°Ñ Ð¿Ð°Ð½ÐµÐ»ÑŒ</target> <source>Folder pairs</source> @@ -711,10 +715,8 @@ Transfer file and directory permissions <target><групповое выделение></target> <source>D-Click</source> <target>Двойной клик</target> -<source>Copy to clipboard CTRL+C</source> -<target>Копировать в буфер обмена CTRL+C</target> -<source>Delete files DEL</source> -<target>Удалить файл(Ñ‹)... DEL</target> +<source>Delete</source> +<target>Удалить</target> <source>Customize...</source> <target>Выбрать колонки...</target> <source>Auto-adjust columns</source> @@ -861,8 +863,10 @@ Transfer file and directory permissions <target>файлы ÑущеÑтвуют на обоих Ñторонах</target> <source>on one side only</source> <target>файлы ÑущеÑтвуют только на одной Ñтороне</target> -<source>different</source> -<target>разные</target> +<source>same date</source> +<target>одинаковые даты</target> +<source>different date</source> +<target>разные даты</target> <source>Inactive</source> <target>---</target> <source>Second</source> @@ -981,28 +985,28 @@ Transfer file and directory permissions <target>Создание ÑпиÑка файлов...</target> <source>Multiple...</source> <target>Различные варианты Ñинхронизации</target> -<source>Files that are equal on both sides</source> -<target>Файлы, одинаковые Ñ Ð¾Ð±ÐµÐ¸Ñ… Ñторон</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Одинаковые файлы/папки, которые отличаютÑÑ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ атрибутами</target> -<source>Copy from right to left</source> -<target>Копировать Ñправа налево</target> -<source>Copy from left to right</source> -<target>Копировать Ñлева направо</target> -<source>Delete files/folders existing on left side only</source> -<target>УдалÑÑ‚ÑŒ файлы/папки, ÑущеÑтвующие только на левой Ñтороне</target> -<source>Delete files/folders existing on right side only</source> -<target>УдалÑÑ‚ÑŒ файлы/папки, ÑущеÑтвующие только на правой Ñтороне</target> -<source>Copy from right to left overwriting</source> -<target>Копировать Ñправа налево Ñ Ð¿ÐµÑ€ÐµÐ·Ð°Ð¿Ð¸Ñью</target> -<source>Copy from left to right overwriting</source> -<target>Копировать Ñлева направо Ñ Ð¿ÐµÑ€ÐµÐ·Ð°Ð¿Ð¸Ñью</target> +<source>Both sides are equal</source> +<target>Обе Ñтороны равны</target> +<source>Files/folders differ in attributes only</source> +<target>Файлы/папки разнÑÑ‚ÑÑ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ атрибутами</target> +<source>Copy new file/folder to left</source> +<target>Скопировать новый файл/папку налево</target> +<source>Copy new file/folder to right</source> +<target>Скопировать новый файл/папку направо</target> +<source>Delete left file/folder</source> +<target>Удалить файл/папку Ñлева</target> +<source>Delete right file/folder</source> +<target>Удалить файл/папку Ñправа</target> +<source>Overwrite left file/folder with right one</source> +<target>ПерезапиÑать файл/папку Ñлева на аналогичную Ñправа</target> +<source>Overwrite right file/folder with left one</source> +<target>ПерезапиÑать файл/папку Ñправа на аналогичную Ñлева</target> <source>Do nothing</source> <target>Ðичего не делать</target> -<source>Copy attributes only from right to left</source> -<target>Копировать только атрибуты Ñправа налево</target> -<source>Copy attributes only from left to right</source> -<target>Копировать только атрибуты Ñлева направо</target> +<source>Copy file attributes only to left</source> +<target>Скопировать только атрибуты файла налево</target> +<source>Copy file attributes only to right</source> +<target>Скопировать только атрибуты файла направо</target> <source>Deleting file %x</source> <target>Удаление файла %x</target> <source>Deleting Symbolic Link %x</source> @@ -1033,6 +1037,8 @@ Transfer file and directory permissions <target>Обновление атрибутов %x</target> <source>Source directory does not exist anymore:</source> <target>ИÑÑ…Ð¾Ð´Ð½Ð°Ñ Ð¿Ð°Ð¿ÐºÐ° больше не ÑущеÑтвует:</target> +<source>Generating database...</source> +<target>Создание базы данных...</target> <source>Nothing to synchronize according to configuration!</source> <target>Ðичего нет Ð´Ð»Ñ Ñинхронизации в ÑоответÑтвии Ñ Ð½Ð°Ñтройками Ñинхронизации!</target> <source>Target directory name must not be empty!</source> @@ -1057,8 +1063,6 @@ Transfer file and directory permissions <target>Папка, входÑÑ‰Ð°Ñ Ð² неÑколько пар папок, будет изменена. ПожалуйÑта, проверьте наÑтройки Ñинхронизации!</target> <source>Processing folder pair:</source> <target>Обработка пары папок:</target> -<source>Generating database...</source> -<target>Создание базы данных...</target> <source>Error copying locked file %x!</source> <target>Ошибка при копировании заблокированного файла %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/slovenian.lng b/BUILD/Languages/slovenian.lng index 22870a5a..63b482b1 100644 --- a/BUILD/Languages/slovenian.lng +++ b/BUILD/Languages/slovenian.lng @@ -17,14 +17,28 @@ <target>RealtimeSync - Avtomatizirana sinhronizacija</target> <source>Browse</source> <target>Brskaj</target> +<source>Invalid commandline: "%x"</source> +<target>NapaÄen ukaz v vrstici: "%x"</target> <source>Error resolving symbolic link:</source> <target>Napaka pri razreÅ¡evanju simboliÄne povezave:</target> +<source>Show popup</source> +<target>Prikaži pojavno okno</target> +<source>Show popup on errors or warnings</source> +<target>Prikaži pojavno okno pri napakah in opozorilih</target> +<source>Ignore errors</source> +<target>Ignoriraj napake</target> +<source>Hide all error and warning messages</source> +<target>Skrij vsa obvestila o napakah in opozorilih</target> +<source>Exit instantly</source> +<target>Zapusti v trenutku</target> +<source>Abort synchronization immediately</source> +<target>Takoj prekini sinhronizacijo</target> <source>Select alternate synchronization settings</source> <target>Izberite nadomestne nastavitve sinhronizacije</target> <source>No filter selected</source> <target>Noben filter ni izbran</target> <source>Filter is active</source> -<target>Filterj je aktiven</target> +<target>Filter je aktiven</target> <source>Clear filter settings</source> <target>PoÄisti nastavitve filtra</target> <source>Remove alternate settings</source> @@ -125,14 +139,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Usodna napaka</target> +<source>Invalid FreeFileSync config file!</source> +<target>Neveljavna FreeFileSync nastavitvena datoteka!</target> <source>File does not exist:</source> <target>Datoteka ne obstaja:</target> <source>Error parsing configuration file:</source> <target>Napaka pri preverjanju konfiguracijske datoteke:</target> -<source>Error writing file:</source> -<target>Napaka pri pisanju datoteke:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Neveljavna FreeFileSync nastavitvena datoteka!</target> <source>/sec</source> <target>/sek</target> <source> @@ -227,8 +239,6 @@ Ukazna vrstica se izvrÅ¡i vsakiÄ ko: <target>Nadziranje aktivno...</target> <source>Waiting for missing directories...</source> <target>ÄŒakam na manjkajoÄe imenike...</target> -<source>Command line is empty!</source> -<target>Ukazna vrstica je prazna!</target> <source>Could not initialize directory monitoring:</source> <target>Ne morem zaÄeti nadzorovanja imenikov:</target> <source>A directory input field is empty.</source> @@ -269,12 +279,18 @@ Ukazna vrstica se izvrÅ¡i vsakiÄ ko: <target>Napaka pri kopiranju datoteke:</target> <source>Error opening file:</source> <target>Napaka pri odpiranju datoteke:</target> +<source>Error writing file:</source> +<target>Napaka pri pisanju datoteke:</target> <source>Error reading file:</source> <target>Napaka pri branju datoteke:</target> <source>Endless loop when traversing directory:</source> <target>NeskonÄna zanka pri prehodu imenika:</target> <source>Error traversing directory:</source> <target>Napaka pri prehajanju imenika:</target> +<source>Windows Error Code %x:</source> +<target>Windows koda napake %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux koda napake %x:</target> <source>Error setting privilege:</source> <target>Napaka pri nastavljanju privilegija:</target> <source>Error moving to Recycle Bin:</source> @@ -299,18 +315,6 @@ Ukazna vrstica se izvrÅ¡i vsakiÄ ko: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Ne morem brati vrednosti za naslednja XML vozliÅ¡Äa:</target> -<source>Show popup</source> -<target>Prikaži pojavno okno</target> -<source>Show popup on errors or warnings</source> -<target>Prikaži pojavno okno pri napakah in opozorilih</target> -<source>Ignore errors</source> -<target>Ignoriraj napake</target> -<source>Hide all error and warning messages</source> -<target>Skrij vsa obvestila o napakah in opozorilih</target> -<source>Exit instantly</source> -<target>Zapusti v trenutku</target> -<source>Abort synchronization immediately</source> -<target>Takoj prekini sinhronizacijo</target> <source>Logging</source> <target>Beležim</target> <source>FreeFileSync batch file</source> @@ -415,8 +419,8 @@ Ukazna vrstica se izvrÅ¡i vsakiÄ ko: <target>Desno</target> <source>Batch job</source> <target>Batch opravilo</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Sestavi batch datoteko za samodejno sinhronizacijo. Da zaÄnete v batch naÄinu, preprosto podajte ime batch datoteke k FreeFileSync izvrÅ¡ilni datoteki: FreeFileSync.exe <imedatotekebatch>. To se lahko nastavi tudi v urniku opravil vaÅ¡ega operacijskega sistema.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Ustvari batch datoteko za avtomatizirano sinhronizacijo. Da zaÄnete v batch naÄinu preprosto dvokliknite datoteko ali jo izvrÅ¡ite preko ukazne vrstice: FreeFileSync.exe <batchfile>. To se lahko nastavi v razpored opravil vaÅ¡ega operacijskega sistema.</target> <source>Help</source> <target>PomoÄ</target> <source>Configuration overview:</source> @@ -483,18 +487,18 @@ Ukazna vrstica se izvrÅ¡i vsakiÄ ko: <target>Kategorija</target> <source>Action</source> <target>Ukrep</target> -<source>Files/folders that exist on left side only</source> -<target>Datoteke/mape, ki obstajajo samo na levi strani</target> -<source>Files/folders that exist on right side only</source> -<target>Datoteke/mape, ki obstajajo samo na desni strani</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Datoteke, ki obstajajo na obeh straneh, leva je novejÅ¡a</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Datoteke, ki obstajajo na obeh straneh, desna je novejÅ¡a</target> -<source>Files that have different content</source> -<target>Datoteke, ki imajo razliÄno vsebino</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Prisotni so spori/datoteke, ki ne morejo biti kategorizirani</target> +<source>File/folder exists on left side only</source> +<target>Datoteka/mapa obstaja samo na levi strani</target> +<source>File/folder exists on right side only</source> +<target>Datoteka/mapa obstaja samo na desni strani</target> +<source>Left file is newer</source> +<target>Leva datoteka je novejÅ¡a</target> +<source>Right file is newer</source> +<target>Desna datoteka je novejÅ¡a</target> +<source>Files have different content</source> +<target>Datoteki imata razliÄno vsebino</target> +<source>Conflict/file cannot be categorized</source> +<target>Spor/datoteka ne more biti kategorizirana</target> <source>Compare by...</source> <target>Primerjaj po...</target> <source> @@ -717,10 +721,8 @@ Prenesi dovoljenja datotek in imenikov <target><mnogokratna izbira></target> <source>D-Click</source> <target>D-Klik</target> -<source>Copy to clipboard CTRL+C</source> -<target>Kopiraj v odložiÅ¡Äe CTRL+C</target> -<source>Delete files DEL</source> -<target>IzbriÅ¡i datoteke DEL</target> +<source>Delete</source> +<target>IzbriÅ¡i</target> <source>Customize...</source> <target>Prilagodi...</target> <source>Auto-adjust columns</source> @@ -871,8 +873,10 @@ Prenesi dovoljenja datotek in imenikov <target>datoteka obstaja na obeh straneh</target> <source>on one side only</source> <target>samo na eni strani</target> -<source>different</source> -<target>razliÄni</target> +<source>same date</source> +<target>enak datum</target> +<source>different date</source> +<target>razliÄen datum</target> <source>Inactive</source> <target>Neaktivno</target> <source>Second</source> @@ -987,28 +991,28 @@ Prenesi dovoljenja datotek in imenikov <target>Ustvarjam seznam datotek...</target> <source>Multiple...</source> <target>VeÄkratno...</target> -<source>Files that are equal on both sides</source> -<target>Datoteki, ki sta enaki na obeh straneh</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Enake datoteke/mape, ki se razlikujejo samo v atributih</target> -<source>Copy from right to left</source> -<target>Kopiraj iz desne na levo</target> -<source>Copy from left to right</source> -<target>Kopiraj iz leve na desno</target> -<source>Delete files/folders existing on left side only</source> -<target>IzbriÅ¡i datoteke/mape, ki obstajajo samo na levi strani</target> -<source>Delete files/folders existing on right side only</source> -<target>IzbriÅ¡i datoteke/mape, ki obstajajo samo na desni strani</target> -<source>Copy from right to left overwriting</source> -<target>Kopiraj iz desne na levo s prepisovanjem</target> -<source>Copy from left to right overwriting</source> -<target>Kopiraj iz leve na desno s prepisovanjem</target> +<source>Both sides are equal</source> +<target>Obe strani sta enaki</target> +<source>Files/folders differ in attributes only</source> +<target>Datoteke/mape se razlikujejo samo v atributih</target> +<source>Copy new file/folder to left</source> +<target>Kopiraj novo datoteko/mapo na levo</target> +<source>Copy new file/folder to right</source> +<target>Kopiraj novo datoteko/mapo na desno</target> +<source>Delete left file/folder</source> +<target>IzbriÅ¡i levo datoteko/mapo</target> +<source>Delete right file/folder</source> +<target>IzbriÅ¡i desno datoteko/mapo</target> +<source>Overwrite left file/folder with right one</source> +<target>PrepiÅ¡i levo datoteko/mapo s tisto na desni</target> +<source>Overwrite right file/folder with left one</source> +<target>PrepiÅ¡i desno datoteko/mapo s tisto na levi</target> <source>Do nothing</source> <target>Ne naredi niÄesar</target> -<source>Copy attributes only from right to left</source> -<target>Kopiraj atribute samo iz desne na levo</target> -<source>Copy attributes only from left to right</source> -<target>Kopiraj atribute samo iz leve na desno</target> +<source>Copy file attributes only to left</source> +<target>Kopiraj atribute datoteke samo na levo</target> +<source>Copy file attributes only to right</source> +<target>Kopiraj atribute datoteke samo na desno</target> <source>Deleting file %x</source> <target>Brisanje datoteke %x</target> <source>Deleting Symbolic Link %x</source> @@ -1039,6 +1043,8 @@ Prenesi dovoljenja datotek in imenikov <target>Posodabljam atribute od %x</target> <source>Source directory does not exist anymore:</source> <target>Izvorni imenik ne obstaja veÄ:</target> +<source>Generating database...</source> +<target>Ustvarjam podatkovno bazo...</target> <source>Nothing to synchronize according to configuration!</source> <target>Po trenutni konfiguraciji ni niÄ za sinhronizirati!</target> <source>Target directory name must not be empty!</source> @@ -1063,8 +1069,6 @@ Prenesi dovoljenja datotek in imenikov <target>Imenik bo spremenjen, kar je del veÄkratnih parov map! Prosimo preglejte nastavitve sinhronizacije!</target> <source>Processing folder pair:</source> <target>Obdelujem par map:</target> -<source>Generating database...</source> -<target>Ustvarjam podatkovno bazo...</target> <source>Error copying locked file %x!</source> <target>Napaka pri kopiranju zaklenjene datoteke %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/spanish.lng b/BUILD/Languages/spanish.lng index 99c1a5fd..e5b0be8b 100644 --- a/BUILD/Languages/spanish.lng +++ b/BUILD/Languages/spanish.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Sincronización Automática</target> <source>Browse</source> <target>Examinar</target> +<source>Invalid commandline: "%x"</source> +<target>LÃnea de comandos inválida: "%x"</target> <source>Error resolving symbolic link:</source> <target>Error al resolver enlace simbólico:</target> +<source>Show popup</source> +<target>Mostrar ventanas emergentes</target> +<source>Show popup on errors or warnings</source> +<target>Mostrar ventanas emergentes de errores o avisos</target> +<source>Ignore errors</source> +<target>Ignorar errores</target> +<source>Hide all error and warning messages</source> +<target>Ocultar todos los mensajes de error y aviso</target> +<source>Exit instantly</source> +<target>Salir inmediatamente</target> +<source>Abort synchronization immediately</source> +<target>Abortar sincronización inmediatamente</target> <source>Select alternate synchronization settings</source> <target>Seleccione opciones alternativas de sincronización</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Error fatal</target> +<source>Invalid FreeFileSync config file!</source> +<target>¡Archivo de configuración de FreeFileSync inválido!</target> <source>File does not exist:</source> <target>El archivo no existe:</target> <source>Error parsing configuration file:</source> <target>Error al analizar el archivo de configuración:</target> -<source>Error writing file:</source> -<target>Error al escribir archivo:</target> -<source>Invalid FreeFileSync config file!</source> -<target>¡Archivo de configuración de FreeFileSync inválido!</target> <source>/sec</source> <target>/seg</target> <source> @@ -217,8 +229,6 @@ La lÃnea de comandos se ejecuta cada vez: <target>Visualización activa...</target> <source>Waiting for missing directories...</source> <target>Esperando directorios faltantes...</target> -<source>Command line is empty!</source> -<target>¡La lÃnea de comandos está vacÃa!</target> <source>Could not initialize directory monitoring:</source> <target>No se ha podido inicializar la visualización de directorios:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ La lÃnea de comandos se ejecuta cada vez: <target>Error al copiar archivo:</target> <source>Error opening file:</source> <target>Error al abrir archivo:</target> +<source>Error writing file:</source> +<target>Error al escribir archivo:</target> <source>Error reading file:</source> <target>Error al leer archivo:</target> <source>Endless loop when traversing directory:</source> <target>Bucle infinito al buscar en el directorio:</target> <source>Error traversing directory:</source> <target>Error al buscar en el directorio:</target> +<source>Windows Error Code %x:</source> +<target>Código de error de Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Código de error de Linux %x:</target> <source>Error setting privilege:</source> <target>Error al establecer privilegios:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ La lÃnea de comandos se ejecuta cada vez: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>No se ha podido leer los valores para los siguientes nodos XML:</target> -<source>Show popup</source> -<target>Mostrar ventanas emergentes</target> -<source>Show popup on errors or warnings</source> -<target>Mostrar ventanas emergentes de errores o avisos</target> -<source>Ignore errors</source> -<target>Ignorar errores</target> -<source>Hide all error and warning messages</source> -<target>Ocultar todos los mensajes de error y aviso</target> -<source>Exit instantly</source> -<target>Salir inmediatamente</target> -<source>Abort synchronization immediately</source> -<target>Abortar sincronización inmediatamente</target> <source>Logging</source> <target>Iniciando sesión</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ La lÃnea de comandos se ejecuta cada vez: <target>Derecha</target> <source>Batch job</source> <target>Tarea batch</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Crear un archivo batch para una sincronización automática. Para empezar en modo batch simplemente pasar el nombre del archivo por el ejecutable FreeFileSync en la ventana de comandos (CMD): FreeFileSync.exe <archivo batch>. También se puede planificar en el administrador de tareas de su sistema operativo.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Crear un archivo batch para la sincronización automática. Para iniciar el modo batch, simplemente hacer doble clic sobre el archivo o ejectuar mediante la lÃnea de comandos: FreeFileSync.exe <archivo_batch>. También se puede programar en el planificador del tareas del sistema operativo.</target> <source>Help</source> <target>Ayuda</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ La lÃnea de comandos se ejecuta cada vez: <target>CategorÃa</target> <source>Action</source> <target>Acción</target> -<source>Files/folders that exist on left side only</source> -<target>Archivos/carpetas que existen sólo en el lado izquierdo</target> -<source>Files/folders that exist on right side only</source> -<target>Archivos/carpetas que existen sólo en el lado derecho</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Archivos que existen en ambos lados, el de la izquierda es más reciente</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Archivos que existen en ambos lados, el de la derecha es más reciente</target> -<source>Files that have different content</source> -<target>Archivos que tienen un contenido diferente</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Conflictos/archivos que no pueden ser clasificados</target> +<source>File/folder exists on left side only</source> +<target>Archivo/carpeta existe sólo en el lado izquierdo</target> +<source>File/folder exists on right side only</source> +<target>Archivo/carpeta existe sólo en el lado derecho</target> +<source>Left file is newer</source> +<target>El archivo de la izquierda es más reciente</target> +<source>Right file is newer</source> +<target>El archivo de la derecha es más reciente</target> +<source>Files have different content</source> +<target>Los archivos tienen contenido diferentes</target> +<source>Conflict/file cannot be categorized</source> +<target>Conflicto/el achivo no puede ser categorizado</target> <source>Compare by...</source> <target>Comparar por...</target> <source> @@ -707,10 +711,8 @@ Transferir permisos de archivo y directorio <target><selección múltiple></target> <source>D-Click</source> <target>Doble click</target> -<source>Copy to clipboard CTRL+C</source> -<target>Copiar al Portapapeles CTRL+C</target> -<source>Delete files DEL</source> -<target>Borrar archivos DEL</target> +<source>Delete</source> +<target>Eliminar</target> <source>Customize...</source> <target>Personalizar...</target> <source>Auto-adjust columns</source> @@ -853,8 +855,10 @@ Transferir permisos de archivo y directorio <target>el archivo existe en ambos lados</target> <source>on one side only</source> <target>sólo en un lado</target> -<source>different</source> -<target>diferentes</target> +<source>same date</source> +<target>misma fecha</target> +<source>different date</source> +<target>fecha diferente</target> <source>Inactive</source> <target>Inactivo</target> <source>Second</source> @@ -965,28 +969,28 @@ Transferir permisos de archivo y directorio <target>Generando lista de archivos...</target> <source>Multiple...</source> <target>Múltiple...</target> -<source>Files that are equal on both sides</source> -<target>Archivos que son iguales en ambos lados</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Archivos/Carpetas iguales que sólo difieren en los atributos</target> -<source>Copy from right to left</source> -<target>Copiar de derecha a izquierda</target> -<source>Copy from left to right</source> -<target>Copiar de izquierda a derecha</target> -<source>Delete files/folders existing on left side only</source> -<target>Borrar sólo archivos/carpetas existentes en el lado izquierdo</target> -<source>Delete files/folders existing on right side only</source> -<target>Borrar sólo archivos/carpetas existentes en el lado derecho</target> -<source>Copy from right to left overwriting</source> -<target>Copiar de derecha a izquierda con sobreescritura</target> -<source>Copy from left to right overwriting</source> -<target>Copiar de izquierda a derecha con sobreescritura</target> +<source>Both sides are equal</source> +<target>Ambos lados son iguales</target> +<source>Files/folders differ in attributes only</source> +<target>Archivos/carpetas se diferencia sólo en los atributos</target> +<source>Copy new file/folder to left</source> +<target>Copiar nuevo archivo/carpeta a la izquierda</target> +<source>Copy new file/folder to right</source> +<target>Copiar nuevo archivo/carpeta a la derecha</target> +<source>Delete left file/folder</source> +<target>Eliminar archivo/carpeta de la izquierda</target> +<source>Delete right file/folder</source> +<target>Eliinar archivo/carpeta de la derecha</target> +<source>Overwrite left file/folder with right one</source> +<target>Sobreescribir archivo/carpeta de la izquierda por el de la derecha</target> +<source>Overwrite right file/folder with left one</source> +<target>Sobreescribir archivo/carpeta de la derecha por el de la izquierda</target> <source>Do nothing</source> <target>No hacer nada</target> -<source>Copy attributes only from right to left</source> -<target>Copiar sólo atributos de izquierda a derecha</target> -<source>Copy attributes only from left to right</source> -<target>Copiar sólo atributos de izquierda a derecha</target> +<source>Copy file attributes only to left</source> +<target>Copiar sólo atributos del archivo a la izquierda</target> +<source>Copy file attributes only to right</source> +<target>Copiar sólo atributos del archivo a la derecha</target> <source>Deleting file %x</source> <target>Borrar archivo %x</target> <source>Deleting Symbolic Link %x</source> @@ -1017,6 +1021,8 @@ Transferir permisos de archivo y directorio <target>Actualizar atributos de %x</target> <source>Source directory does not exist anymore:</source> <target>El directorio origen ya no existe:</target> +<source>Generating database...</source> +<target>Generando base de datos...</target> <source>Nothing to synchronize according to configuration!</source> <target>¡Nada que sincronizar de acuerdo con la configuración!</target> <source>Target directory name must not be empty!</source> @@ -1041,8 +1047,6 @@ Transferir permisos de archivo y directorio <target>Un directorio será modificado, el cual es parte de mútiples pares de carpetas. ¡Por favor, revise la configuración de la sincronización!</target> <source>Processing folder pair:</source> <target>Procesar un par de carpetas:</target> -<source>Generating database...</source> -<target>Generando base de datos...</target> <source>Error copying locked file %x!</source> <target>¡Error al copiar archivo bloqueado %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/swedish.lng b/BUILD/Languages/swedish.lng index af909742..12a4784f 100644 --- a/BUILD/Languages/swedish.lng +++ b/BUILD/Languages/swedish.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - Automatiserad synkronisering</target> <source>Browse</source> <target>Bläddra</target> +<source>Invalid commandline: "%x"</source> +<target>Ogiltig kommandorad: "%x"</target> <source>Error resolving symbolic link:</source> <target>Kan inte tyda symbolisk länk:</target> +<source>Show popup</source> +<target>Visa popup</target> +<source>Show popup on errors or warnings</source> +<target>Visa popup vid fel eller varningar</target> +<source>Ignore errors</source> +<target>Ignorera fel</target> +<source>Hide all error and warning messages</source> +<target>Visa inte fel- och varningsmeddelanden</target> +<source>Exit instantly</source> +<target>Avsluta omedelbart</target> +<source>Abort synchronization immediately</source> +<target>Avbryt synkronisering omedelbart</target> <source>Select alternate synchronization settings</source> <target>Välj alternativa synkroniseringsinställningar</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>Info</target> <source>Fatal Error</source> <target>Allvarligt fel</target> +<source>Invalid FreeFileSync config file!</source> +<target>Felaktig FreeFileSync konfigurationsfil!</target> <source>File does not exist:</source> <target>Filen finns inte:</target> <source>Error parsing configuration file:</source> <target>Kan inte läsa in konfigurationsfil:</target> -<source>Error writing file:</source> -<target>Kan inte skriva fil:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Felaktig FreeFileSync konfigurationsfil!</target> <source>/sec</source> <target>/s</target> <source> @@ -217,8 +229,6 @@ Kommandot verkställes när: <target>Övervakning aktiverad...</target> <source>Waiting for missing directories...</source> <target>Väntar pÃ¥ saknade destinationer...</target> -<source>Command line is empty!</source> -<target>Kommandofältet är tomt</target> <source>Could not initialize directory monitoring:</source> <target>Kan inte initiera katalogskanner:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ Kommandot verkställes när: <target>Kan inte kopiera fil:</target> <source>Error opening file:</source> <target>Kan inte öppna fil:</target> +<source>Error writing file:</source> +<target>Kan inte skriva fil:</target> <source>Error reading file:</source> <target>Kan inte läsa fil:</target> <source>Endless loop when traversing directory:</source> <target>Oändlig loop vid accessförsök pÃ¥ katalog:</target> <source>Error traversing directory:</source> <target>Accessfel pÃ¥ katalog:</target> +<source>Windows Error Code %x:</source> +<target>Windows Felkod %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Felkod %x:</target> <source>Error setting privilege:</source> <target>Kan inte ange privilegie:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ Kommandot verkställes när: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Kan inte läsa värden för följande XML-noder:</target> -<source>Show popup</source> -<target>Visa popups</target> -<source>Show popup on errors or warnings</source> -<target>Visa popup vid fel eller varningar</target> -<source>Ignore errors</source> -<target>Ignorera fel</target> -<source>Hide all error and warning messages</source> -<target>Visa inte fel- och varningsmeddelanden</target> -<source>Exit instantly</source> -<target>Avsluta omedelbart</target> -<source>Abort synchronization immediately</source> -<target>Avbryt synkronisering omedelbart</target> <source>Logging</source> <target>Loggar</target> <source>FreeFileSync batch file</source> @@ -314,7 +318,7 @@ Kommandot verkställes när: <source>Batch execution</source> <target>Batch-körning</target> <source>Log-messages:</source> -<target>Log-meddelanden:</target> +<target>Logg-meddelanden:</target> <source>Stop</source> <target>Stopp</target> <source>Total time:</source> @@ -405,8 +409,8 @@ Kommandot verkställes när: <target>Höger</target> <source>Batch job</source> <target>Batch-jobb</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Montera en batch-fil för automatisk synkronisering. För att starta i batch-läge, lägg till filnamnet i startkommandot: FreeFileSync.exe <batch-fil>. Det kan ocksÃ¥ schemaläggas i Windows Schemaläggaren.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Skapa en batch-fil för automatiserad synkronisering. För att starta i batch-läge, Dubbelklicka pÃ¥ filen eller starta den med kommandoraden: FreeFileSync.exe <batch-fil>. Batch-filen kan ocksÃ¥ schemaläggas i Windows Schemaläggare.</target> <source>Help</source> <target>Hjälp</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ Kommandot verkställes när: <target>Kategori</target> <source>Action</source> <target>Aktivitet</target> -<source>Files/folders that exist on left side only</source> -<target>Filer/kataloger som finns pÃ¥ vänster sida enbart</target> -<source>Files/folders that exist on right side only</source> -<target>Filer/kataloger som finns pÃ¥ höger sida enbart</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Filer som finns pÃ¥ bÃ¥da sidor, vänster är nyare</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Filer som finns pÃ¥ bÃ¥da sidor, höger är nyare</target> -<source>Files that have different content</source> -<target>Filer som har olika innehÃ¥ll</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Konflikter/filer som inte kan kategoriseras</target> +<source>File/folder exists on left side only</source> +<target>Fil/katalog finns bara pÃ¥ vänster sida</target> +<source>File/folder exists on right side only</source> +<target>Fil/katalog finns bara pÃ¥ höger sida</target> +<source>Left file is newer</source> +<target>Vänster fil är nyare</target> +<source>Right file is newer</source> +<target>Höger fil är nyare</target> +<source>Files have different content</source> +<target>Filerna har olika innehÃ¥ll</target> +<source>Conflict/file cannot be categorized</source> +<target>Konflikt/Fil kan inte kategoriseras</target> <source>Compare by...</source> <target>Jämför...</target> <source> @@ -539,8 +543,8 @@ Filerna betecknas som lika om, <target>- finns endast till vänster</target> <source>- exists right only</source> <target>- finns endast till höger</target> -<source>- conflict</source> -<target>- konflikt</target> +<source>- conflict (same date, different size)</source> +<target>- konflikt (samma datum, olika storlek)</target> <source>Compare by "File content"</source> <target>Jämför: "FilinnehÃ¥ll"</target> <source> @@ -570,7 +574,7 @@ Med det här alternativet aktiverat, blir beslutsträdet mindre: <source>Donate with PayPal</source> <target>Donera via PayPal</target> <source>Email</source> -<target>e-post</target> +<target>E-post</target> <source>Report translation error</source> <target>Rapportera översättningsfel</target> <source>Published under the GNU General Public License:</source> @@ -707,10 +711,8 @@ Transfer file and directory permissions <target><flerval></target> <source>D-Click</source> <target>HÃ¥ll ner D</target> -<source>Copy to clipboard CTRL+C</source> -<target>Kopiera till urklipp CTRL+C</target> -<source>Delete files DEL</source> -<target>Ta bort filer DEL</target> +<source>Delete</source> +<target>Ta bort</target> <source>Customize...</source> <target>Anpassar...</target> <source>Auto-adjust columns</source> @@ -853,14 +855,10 @@ Transfer file and directory permissions <target>Filen finns pÃ¥ bÃ¥da sidor</target> <source>on one side only</source> <target>endast pÃ¥ en sida</target> -<source>- left</source> -<target>- vänster</target> -<source>- right</source> -<target>- höger</target> -<source>different</source> -<target>olika</target> -<source>- conflict (same date, different size)</source> -<target>- konflikt (samma datum, olika storlek)</target> +<source>same date</source> +<target>samma datum</target> +<source>different date</source> +<target>olika datum</target> <source>Inactive</source> <target>Inaktiv</target> <source>Second</source> @@ -971,28 +969,28 @@ Transfer file and directory permissions <target>Skapar fillista...</target> <source>Multiple...</source> <target>Multipla...</target> -<source>Files that are equal on both sides</source> -<target>Filer som är lika pÃ¥ bÃ¥da sidor</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Lika filer/kataloger som endast skiljer sig i attribut</target> -<source>Copy from right to left</source> -<target>Kopiera frÃ¥n höger till vänster</target> -<source>Copy from left to right</source> -<target>Kopiera frÃ¥n vänster till höger</target> -<source>Delete files/folders existing on left side only</source> -<target>Ta bort filer/kataloger som endast finns pÃ¥ vänster sida</target> -<source>Delete files/folders existing on right side only</source> -<target>Ta bort filer/kataloger som endast finns pÃ¥ höger sida</target> -<source>Copy from right to left overwriting</source> -<target>Kopiera frÃ¥n höger till vänster och skriv över mÃ¥let</target> -<source>Copy from left to right overwriting</source> -<target>Kopiera frÃ¥n vänster till höger och skriv över mÃ¥let</target> +<source>Both sides are equal</source> +<target>Bägge sidor är lika</target> +<source>Files/folders differ in attributes only</source> +<target>Endast attributskillnader i filer/kataloger</target> +<source>Copy new file/folder to left</source> +<target>Kopiera ny fil/katalog Ã¥t vänster</target> +<source>Copy new file/folder to right</source> +<target>Kopiera ny fil/katalog Ã¥t höger</target> +<source>Delete left file/folder</source> +<target>Ta bort vänster fil/katalog</target> +<source>Delete right file/folder</source> +<target>Ta bort höger fil/katalog</target> +<source>Overwrite left file/folder with right one</source> +<target>Skriv över vänster fil/katalog med den högra</target> +<source>Overwrite right file/folder with left one</source> +<target>Skriv över höger fil/katalog med den vänstra</target> <source>Do nothing</source> <target>Gör ingenting</target> -<source>Copy attributes only from right to left</source> -<target>Kopiera attribut endast frÃ¥n höger till vänster</target> -<source>Copy attributes only from left to right</source> -<target>Kopiera attribut endast frÃ¥n vänster till höger</target> +<source>Copy file attributes only to left</source> +<target>Kopiera endast filattribut Ã¥t vänster</target> +<source>Copy file attributes only to right</source> +<target>Kopiera endast filattribut Ã¥t höger</target> <source>Deleting file %x</source> <target>Tar bort filen %x</target> <source>Deleting Symbolic Link %x</source> @@ -1023,6 +1021,8 @@ Transfer file and directory permissions <target>Uppdaterar attribut för %x</target> <source>Source directory does not exist anymore:</source> <target>Källkatalogen finns inte längre:</target> +<source>Generating database...</source> +<target>Skapar databas...</target> <source>Nothing to synchronize according to configuration!</source> <target>Inget att synkronisera enligt aktuella inställningar!</target> <source>Target directory name must not be empty!</source> @@ -1047,8 +1047,6 @@ Transfer file and directory permissions <target>En katalog som är en del av flera katalogpar kommer att ändras! Kontrollera synkroniseringsinställningarna</target> <source>Processing folder pair:</source> <target>Processar katalogpar:</target> -<source>Generating database...</source> -<target>Skapar databas...</target> <source>Error copying locked file %x!</source> <target>Kan inte kopiera lÃ¥st fil %x!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/turkish.lng b/BUILD/Languages/turkish.lng index 1c520618..4e0e6a33 100644 --- a/BUILD/Languages/turkish.lng +++ b/BUILD/Languages/turkish.lng @@ -17,8 +17,22 @@ <target>RealtimeSync - KendiliÄŸinden EÅŸleÅŸtirme</target> <source>Browse</source> <target>Gözat</target> +<source>Invalid commandline: "%x"</source> +<target>Geçersiz komut satırı: "%x"</target> <source>Error resolving symbolic link:</source> <target>Sembolik baÄŸlantı çözümlenirken hata:</target> +<source>Show popup</source> +<target>Açılır pencerede göster</target> +<source>Show popup on errors or warnings</source> +<target>Hata ve uyarıları açılır bir pencerede gösterir</target> +<source>Ignore errors</source> +<target>Hataları yoksay</target> +<source>Hide all error and warning messages</source> +<target>Tüm hata ve uyarı iletilerini gizler</target> +<source>Exit instantly</source> +<target>Hemen çık</target> +<source>Abort synchronization immediately</source> +<target>EÅŸleÅŸtirmeyi hemen bırak</target> <source>Select alternate synchronization settings</source> <target>Alternatif eÅŸleÅŸtirme ayarlarını seçin</target> <source>No filter selected</source> @@ -121,14 +135,12 @@ <target>Bilgi</target> <source>Fatal Error</source> <target>Ölümcül Hata</target> +<source>Invalid FreeFileSync config file!</source> +<target>Geçersiz FreeFileSync yapılandırma dosyası!</target> <source>File does not exist:</source> <target>Dosya bulunamadı:</target> <source>Error parsing configuration file:</source> <target>Yapılandırma dosyası çözümlenirken hata:</target> -<source>Error writing file:</source> -<target>Dosya yazılırken hata:</target> -<source>Invalid FreeFileSync config file!</source> -<target>Geçersiz FreeFileSync yapılandırma dosyası!</target> <source>/sec</source> <target>/san</target> <source> @@ -217,8 +229,6 @@ Her seferinde çalıştırılacak komut satırı: <target>Ä°zleme etkin...</target> <source>Waiting for missing directories...</source> <target>Kayıp klasörler için bekleniyor...</target> -<source>Command line is empty!</source> -<target>Komut satırı boÅŸ!</target> <source>Could not initialize directory monitoring:</source> <target>Klasör izlemesi baÅŸlatılamadı:</target> <source>A directory input field is empty.</source> @@ -259,12 +269,18 @@ Her seferinde çalıştırılacak komut satırı: <target>Dosya kopyalanırken hata:</target> <source>Error opening file:</source> <target>Dosya açılırken hata:</target> +<source>Error writing file:</source> +<target>Dosya yazılırken hata:</target> <source>Error reading file:</source> <target>Dosya okunurken hata:</target> <source>Endless loop when traversing directory:</source> <target>Klasörlerde dolaşırken sonsuz döngü:</target> <source>Error traversing directory:</source> <target>Klasörde dolaşırken hata:</target> +<source>Windows Error Code %x:</source> +<target>Windows Hata Kodu %x:</target> +<source>Linux Error Code %x:</source> +<target>Linux Hata Kodu %x:</target> <source>Error setting privilege:</source> <target>Ä°zinler ayarlanırken hata:</target> <source>Error moving to Recycle Bin:</source> @@ -289,18 +305,6 @@ Her seferinde çalıştırılacak komut satırı: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Åžu XML düğümlerindeki deÄŸerler okunamadı:</target> -<source>Show popup</source> -<target>Açılır pencerede göster</target> -<source>Show popup on errors or warnings</source> -<target>Hata ve uyarıları açılır bir pencerede gösterir</target> -<source>Ignore errors</source> -<target>Hataları yoksay</target> -<source>Hide all error and warning messages</source> -<target>Tüm hata ve uyarı iletilerini gizler</target> -<source>Exit instantly</source> -<target>Hemen çık</target> -<source>Abort synchronization immediately</source> -<target>EÅŸleÅŸtirmeyi hemen bırak</target> <source>Logging</source> <target>Günlükleme</target> <source>FreeFileSync batch file</source> @@ -405,8 +409,8 @@ Her seferinde çalıştırılacak komut satırı: <target>SaÄŸ</target> <source>Batch job</source> <target>Toplu komut iÅŸi</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>KendiliÄŸinden eÅŸleÅŸtirme için bir toplu komut dosyası oluÅŸturabilirsiniz. Programı toplu komut kipinde baÅŸlatmak için, komut dosyasını FreeFileSync çalışan dosyasına parametre olarak ÅŸu ÅŸekilde ekleyerek çalıştırın: FreeFileSync.exe <Komut Dosyası Adı>. Ayrıca bu komut dosyasını iÅŸletim sistemindeki görev zamanlayıcı ile istediÄŸiniz zamanlarda da çalıştırabilirsiniz.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>KendiliÄŸinden eÅŸleÅŸtirme için bir komut dosyası oluÅŸturun. Komut dosyasını iÅŸlemek için dosyanın üzerinde çift tıklayabilir ya da FreeFileSync.exe <komutdosyası> ÅŸeklinde bir komut satırı yazabilirsiniz. Bu iÅŸi iÅŸletim sisteminizin görev yöneticisi ile istediÄŸiniz zaman çalışacak ÅŸekilde ayarlayabilirsiniz.</target> <source>Help</source> <target>Yardım</target> <source>Configuration overview:</source> @@ -473,18 +477,18 @@ Her seferinde çalıştırılacak komut satırı: <target>Kategori</target> <source>Action</source> <target>Ä°ÅŸlem</target> -<source>Files/folders that exist on left side only</source> -<target>Yalnız sol yanda bulunan dosya ve klasörler</target> -<source>Files/folders that exist on right side only</source> -<target>Yalnız saÄŸ yanda bulunan dosya ve klasörler</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Her iki yanda da bulunup, solda daha yeni olan dosyalar</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Her iki yanda da bulunup, saÄŸda daha yeni olan dosyalar</target> -<source>Files that have different content</source> +<source>File/folder exists on left side only</source> +<target>Dosya/Klasör yalnız sol tarafta var</target> +<source>File/folder exists on right side only</source> +<target>Dosya/Klasör yalnız saÄŸ tarafta var</target> +<source>Left file is newer</source> +<target>Soldaki dosya daha yeni</target> +<source>Right file is newer</source> +<target>SaÄŸdaki dosya daha yeni</target> +<source>Files have different content</source> <target>Farklı içeriÄŸe sahip dosyalar</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Kategorize edilemeyen tutarsızlıklar/dosyalar</target> +<source>Conflict/file cannot be categorized</source> +<target>Çatışma/dosya kategorize edilemedi</target> <source>Compare by...</source> <target>KarşılaÅŸtırma ölçütünü seçin:</target> <source> @@ -539,8 +543,8 @@ aynı olanlara bakılır <target>- yalnız solda olan</target> <source>- exists right only</source> <target>- yalnız saÄŸda olan</target> -<source>- conflict</source> -<target>- tutarsızlık</target> +<source>- conflict (same date, different size)</source> +<target>- tutarsızlık (aynı tarih, farklı boyut)</target> <source>Compare by "File content"</source> <target>"Dosya içeriÄŸi"ne göre karşılaÅŸtırma</target> <source> @@ -707,10 +711,8 @@ Dosya ve klasör izinlerini de aktar <target><çoklu seçim></target> <source>D-Click</source> <target>D-TuÅŸu</target> -<source>Copy to clipboard CTRL+C</source> -<target>Panoya kopyala CTRL+C</target> -<source>Delete files DEL</source> -<target>Dosyaları sil DEL</target> +<source>Delete</source> +<target>Sil</target> <source>Customize...</source> <target>ÖzelleÅŸtir...</target> <source>Auto-adjust columns</source> @@ -802,6 +804,8 @@ Dosya ve klasör izinlerini de aktar <pluralform>%x objects deleted successfully!</pluralform> </source> <target> +<pluralform>Nesne silindi!</pluralform> +<pluralform>%x nesne silindi!</pluralform> </target> <source> <pluralform>1 directory</pluralform> @@ -851,14 +855,10 @@ Dosya ve klasör izinlerini de aktar <target>Dosya her iki yanda da var</target> <source>on one side only</source> <target>yalnız tek yanda</target> -<source>- left</source> -<target>- sol</target> -<source>- right</source> -<target>- saÄŸ</target> -<source>different</source> -<target>farklı</target> -<source>- conflict (same date, different size)</source> -<target>- tutarsızlık (aynı tarih, farklı boyut)</target> +<source>same date</source> +<target>aynı tarihli</target> +<source>different date</source> +<target>farklı tarihli</target> <source>Inactive</source> <target>Devre dışı</target> <source>Second</source> @@ -969,28 +969,28 @@ Dosya ve klasör izinlerini de aktar <target>Dosya listesi oluÅŸturuluyor...</target> <source>Multiple...</source> <target>Çoklu...</target> -<source>Files that are equal on both sides</source> -<target>Her iki yanda da eÅŸit olan dosyalar</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Yalnızca öznitelikleri farklı olan dosya ya da klasörleri eÅŸitle</target> -<source>Copy from right to left</source> -<target>SaÄŸdan sola kopyala</target> -<source>Copy from left to right</source> -<target>Soldan saÄŸa kopyala</target> -<source>Delete files/folders existing on left side only</source> -<target>Yalnız sol tarafta olan dosyaları/klasörleri sil</target> -<source>Delete files/folders existing on right side only</source> -<target>Yalnız saÄŸ tarafta olan dosyaları/klasörleri sil</target> -<source>Copy from right to left overwriting</source> -<target>SaÄŸdan sola üzerine yazarak kopyala</target> -<source>Copy from left to right overwriting</source> -<target>Soldan saÄŸa üzerine yazarak kopyala</target> +<source>Both sides are equal</source> +<target>Ä°ki tarafta aynı</target> +<source>Files/folders differ in attributes only</source> +<target>Yalnız dosya/klasör öznitelikleri farklı olanlar</target> +<source>Copy new file/folder to left</source> +<target>Yeni dosya/klasörleri sola kopyala</target> +<source>Copy new file/folder to right</source> +<target>Yeni dosya/klasörleri saÄŸa kopyala</target> +<source>Delete left file/folder</source> +<target>Soldaki dosya/klasörleri sil</target> +<source>Delete right file/folder</source> +<target>SaÄŸdaki dosya/klasörleri sil</target> +<source>Overwrite left file/folder with right one</source> +<target>Soldaki dosya/klasörlerin üzerine saÄŸdakileri yaz</target> +<source>Overwrite right file/folder with left one</source> +<target>SaÄŸdaki dosya/klasörlerin üzerine soldakileri yaz</target> <source>Do nothing</source> <target>Hiçbir ÅŸey yapma</target> -<source>Copy attributes only from right to left</source> -<target>Öznitelikleri yalnızca saÄŸdan sola kopyala</target> -<source>Copy attributes only from left to right</source> -<target>Öznitelikleri yalnızca soldan saÄŸa kopyala</target> +<source>Copy file attributes only to left</source> +<target>Dosya özniteliklerini yalnız sola kopyalaya</target> +<source>Copy file attributes only to right</source> +<target>Dosya özniteliklerini yalnız saÄŸa kopyalaya</target> <source>Deleting file %x</source> <target>%x dosyası siliniyor</target> <source>Deleting Symbolic Link %x</source> @@ -1021,6 +1021,8 @@ Dosya ve klasör izinlerini de aktar <target>%x öznitelikleri güncelleniyor</target> <source>Source directory does not exist anymore:</source> <target>Kaynak klasör artık yok:</target> +<source>Generating database...</source> +<target>Veri tabanı oluÅŸturuluyor...</target> <source>Nothing to synchronize according to configuration!</source> <target>Yapılandırmaya göre eÅŸleÅŸtirilecek bir ÅŸey yok!</target> <source>Target directory name must not be empty!</source> @@ -1045,8 +1047,6 @@ Dosya ve klasör izinlerini de aktar <target>Çoklu klasör çiftlerinin bir parçası olduÄŸan bir klasör düzenlenecek! Lütfen eÅŸleÅŸtirme ayarlarınızı gözden geçirin!</target> <source>Processing folder pair:</source> <target>Ä°ÅŸlenen klasör çifti:</target> -<source>Generating database...</source> -<target>Veri tabanı oluÅŸturuluyor...</target> <source>Error copying locked file %x!</source> <target>Kilitli dosya %x kopyalanırken hata!</target> <source>Data verification error: Source and target file have different content!</source> diff --git a/BUILD/Languages/ukrainian.lng b/BUILD/Languages/ukrainian.lng index 33ca37c0..ee2b3cc6 100644 --- a/BUILD/Languages/ukrainian.lng +++ b/BUILD/Languages/ukrainian.lng @@ -18,9 +18,21 @@ <source>Browse</source> <target>ПереглÑнути</target> <source>Invalid commandline: "%x"</source> -<target></target> +<target>Ðеправильний командний Ñ€Ñдок: "%x"</target> <source>Error resolving symbolic link:</source> <target>Помилка при вирішені Ñимволічного поÑиланнÑ:</target> +<source>Show popup</source> +<target>Показувати виринаючі вікна</target> +<source>Show popup on errors or warnings</source> +<target>Показувати виринаючі вікна при помилках та зауваженнÑÑ…</target> +<source>Ignore errors</source> +<target>Ігнорувати помилки</target> +<source>Hide all error and warning messages</source> +<target>Приховати вÑÑ– помилки Ñ– Ð¿Ð¾Ð²Ñ–Ð´Ð¾Ð¼Ð»ÐµÐ½Ð½Ñ Ð· попередженнÑми</target> +<source>Exit instantly</source> +<target>Вийти негайно</target> +<source>Abort synchronization immediately</source> +<target>Перервати Ñинхронізацію негайно</target> <source>Select alternate synchronization settings</source> <target>Вибрати альтернативні Ð½Ð°Ð»Ð°ÑˆÑ‚ÑƒÐ²Ð°Ð½Ð½Ñ Ñинхронізації</target> <source>No filter selected</source> @@ -101,7 +113,7 @@ <source>One of the FreeFileSync database entries within the following file is not yet existing:</source> <target>ЗапиÑів, Ñкі ÑтоÑуютьÑÑ Ñ‚Ð°ÐºÐ¸Ñ… файлів, в базі даних FreeFileSync ще не Ñ–Ñнує:</target> <source>Error reading from synchronization database:</source> -<target>Помилка при читанні з базы даних Ñинхронізації:</target> +<target>Помилка при читанні з бази даних Ñинхронізації:</target> <source>An exception occurred!</source> <target>ВідбулоÑÑŒ виключеннÑ!</target> <source>Error deleting file:</source> @@ -131,8 +143,6 @@ <target>Файл не Ñ–Ñнує:</target> <source>Error parsing configuration file:</source> <target>Помилка при анализі файла налаштувань Ñинхронізації:</target> -<source>Error writing file:</source> -<target>Помилка при запиÑÑ– файла:</target> <source>/sec</source> <target>/Ñек</target> <source> @@ -264,12 +274,18 @@ The command line is executed each time: <target>Помилка при копіюванні файла:</target> <source>Error opening file:</source> <target>Помилка при відкриванні файла:</target> +<source>Error writing file:</source> +<target>Помилка при запиÑÑ– файла:</target> <source>Error reading file:</source> <target>Помилка при читанні файла:</target> <source>Endless loop when traversing directory:</source> <target>Ð—Ð°Ñ†Ð¸ÐºÐ»ÑŽÐ²Ð°Ð½Ð½Ð½Ñ Ð¿Ñ€Ð¸ обході каталогу:</target> <source>Error traversing directory:</source> <target>Помилка обходу каталогу:</target> +<source>Windows Error Code %x:</source> +<target>Код помилки Windows %x:</target> +<source>Linux Error Code %x:</source> +<target>Код помилки Linux %x:</target> <source>Error setting privilege:</source> <target>Помилка вÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¿Ñ€Ð¸Ð²Ð¸Ð»ÐµÑ—Ð²:</target> <source>Error moving to Recycle Bin:</source> @@ -294,18 +310,6 @@ The command line is executed each time: <target>%x%</target> <source>Could not read values for the following XML nodes:</source> <target>Ðе вдалоÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñ‚Ð°ÐºÐ¸Ñ… XML запиÑів:</target> -<source>Show popup</source> -<target>Показувати виринаючі вікна</target> -<source>Show popup on errors or warnings</source> -<target>Показувати виринаючі вікна при помилках та зауваженнÑÑ…</target> -<source>Ignore errors</source> -<target>Ігнорувати помилки</target> -<source>Hide all error and warning messages</source> -<target>Приховати вÑÑ– помилки Ñ– Ð¿Ð¾Ð²Ñ–Ð´Ð¾Ð¼Ð»ÐµÐ½Ð½Ñ Ð· попередженнÑми</target> -<source>Exit instantly</source> -<target>Вийти негайно</target> -<source>Abort synchronization immediately</source> -<target>Перервати Ñинхронізацію негайно</target> <source>Logging</source> <target>Лог-файли</target> <source>FreeFileSync batch file</source> @@ -413,8 +417,8 @@ The command line is executed each time: <target>Праворуч</target> <source>Batch job</source> <target>Пакетне завданнÑ</target> -<source>Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> -<target>Створіть файл Ð·Ð°Ð²Ð´Ð°Ð½Ð½Ñ Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ð·Ð¾Ð²Ð°Ð½Ð½Ð¾Ñ— Ñинхронізації. Щоб запуÑтити програму в цьому режимі проÑто передайте назву файла на Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ FreeFileSync: FreeFileSync.exe <файл завданнÑ>. Це також може бути заплановано у планувальнику завдань операційної ÑиÑтеми.</target> +<source>Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner.</source> +<target>Створити пакетний файл Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ñ‡Ð½Ð¾Ñ— Ñинхронізації. Щоб запуÑтити пакетний режим проÑто двічі клацніть файл або виконайте командний Ñ€Ñдок: FreeFileSync.exe <batchfile>. Це можна також запланувати в менеджері ОС</target> <source>Help</source> <target>Допомога</target> <source>Configuration overview:</source> @@ -481,18 +485,18 @@ The command line is executed each time: <target>КатегоріÑ</target> <source>Action</source> <target>ДіÑ</target> -<source>Files/folders that exist on left side only</source> -<target>Файли/папки, Ñкі Ñ” тільки ліворуч</target> -<source>Files/folders that exist on right side only</source> -<target>Файли/папки, Ñкі Ñ” тільки праворуч</target> -<source>Files that exist on both sides, left one is newer</source> -<target>Файли Ñ” по обох Ñторонах, лівий новіший</target> -<source>Files that exist on both sides, right one is newer</source> -<target>Файли Ñ” по обох Ñторонах, правий новіший</target> -<source>Files that have different content</source> -<target>Файли, Ñкі мають різний вміÑÑ‚</target> -<source>Conflicts/files that cannot be categorized</source> -<target>Конфлікти/файли, Ñкі не можуть бути віднеÑені до ÑкоїÑÑŒ категорії</target> +<source>File/folder exists on left side only</source> +<target>Файл/папка Ñ–Ñнує тільки ліворуч</target> +<source>File/folder exists on right side only</source> +<target>Файл/папка Ñ–Ñнує тільки праворуч</target> +<source>Left file is newer</source> +<target>Файл ліворуч Ñ” новішим</target> +<source>Right file is newer</source> +<target>Файл праворуч Ñ” новішим</target> +<source>Files have different content</source> +<target>Файли відрізнÑÑŽÑ‚ÑŒÑÑ Ð²Ð¼Ñ–Ñтом</target> +<source>Conflict/file cannot be categorized</source> +<target>Ðе можна категоризувати конфлікт/файл</target> <source>Compare by...</source> <target>Критерії порівнюваннÑ</target> <source> @@ -711,8 +715,8 @@ Transfer file and directory permissions <target><груповий вибір></target> <source>D-Click</source> <target>Клацніть двічі</target> -<source>Delete files DEL</source> -<target>Вилучити файл(и) DEL</target> +<source>Delete</source> +<target>Видалити</target> <source>Customize...</source> <target>Вибрати колонки...</target> <source>Auto-adjust columns</source> @@ -978,28 +982,28 @@ Transfer file and directory permissions <target>Ð¡Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ ÑпиÑку файлів...</target> <source>Multiple...</source> <target>Різні варіанти...</target> -<source>Files that are equal on both sides</source> -<target>Файли, однакові з обох Ñторін</target> -<source>Equal files/folders that differ in attributes only</source> -<target>Однакові файли/папки, що відрізнÑÑŽÑ‚ÑŒÑÑ Ñ‚Ñ–Ð»ÑŒÐºÐ¸ атрибутами</target> -<source>Copy from right to left</source> -<target>Копіювати Ñправа наліво</target> -<source>Copy from left to right</source> -<target>Копіювати зліва направо</target> -<source>Delete files/folders existing on left side only</source> -<target>Вилучати файли/папки, Ñкі Ñ–Ñнують тільки ліворуч</target> -<source>Delete files/folders existing on right side only</source> -<target>Вилучати файли/папки, Ñкі Ñ–Ñнують тільки праворуч</target> -<source>Copy from right to left overwriting</source> -<target>Копіювати Ñправа наліво перезапиÑуючи</target> -<source>Copy from left to right overwriting</source> -<target>Копіювати зліва направо перезапиÑуючи</target> +<source>Both sides are equal</source> +<target>Сторони ідентичні</target> +<source>Files/folders differ in attributes only</source> +<target>Файли/папки відрізнÑÑŽÑ‚ÑŒÑÑ Ð»Ð¸ÑˆÐµ атрибутами</target> +<source>Copy new file/folder to left</source> +<target>Зкопіювати новий файл/папку ліворуч</target> +<source>Copy new file/folder to right</source> +<target>Зкопіювати новий файл/папку праворуч</target> +<source>Delete left file/folder</source> +<target>Вилучити файл/папку ліворуч</target> +<source>Delete right file/folder</source> +<target>Вилучити файл/папку праворуч</target> +<source>Overwrite left file/folder with right one</source> +<target>ПерезапиÑати файл/папку ліворуч відповідником зправа</target> +<source>Overwrite right file/folder with left one</source> +<target>ПерезапиÑати файл/папку праворуч відповідником зліва</target> <source>Do nothing</source> <target>Ðічого не робити</target> -<source>Copy attributes only from right to left</source> -<target>Копіювати тільки атрибути Ñправа наліво</target> -<source>Copy attributes only from left to right</source> -<target>Копіювати тільки атрибути зліва направо</target> +<source>Copy file attributes only to left</source> +<target>Зкопіювати ліворуч лише атрибути файла</target> +<source>Copy file attributes only to right</source> +<target>Зкопіювати праворуч лише атрибути файла</target> <source>Deleting file %x</source> <target>Ð’Ð¸Ð»ÑƒÑ‡ÐµÐ½Ð½Ñ Ñ„Ð°Ð¹Ð»Ð° %x</target> <source>Deleting Symbolic Link %x</source> diff --git a/BUILD/Resources.dat b/BUILD/Resources.dat Binary files differindex 23f84129..6af47f50 100644 --- a/BUILD/Resources.dat +++ b/BUILD/Resources.dat diff --git a/FreeFileSync - wxWidgets v2.9.1 Beta.vcxproj b/FreeFileSync - wxWidgets v2.9.1 Beta.vcxproj index 50b8ec67..e9157291 100644 --- a/FreeFileSync - wxWidgets v2.9.1 Beta.vcxproj +++ b/FreeFileSync - wxWidgets v2.9.1 Beta.vcxproj @@ -100,14 +100,14 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-2.9.1\include;C:\Program Files\C++\wxWidgets-2.9.1\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-2.9.1\include;C:\Program Files\C++\wxWidgets-2.9.1\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4996;4100;</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> - <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> + <ForcedIncludeFiles>$(ProjectDir)shared/i18n.h;$(ProjectDir)shared/pch.h</ForcedIncludeFiles> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> </ClCompile> @@ -135,14 +135,14 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4996;4100;</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> - <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> + <ForcedIncludeFiles>$(ProjectDir)shared/i18n.h;$(ProjectDir)shared/pch.h</ForcedIncludeFiles> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <SuppressStartupBanner>true</SuppressStartupBanner> </ClCompile> @@ -172,13 +172,14 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-2.9.1\include;C:\Program Files\C++\wxWidgets-2.9.1\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-2.9.1\include;C:\Program Files\C++\wxWidgets-2.9.1\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4996;4100;</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <MultiProcessorCompilation>true</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> + <ForcedIncludeFiles>$(ProjectDir)shared/i18n.h;</ForcedIncludeFiles> </ClCompile> <Link> <SubSystem>Windows</SubSystem> @@ -206,14 +207,15 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4996;4100;</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <MultiProcessorCompilation>true</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <SuppressStartupBanner>true</SuppressStartupBanner> + <ForcedIncludeFiles>$(ProjectDir)shared/i18n.h;</ForcedIncludeFiles> </ClCompile> <Link> <SubSystem>Windows</SubSystem> @@ -279,9 +281,6 @@ <ClCompile Include="shared\standard_paths.cpp" /> <ClCompile Include="shared\last_error.cpp" /> <ClCompile Include="shared\taskbar.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxml.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxmlerror.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxmlparser.cpp" /> <ClCompile Include="shared\toggle_button.cpp" /> <ClCompile Include="shared\util.cpp" /> <ClCompile Include="shared\xml_base.cpp" /> diff --git a/FreeFileSync.cbp b/FreeFileSync.cbp index e087bd33..19170659 100644 --- a/FreeFileSync.cbp +++ b/FreeFileSync.cbp @@ -95,15 +95,17 @@ <Add option="-Wall" /> <Add option="-pipe" /> <Add option="-mthreads" /> + <Add option="-std=gnu++0x" /> <Add option="-D__GNUWIN32__" /> <Add option="-D__WXMSW__" /> <Add option="-DFFS_WIN" /> - <Add option="-DTIXML_USE_STL" /> <Add option="-DwxUSE_UNICODE" /> <Add option="-DBOOST_THREAD_USE_LIB" /> <Add option="-DWXINTL_NO_GETTEXT_MACRO" /> + <Add option="-DZEN_PLATFORM_WINDOWS" /> <Add directory="C:\Programme\C++\wxWidgets\include" /> <Add directory="C:\Program Files\C++\Boost" /> + <Add directory="shared" /> </Compiler> <ResourceCompiler> <Add directory="C:\Programme\C++\wxWidgets\include" /> @@ -331,10 +333,6 @@ <Option target="Release" /> <Option target="Debug-DLL" /> </Unit> - <Unit filename="shared\tinyxml\tinystr.cpp" /> - <Unit filename="shared\tinyxml\tinyxml.cpp" /> - <Unit filename="shared\tinyxml\tinyxmlerror.cpp" /> - <Unit filename="shared\tinyxml\tinyxmlparser.cpp" /> <Unit filename="shared\toggle_button.cpp"> <Option target="Release" /> <Option target="Debug-DLL" /> @@ -345,6 +343,7 @@ </Unit> <Unit filename="shared\util.cpp" /> <Unit filename="shared\util.h" /> + <Unit filename="shared\wx_choice_enum.h" /> <Unit filename="shared\xml_base.cpp" /> <Unit filename="shared\xml_base.h" /> <Unit filename="shared\xml_error.h" /> diff --git a/FreeFileSync.vcxproj b/FreeFileSync.vcxproj index 93fe581e..7c38c5a0 100644 --- a/FreeFileSync.vcxproj +++ b/FreeFileSync.vcxproj @@ -1,322 +1 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{86C36CC7-9418-4253-9928-828486F59A00}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>FreeFileSync</RootNamespace> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - <PlatformToolset>v100</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - <PlatformToolset>Windows7.1SDK</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - <PlatformToolset>v100</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - <PlatformToolset>Windows7.1SDK</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>BUILD\Bin\</OutDir> - <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> - <TargetName>$(ProjectName)_$(PlatformName)</TargetName> - <GenerateManifest>false</GenerateManifest> - <EmbedManifest>true</EmbedManifest> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>BUILD\Bin\</OutDir> - <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> - <TargetName>$(ProjectName)_$(PlatformName)</TargetName> - <GenerateManifest>false</GenerateManifest> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>false</LinkIncremental> - <OutDir>BUILD\Bin\</OutDir> - <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> - <GenerateManifest>false</GenerateManifest> - <TargetName>$(ProjectName)_$(PlatformName)</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>false</LinkIncremental> - <OutDir>BUILD\Bin\</OutDir> - <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> - <GenerateManifest>false</GenerateManifest> - <TargetName>$(ProjectName)_$(PlatformName)</TargetName> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader>Use</PrecompiledHeader> - <WarningLevel>Level4</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> - <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> - <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> - <MultiProcessorCompilation>false</MultiProcessorCompilation> - <DisableLanguageExtensions>false</DisableLanguageExtensions> - <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> - <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - </ClCompile> - <Link> - <SubSystem>Windows</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SuppressStartupBanner>true</SuppressStartupBanner> - <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> - <AdditionalDependencies>wxmsw28ud_aui.lib;wxmsw28ud_adv.lib;wxmsw28ud_core.lib;wxbase28ud.lib;wxpngd.lib;wxzlibd.lib;wxbase28ud_net.lib;comctl32.lib;ws2_32.lib;Rpcrt4.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets\lib\vc_lib;C:\Program Files\C++\Boost\stage\lib</AdditionalLibraryDirectories> - <LinkStatus> - </LinkStatus> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud</AdditionalIncludeDirectories> - <PreprocessorDefinitions>%(PreprocessorDefinitions);</PreprocessorDefinitions> - </ResourceCompile> - <Manifest> - <SuppressDependencyElement> - </SuppressDependencyElement> - </Manifest> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader>Use</PrecompiledHeader> - <WarningLevel>Level4</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> - <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> - <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> - <MultiProcessorCompilation>false</MultiProcessorCompilation> - <DisableLanguageExtensions>false</DisableLanguageExtensions> - <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> - <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <Link> - <SubSystem>Windows</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SuppressStartupBanner>true</SuppressStartupBanner> - <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> - <AdditionalDependencies>wxmsw28ud_aui.lib;wxmsw28ud_adv.lib;wxmsw28ud_core.lib;wxbase28ud.lib;wxpngd.lib;wxzlibd.lib;wxbase28ud_net.lib;comctl32.lib;ws2_32.lib;Rpcrt4.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets-x64\lib\vc_lib;C:\Program Files\C++\Boost\stage64\lib</AdditionalLibraryDirectories> - <LinkStatus> - </LinkStatus> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud</AdditionalIncludeDirectories> - <PreprocessorDefinitions>%(PreprocessorDefinitions);WX_CPU_AMD64</PreprocessorDefinitions> - </ResourceCompile> - <Manifest> - <SuppressDependencyElement> - </SuppressDependencyElement> - </Manifest> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level4</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> - <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> - <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableLanguageExtensions>false</DisableLanguageExtensions> - <InlineFunctionExpansion>Default</InlineFunctionExpansion> - </ClCompile> - <Link> - <SubSystem>Windows</SubSystem> - <GenerateDebugInformation>false</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalDependencies>wxmsw28u_aui.lib;wxmsw28u_adv.lib;wxmsw28u_core.lib;wxbase28u.lib;wxpng.lib;wxzlib.lib;wxbase28u_net.lib;comctl32.lib;ws2_32.lib;winmm.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> - <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets\lib\vc_lib;C:\Program Files\C++\Boost\stage\lib</AdditionalLibraryDirectories> - <LinkStatus> - </LinkStatus> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu</AdditionalIncludeDirectories> - <PreprocessorDefinitions>%(PreprocessorDefinitions);</PreprocessorDefinitions> - <Culture> - </Culture> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level4</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> - <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> - <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <MultiProcessorCompilation>true</MultiProcessorCompilation> - <DisableLanguageExtensions>false</DisableLanguageExtensions> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <Link> - <SubSystem>Windows</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalDependencies>wxmsw28u_aui.lib;wxmsw28u_adv.lib;wxmsw28u_core.lib;wxbase28u.lib;wxpng.lib;wxzlib.lib;wxbase28u_net.lib;comctl32.lib;ws2_32.lib;winmm.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> - <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets-x64\lib\vc_lib;C:\Program Files\C++\Boost\stage64\lib</AdditionalLibraryDirectories> - <LinkStatus> - </LinkStatus> - <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu</AdditionalIncludeDirectories> - <PreprocessorDefinitions>%(PreprocessorDefinitions);WX_CPU_AMD64</PreprocessorDefinitions> - <Culture> - </Culture> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="algorithm.cpp"> - <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> - <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> - </ClCompile> - <ClCompile Include="application.cpp" /> - <ClCompile Include="comparison.cpp" /> - <ClCompile Include="file_hierarchy.cpp" /> - <ClCompile Include="library\binary.cpp" /> - <ClCompile Include="library\custom_grid.cpp" /> - <ClCompile Include="library\db_file.cpp" /> - <ClCompile Include="library\dir_lock.cpp" /> - <ClCompile Include="library\error_log.cpp" /> - <ClCompile Include="library\hard_filter.cpp" /> - <ClCompile Include="library\icon_buffer.cpp" /> - <ClCompile Include="library\process_xml.cpp" /> - <ClCompile Include="library\resources.cpp" /> - <ClCompile Include="library\statistics.cpp" /> - <ClCompile Include="library\status_handler.cpp" /> - <ClCompile Include="shared\app_main.cpp" /> - <ClCompile Include="shared\check_exist.cpp" /> - <ClCompile Include="shared\custom_button.cpp" /> - <ClCompile Include="shared\custom_combo_box.cpp" /> - <ClCompile Include="shared\custom_tooltip.cpp" /> - <ClCompile Include="shared\dll_loader.cpp" /> - <ClCompile Include="shared\dir_name.cpp" /> - <ClCompile Include="shared\dst_hack.cpp" /> - <ClCompile Include="shared\file_handling.cpp" /> - <ClCompile Include="shared\file_id.cpp" /> - <ClCompile Include="shared\file_io.cpp" /> - <ClCompile Include="shared\file_traverser.cpp" /> - <ClCompile Include="shared\global_func.cpp" /> - <ClCompile Include="shared\guid.cpp" /> - <ClCompile Include="shared\help_provider.cpp" /> - <ClCompile Include="shared\i18n.cpp" /> - <ClCompile Include="shared\localization.cpp" /> - <ClCompile Include="shared\mouse_move_dlg.cpp" /> - <ClCompile Include="shared\privilege.cpp" /> - <ClCompile Include="shared\recycler.cpp" /> - <ClCompile Include="shared\resolve_path.cpp" /> - <ClCompile Include="shared\serialize.cpp" /> - <ClCompile Include="shared\shadow.cpp" /> - <ClCompile Include="shared\standard_paths.cpp" /> - <ClCompile Include="shared\last_error.cpp" /> - <ClCompile Include="shared\taskbar.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxml.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxmlerror.cpp" /> - <ClCompile Include="shared\tinyxml\tinyxmlparser.cpp" /> - <ClCompile Include="shared\toggle_button.cpp" /> - <ClCompile Include="shared\util.cpp" /> - <ClCompile Include="shared\xml_base.cpp" /> - <ClCompile Include="shared\zstring.cpp" /> - <ClCompile Include="structures.cpp" /> - <ClCompile Include="synchronization.cpp" /> - <ClCompile Include="ui\batch_config.cpp" /> - <ClCompile Include="ui\batch_status_handler.cpp" /> - <ClCompile Include="ui\check_version.cpp" /> - <ClCompile Include="ui\grid_view.cpp" /> - <ClCompile Include="ui\gui_generated.cpp" /> - <ClCompile Include="ui\gui_status_handler.cpp" /> - <ClCompile Include="ui\main_dlg.cpp" /> - <ClCompile Include="ui\msg_popup.cpp" /> - <ClCompile Include="ui\progress_indicator.cpp" /> - <ClCompile Include="ui\search.cpp" /> - <ClCompile Include="ui\small_dlgs.cpp" /> - <ClCompile Include="ui\switch_to_gui.cpp" /> - <ClCompile Include="ui\sync_cfg.cpp" /> - <ClCompile Include="ui\tray_icon.cpp" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="resource.rc" /> - </ItemGroup> - <ItemGroup> - <None Include="WxWizFrame.fbp"> - <SubType>Designer</SubType> - </None> - </ItemGroup> - <ItemGroup> - <ClInclude Include="shared\pch.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file +<?xml version="1.0" encoding="utf-8"?><Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Debug|x64"> <Configuration>Debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{86C36CC7-9418-4253-9928-828486F59A00}</ProjectGuid> <Keyword>Win32Proj</Keyword> <RootNamespace>FreeFileSync</RootNamespace> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>Windows7.1SDK</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>Windows7.1SDK</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <LinkIncremental>true</LinkIncremental> <OutDir>BUILD\Bin\</OutDir> <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> <TargetName>$(ProjectName)_$(PlatformName)</TargetName> <GenerateManifest>false</GenerateManifest> <EmbedManifest>true</EmbedManifest> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <LinkIncremental>true</LinkIncremental> <OutDir>BUILD\Bin\</OutDir> <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> <TargetName>$(ProjectName)_$(PlatformName)</TargetName> <GenerateManifest>false</GenerateManifest> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <LinkIncremental>false</LinkIncremental> <OutDir>BUILD\Bin\</OutDir> <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> <GenerateManifest>false</GenerateManifest> <TargetName>$(ProjectName)_$(PlatformName)</TargetName> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <LinkIncremental>false</LinkIncremental> <OutDir>BUILD\Bin\</OutDir> <IntDir>OBJ\$(ProjectName)_$(Configuration)_$(PlatformName)_VCPP\</IntDir> <GenerateManifest>false</GenerateManifest> <TargetName>$(ProjectName)_$(PlatformName)</TargetName> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> </ClCompile> <Link> <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <SuppressStartupBanner>true</SuppressStartupBanner> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <AdditionalDependencies>wxmsw28ud_aui.lib;wxmsw28ud_adv.lib;wxmsw28ud_core.lib;wxbase28ud.lib;wxpngd.lib;wxzlibd.lib;wxbase28ud_net.lib;comctl32.lib;ws2_32.lib;Rpcrt4.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets\lib\vc_lib;C:\Program Files\C++\Boost\stage\lib</AdditionalLibraryDirectories> <LinkStatus> </LinkStatus> </Link> <ResourceCompile> <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud</AdditionalIncludeDirectories> <PreprocessorDefinitions>%(PreprocessorDefinitions);</PreprocessorDefinitions> </ResourceCompile> <Manifest> <SuppressDependencyElement> </SuppressDependencyElement> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)shared\pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <PrecompiledHeaderOutputFile>$(IntDir)pch.obj</PrecompiledHeaderOutputFile> <ForcedIncludeFiles>$(ProjectDir)shared/pch.h</ForcedIncludeFiles> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <SuppressStartupBanner>true</SuppressStartupBanner> </ClCompile> <Link> <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <SuppressStartupBanner>true</SuppressStartupBanner> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <AdditionalDependencies>wxmsw28ud_aui.lib;wxmsw28ud_adv.lib;wxmsw28ud_core.lib;wxbase28ud.lib;wxpngd.lib;wxzlibd.lib;wxbase28ud_net.lib;comctl32.lib;ws2_32.lib;Rpcrt4.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets-x64\lib\vc_lib;C:\Program Files\C++\Boost\stage64\lib</AdditionalLibraryDirectories> <LinkStatus> </LinkStatus> </Link> <ResourceCompile> <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud</AdditionalIncludeDirectories> <PreprocessorDefinitions>%(PreprocessorDefinitions);WX_CPU_AMD64</PreprocessorDefinitions> </ResourceCompile> <Manifest> <SuppressDependencyElement> </SuppressDependencyElement> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <WarningLevel>Level4</WarningLevel> <PrecompiledHeader>NotUsing</PrecompiledHeader> <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <MultiProcessorCompilation>true</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <InlineFunctionExpansion>Default</InlineFunctionExpansion> </ClCompile> <Link> <SubSystem>Windows</SubSystem> <GenerateDebugInformation>false</GenerateDebugInformation> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <SuppressStartupBanner>true</SuppressStartupBanner> <AdditionalDependencies>wxmsw28u_aui.lib;wxmsw28u_adv.lib;wxmsw28u_core.lib;wxbase28u.lib;wxpng.lib;wxzlib.lib;wxbase28u_net.lib;comctl32.lib;ws2_32.lib;winmm.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets\lib\vc_lib;C:\Program Files\C++\Boost\stage\lib</AdditionalLibraryDirectories> <LinkStatus> </LinkStatus> </Link> <ResourceCompile> <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu</AdditionalIncludeDirectories> <PreprocessorDefinitions>%(PreprocessorDefinitions);</PreprocessorDefinitions> <Culture> </Culture> </ResourceCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> <WarningLevel>Level4</WarningLevel> <PrecompiledHeader>NotUsing</PrecompiledHeader> <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <AdditionalIncludeDirectories>.\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <MultiProcessorCompilation>true</MultiProcessorCompilation> <DisableLanguageExtensions>false</DisableLanguageExtensions> <SuppressStartupBanner>true</SuppressStartupBanner> </ClCompile> <Link> <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <SuppressStartupBanner>true</SuppressStartupBanner> <AdditionalDependencies>wxmsw28u_aui.lib;wxmsw28u_adv.lib;wxmsw28u_core.lib;wxbase28u.lib;wxpng.lib;wxzlib.lib;wxbase28u_net.lib;comctl32.lib;ws2_32.lib;winmm.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <AdditionalLibraryDirectories>C:\Program Files\C++\wxWidgets-x64\lib\vc_lib;C:\Program Files\C++\Boost\stage64\lib</AdditionalLibraryDirectories> <LinkStatus> </LinkStatus> <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> </Link> <ResourceCompile> <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu</AdditionalIncludeDirectories> <PreprocessorDefinitions>%(PreprocessorDefinitions);WX_CPU_AMD64</PreprocessorDefinitions> <Culture> </Culture> </ResourceCompile> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="algorithm.cpp"> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> </ClCompile> <ClCompile Include="application.cpp" /> <ClCompile Include="comparison.cpp" /> <ClCompile Include="file_hierarchy.cpp" /> <ClCompile Include="library\binary.cpp" /> <ClCompile Include="library\custom_grid.cpp" /> <ClCompile Include="library\db_file.cpp" /> <ClCompile Include="library\dir_lock.cpp" /> <ClCompile Include="library\error_log.cpp" /> <ClCompile Include="library\hard_filter.cpp" /> <ClCompile Include="library\icon_buffer.cpp" /> <ClCompile Include="library\process_xml.cpp" /> <ClCompile Include="library\resources.cpp" /> <ClCompile Include="library\statistics.cpp" /> <ClCompile Include="library\status_handler.cpp" /> <ClCompile Include="shared\app_main.cpp" /> <ClCompile Include="shared\check_exist.cpp" /> <ClCompile Include="shared\custom_button.cpp" /> <ClCompile Include="shared\custom_combo_box.cpp" /> <ClCompile Include="shared\custom_tooltip.cpp" /> <ClCompile Include="shared\dll_loader.cpp" /> <ClCompile Include="shared\dir_name.cpp" /> <ClCompile Include="shared\dst_hack.cpp" /> <ClCompile Include="shared\file_handling.cpp" /> <ClCompile Include="shared\file_id.cpp" /> <ClCompile Include="shared\file_io.cpp" /> <ClCompile Include="shared\file_traverser.cpp" /> <ClCompile Include="shared\global_func.cpp" /> <ClCompile Include="shared\guid.cpp" /> <ClCompile Include="shared\help_provider.cpp" /> <ClCompile Include="shared\i18n.cpp" /> <ClCompile Include="shared\localization.cpp" /> <ClCompile Include="shared\mouse_move_dlg.cpp" /> <ClCompile Include="shared\privilege.cpp" /> <ClCompile Include="shared\recycler.cpp" /> <ClCompile Include="shared\resolve_path.cpp" /> <ClCompile Include="shared\serialize.cpp" /> <ClCompile Include="shared\shadow.cpp" /> <ClCompile Include="shared\standard_paths.cpp" /> <ClCompile Include="shared\last_error.cpp" /> <ClCompile Include="shared\taskbar.cpp" /> <ClCompile Include="shared\toggle_button.cpp" /> <ClCompile Include="shared\util.cpp" /> <ClCompile Include="shared\xml_base.cpp" /> <ClCompile Include="shared\zenXml\unit_test.cpp" /> <ClCompile Include="shared\zstring.cpp" /> <ClCompile Include="structures.cpp" /> <ClCompile Include="synchronization.cpp" /> <ClCompile Include="ui\batch_config.cpp" /> <ClCompile Include="ui\batch_status_handler.cpp" /> <ClCompile Include="ui\check_version.cpp" /> <ClCompile Include="ui\grid_view.cpp" /> <ClCompile Include="ui\gui_generated.cpp" /> <ClCompile Include="ui\gui_status_handler.cpp" /> <ClCompile Include="ui\main_dlg.cpp" /> <ClCompile Include="ui\msg_popup.cpp" /> <ClCompile Include="ui\progress_indicator.cpp" /> <ClCompile Include="ui\search.cpp" /> <ClCompile Include="ui\small_dlgs.cpp" /> <ClCompile Include="ui\switch_to_gui.cpp" /> <ClCompile Include="ui\sync_cfg.cpp" /> <ClCompile Include="ui\tray_icon.cpp" /> </ItemGroup> <ItemGroup> <ResourceCompile Include="resource.rc" /> </ItemGroup> <ItemGroup> <None Include="WxWizFrame.fbp"> <SubType>Designer</SubType> </None> </ItemGroup> <ItemGroup> <ClInclude Include="shared\pch.h" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup></Project>
\ No newline at end of file @@ -4,7 +4,7 @@ BINDIR = $(DESTDIR)$(prefix)/bin SHAREDIR = $(DESTDIR)$(prefix)/share APPSHAREDIR = $(SHAREDIR)/$(APPNAME) -COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` -O3 -pthread -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DTIXML_USE_STL -DWXINTL_NO_GETTEXT_MACRO +COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` -O3 -pthread -std=gnu++0x -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DZEN_PLATFORM_OTHER -DWXINTL_NO_GETTEXT_MACRO -I./shared COMMON_LINK_FLAGS = -O3 -pthread #default build @@ -67,10 +67,8 @@ FILE_LIST+=shared/localization.cpp FILE_LIST+=shared/file_io.cpp FILE_LIST+=shared/dir_name.cpp FILE_LIST+=shared/guid.cpp +FILE_LIST+=shared/xml_base.cpp FILE_LIST+=shared/check_exist.cpp -FILE_LIST+=shared/tinyxml/tinyxml.cpp -FILE_LIST+=shared/tinyxml/tinyxmlerror.cpp -FILE_LIST+=shared/tinyxml/tinyxmlparser.cpp FILE_LIST+=shared/global_func.cpp FILE_LIST+=shared/last_error.cpp FILE_LIST+=shared/custom_tooltip.cpp @@ -79,7 +77,6 @@ FILE_LIST+=shared/resolve_path.cpp FILE_LIST+=shared/file_traverser.cpp FILE_LIST+=shared/standard_paths.cpp FILE_LIST+=shared/zstring.cpp -FILE_LIST+=shared/xml_base.cpp FILE_LIST+=shared/app_main.cpp FILE_LIST+=shared/custom_button.cpp FILE_LIST+=shared/toggle_button.cpp diff --git a/RealtimeSync/RealtimeSync.cbp b/RealtimeSync/RealtimeSync.cbp index a3341c94..9e81c8ea 100644 --- a/RealtimeSync/RealtimeSync.cbp +++ b/RealtimeSync/RealtimeSync.cbp @@ -64,16 +64,18 @@ <Add option="-Wall" /> <Add option="-pipe" /> <Add option="-mthreads" /> + <Add option="-std=gnu++0x" /> <Add option="-D__GNUWIN32__" /> <Add option="-D__WXMSW__" /> <Add option="-DwxUSE_UNICODE" /> <Add option="-DFFS_WIN" /> - <Add option="-DTIXML_USE_STL" /> + <Add option="-DZEN_PLATFORM_WINDOWS" /> <Add option="-DBOOST_THREAD_NO_LIB" /> <Add option="-DBOOST_THREAD_USE_LIB" /> <Add option="-DWXINTL_NO_GETTEXT_MACRO" /> <Add directory="C:\Programme\C++\wxWidgets\include" /> <Add directory="C:\Program Files\C++\Boost" /> + <Add directory="..\shared" /> </Compiler> <ResourceCompiler> <Add directory="C:\Programme\C++\wxWidgets\include" /> @@ -152,10 +154,6 @@ <Unit filename="..\shared\resolve_path.h" /> <Unit filename="..\shared\standard_paths.cpp" /> <Unit filename="..\shared\standard_paths.h" /> - <Unit filename="..\shared\tinyxml\tinystr.cpp" /> - <Unit filename="..\shared\tinyxml\tinyxml.cpp" /> - <Unit filename="..\shared\tinyxml\tinyxmlerror.cpp" /> - <Unit filename="..\shared\tinyxml\tinyxmlparser.cpp" /> <Unit filename="..\shared\util.cpp" /> <Unit filename="..\shared\xml_base.cpp" /> <Unit filename="..\shared\xml_base.h" /> diff --git a/RealtimeSync/RealtimeSync.vcxproj b/RealtimeSync/RealtimeSync.vcxproj index b141e391..12d36822 100644 --- a/RealtimeSync/RealtimeSync.vcxproj +++ b/RealtimeSync/RealtimeSync.vcxproj @@ -99,8 +99,8 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__</PreprocessorDefinitions> + <AdditionalIncludeDirectories>..\shared;C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)/../shared/pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> @@ -129,8 +129,8 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__;TIXML_USE_STL</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;__WXDEBUG__</PreprocessorDefinitions> + <AdditionalIncludeDirectories>..\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswud;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <PrecompiledHeaderFile>$(ProjectDir)/../shared/pch.h</PrecompiledHeaderFile> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <MultiProcessorCompilation>false</MultiProcessorCompilation> @@ -162,8 +162,8 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG</PreprocessorDefinitions> + <AdditionalIncludeDirectories>..\shared;C:\Program Files\C++\wxWidgets\include;C:\Program Files\C++\wxWidgets\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> @@ -196,8 +196,8 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG;TIXML_USE_STL</PreprocessorDefinitions> - <AdditionalIncludeDirectories>C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> + <PreprocessorDefinitions>ZEN_PLATFORM_WINDOWS;wxUSE_UNICODE;__WXMSW__;FFS_WIN;WXINTL_NO_GETTEXT_MACRO;NDEBUG</PreprocessorDefinitions> + <AdditionalIncludeDirectories>..\shared;C:\Program Files\C++\wxWidgets-x64\include;C:\Program Files\C++\wxWidgets-x64\lib\vc_lib\mswu;C:\Program Files\C++\Boost</AdditionalIncludeDirectories> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <DisableSpecificWarnings>4100;4996</DisableSpecificWarnings> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> @@ -243,9 +243,6 @@ <ClCompile Include="..\shared\resolve_path.cpp" /> <ClCompile Include="..\shared\standard_paths.cpp" /> <ClCompile Include="..\shared\last_error.cpp" /> - <ClCompile Include="..\shared\tinyxml\tinyxml.cpp" /> - <ClCompile Include="..\shared\tinyxml\tinyxmlerror.cpp" /> - <ClCompile Include="..\shared\tinyxml\tinyxmlparser.cpp" /> <ClCompile Include="..\shared\util.cpp" /> <ClCompile Include="..\shared\xml_base.cpp" /> <ClCompile Include="..\shared\zstring.cpp" /> diff --git a/RealtimeSync/application.cpp b/RealtimeSync/application.cpp index 88e5ab53..75f77da4 100644 --- a/RealtimeSync/application.cpp +++ b/RealtimeSync/application.cpp @@ -42,7 +42,7 @@ void Application::OnStartApplication(wxIdleEvent& event) SetAppName(wxT("FreeFileSync")); //use a different app name, to have "GetUserDataDir()" return the same directory as for FreeFileSync #ifdef FFS_LINUX - ::gtk_rc_parse(zen::wxToZ(zen::getResourceDir()) + "styles.rc"); //remove inner border from bitmap buttons + ::gtk_rc_parse((zen::wxToZ(zen::getResourceDir()) + "styles.rc").c_str()); //remove inner border from bitmap buttons #endif //set program language diff --git a/RealtimeSync/main_dlg.cpp b/RealtimeSync/main_dlg.cpp index b11ff848..5a89e4cd 100644 --- a/RealtimeSync/main_dlg.cpp +++ b/RealtimeSync/main_dlg.cpp @@ -63,9 +63,9 @@ MainDialog::MainDialog(wxDialog* dlg, const wxString& cfgFileName) rts::readRealOrBatchConfig(currentConfigFile, newConfig); loadCfgSuccess = true; } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); @@ -99,7 +99,7 @@ MainDialog::~MainDialog() { writeRealConfig(currentCfg, lastConfigFileName()); } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { wxMessageBox(error.msg().c_str(), _("Error"), wxOK | wxICON_ERROR); } @@ -237,9 +237,9 @@ void MainDialog::loadConfig(const wxString& filename) { rts::readRealOrBatchConfig(filename, newConfig); } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else { diff --git a/RealtimeSync/makefile b/RealtimeSync/makefile index 8f9e4863..56e8eb60 100644 --- a/RealtimeSync/makefile +++ b/RealtimeSync/makefile @@ -2,7 +2,7 @@ APPNAME = RealtimeSync prefix = /usr BINDIR = $(DESTDIR)$(prefix)/bin -COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` -O3 -pthread -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DTIXML_USE_STL -DWXINTL_NO_GETTEXT_MACRO +COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` -O3 -pthread -std=gnu++0x -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DZEN_PLATFORM_OTHER -DWXINTL_NO_GETTEXT_MACRO -I../shared COMMON_LINK_FLAGS = -O3 -pthread #default build @@ -31,9 +31,6 @@ FILE_LIST+=../shared/check_exist.cpp FILE_LIST+=../shared/i18n.cpp FILE_LIST+=../shared/localization.cpp FILE_LIST+=../shared/inotify/inotify-cxx.cpp -FILE_LIST+=../shared/tinyxml/tinyxml.cpp -FILE_LIST+=../shared/tinyxml/tinyxmlerror.cpp -FILE_LIST+=../shared/tinyxml/tinyxmlparser.cpp FILE_LIST+=../shared/global_func.cpp FILE_LIST+=../shared/last_error.cpp FILE_LIST+=../shared/dir_name.cpp diff --git a/RealtimeSync/xml_ffs.cpp b/RealtimeSync/xml_ffs.cpp index 03d266df..15e6f4c2 100644 --- a/RealtimeSync/xml_ffs.cpp +++ b/RealtimeSync/xml_ffs.cpp @@ -62,7 +62,7 @@ xmlAccess::XmlRealConfig convertBatchToReal(const xmlAccess::XmlBatchConfig& bat } -void rts::readRealOrBatchConfig(const wxString& filename, xmlAccess::XmlRealConfig& config) //throw (xmlAccess::XmlError); +void rts::readRealOrBatchConfig(const wxString& filename, xmlAccess::XmlRealConfig& config) //throw (xmlAccess::FfsXmlError); { if (xmlAccess::getXmlType(filename) != xmlAccess::XML_TYPE_BATCH) { @@ -74,11 +74,11 @@ void rts::readRealOrBatchConfig(const wxString& filename, xmlAccess::XmlRealConf xmlAccess::XmlBatchConfig batchCfg; try { - xmlAccess::readConfig(filename, batchCfg); //throw (xmlAccess::XmlError); + xmlAccess::readConfig(filename, batchCfg); //throw (xmlAccess::FfsXmlError); } - catch (const xmlAccess::XmlError& e) + catch (const xmlAccess::FfsXmlError& e) { - if (e.getSeverity() == xmlAccess::XmlError::WARNING) + if (e.getSeverity() == xmlAccess::FfsXmlError::WARNING) config = convertBatchToReal(batchCfg, filename); //do work despite parsing errors, then re-throw throw; // @@ -95,7 +95,7 @@ int rts::getProgramLanguage() { xmlAccess::readConfig(settings); } - catch (const xmlAccess::XmlError&) {} //user default language if error occured + catch (const xmlAccess::FfsXmlError&) {} //user default language if error occured return settings.programLanguage; } diff --git a/RealtimeSync/xml_ffs.h b/RealtimeSync/xml_ffs.h index 69e6e7a9..fb48712a 100644 --- a/RealtimeSync/xml_ffs.h +++ b/RealtimeSync/xml_ffs.h @@ -14,7 +14,7 @@ namespace rts { -void readRealOrBatchConfig(const wxString& filename, xmlAccess::XmlRealConfig& config); //throw (xmlAccess::XmlError); +void readRealOrBatchConfig(const wxString& filename, xmlAccess::XmlRealConfig& config); //throw (xmlAccess::FfsXmlError); int getProgramLanguage(); } diff --git a/RealtimeSync/xml_proc.cpp b/RealtimeSync/xml_proc.cpp index 4eaf8769..4ddf8bc4 100644 --- a/RealtimeSync/xml_proc.cpp +++ b/RealtimeSync/xml_proc.cpp @@ -7,105 +7,78 @@ #include "xml_proc.h" #include <wx/filefn.h> #include "../shared/i18n.h" +#include <file_handling.h> +#include <string_conv.h> +#include <xml_base.h> - +using namespace zen; using namespace xmlAccess; -class RtsXmlErrorLogger : public xmlAccess::XmlErrorLogger -{ -public: - void readConfig(const TiXmlElement* root, xmlAccess::XmlRealConfig& outputCfg); -}; - -//-------------------------------------------------------------------------------- - - -void RtsXmlErrorLogger::readConfig(const TiXmlElement* root, xmlAccess::XmlRealConfig& outputCfg) +namespace { - //read directories for monitoring - const TiXmlElement* directoriesToWatch = TiXmlHandleConst(root).FirstChild("Directories").ToElement(); - - readXmlElementLogging("Folder", directoriesToWatch, outputCfg.directories); - - //commandline to execute - readXmlElementLogging("Commandline", root, outputCfg.commandline); - - //delay - readXmlElementLogging("Delay", root, outputCfg.delay); -} - - -void writeConfig(const xmlAccess::XmlRealConfig& outputCfg, TiXmlElement& root) +void readConfig(const XmlIn& in, XmlRealConfig& config) { - //directories to monitor - TiXmlElement* directoriesToWatch = new TiXmlElement("Directories"); - root.LinkEndChild(directoriesToWatch); - xmlAccess::addXmlElement("Folder", outputCfg.directories, directoriesToWatch); - - //commandline to execute - xmlAccess::addXmlElement("Commandline", outputCfg.commandline, &root); - - //delay - xmlAccess::addXmlElement("Delay", outputCfg.delay, &root); + in["Directories"](config.directories); + in["Commandline"](config.commandline); + in["Delay" ](config.delay); } -bool isXmlTypeRTS(const TiXmlDocument& doc) //throw() +bool isXmlTypeRTS(const XmlDoc& doc) //throw() { - const TiXmlElement* root = doc.RootElement(); - if (root && root->ValueStr() == std::string("RealtimeSync")) + if (doc.root().getNameAs<std::string>() == "FreeFileSync") { - const char* cfgType = root->Attribute("XmlType"); - if (cfgType) - return std::string(cfgType) == "REAL"; + std::string type; + if (doc.root().getAttribute("XmlType", type)) + { + if (type == "REAL") + return true; + } } return false; } - - -void initXmlDocument(TiXmlDocument& doc) //throw() -{ - TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "UTF-8", ""); //delete won't be necessary later; ownership passed to TiXmlDocument! - doc.LinkEndChild(decl); - - TiXmlElement* root = new TiXmlElement("RealtimeSync"); - doc.LinkEndChild(root); - - addXmlAttribute("XmlType", "REAL", doc.RootElement()); } void xmlAccess::readRealConfig(const wxString& filename, XmlRealConfig& config) { - //load XML - if (!wxFileExists(filename)) - throw XmlError(wxString(_("File does not exist:")) + wxT("\n\"") + filename + wxT("\"")); + if (!fileExists(wxToZ(filename))) + throw FfsXmlError(wxString(_("File does not exist:")) + wxT("\n\"") + filename + wxT("\"")); - TiXmlDocument doc; - loadXmlDocument(filename, doc); //throw (XmlError) + XmlDoc doc; + loadXmlDocument(filename, doc); //throw (FfsXmlError) if (!isXmlTypeRTS(doc)) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); - RtsXmlErrorLogger parser; - parser.readConfig(doc.RootElement(), config); //read GUI layout configuration + XmlIn in(doc); + ::readConfig(in, config); - if (parser.errorsOccurred()) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"\n\n") + - parser.getErrorMessageFormatted(), XmlError::WARNING); + if (in.errorsOccured()) + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"\n\n") + + getErrorMessageFormatted(in), FfsXmlError::WARNING); } -void xmlAccess::writeRealConfig(const XmlRealConfig& outputCfg, const wxString& filename) +namespace { - TiXmlDocument doc; - initXmlDocument(doc); //throw() +void writeConfig(const XmlRealConfig& config, XmlOut& out) +{ + out["Directories"](config.directories); + out["Commandline"](config.commandline); + out["Delay" ](config.delay); +} +} - if (!doc.RootElement()) - throw XmlError(wxString(_("Error writing file:")) + wxT("\n\"") + filename + wxT("\"")); - writeConfig(outputCfg, *doc.RootElement()); //add GUI layout configuration settings +void xmlAccess::writeRealConfig(const XmlRealConfig& config, const wxString& filename) +{ + XmlDoc doc("FreeFileSync"); + doc.root().setAttribute("XmlType", "REAL"); + + XmlOut out(doc); + writeConfig(config, out); - saveXmlDocument(filename, doc); //throw (XmlError) + saveXmlDocument(doc, filename); //throw (FfsXmlError) } diff --git a/RealtimeSync/xml_proc.h b/RealtimeSync/xml_proc.h index 70a879a8..3e2549b0 100644 --- a/RealtimeSync/xml_proc.h +++ b/RealtimeSync/xml_proc.h @@ -9,7 +9,7 @@ #include <vector> #include <wx/string.h> -#include "../shared/xml_base.h" +#include <xml_error.h> namespace xmlAccess @@ -22,8 +22,8 @@ struct XmlRealConfig size_t delay; }; -void readRealConfig(const wxString& filename, XmlRealConfig& config); //throw (xmlAccess::XmlError); -void writeRealConfig(const XmlRealConfig& outputCfg, const wxString& filename); //throw (xmlAccess::XmlError); +void readRealConfig(const wxString& filename, XmlRealConfig& config); //throw (xmlAccess::FfsXmlError); +void writeRealConfig(const XmlRealConfig& config, const wxString& filename); //throw (xmlAccess::FfsXmlError); } #endif // XMLPROCESSING_H_INCLUDED diff --git a/comparison.cpp b/comparison.cpp index dea32feb..f456e67a 100644 --- a/comparison.cpp +++ b/comparison.cpp @@ -99,7 +99,7 @@ public: virtual void onFile(const Zchar* shortName, const Zstring& fullName, const TraverseCallback::FileInfo& details); private: - typedef boost::shared_ptr<const DirCallback> CallbackPointer; + typedef std::shared_ptr<const DirCallback> CallbackPointer; const SymLinkHandling handleSymlinks_; const Zstring textScanning; @@ -292,7 +292,7 @@ public: const DirContainer& getDirectoryDescription(const Zstring& directoryPostfixed, const HardFilter::FilterRef& filter); private: - typedef boost::shared_ptr<DirContainer> DirBufferValue; //exception safety: avoid memory leak + typedef std::shared_ptr<DirContainer> DirBufferValue; //exception safety: avoid memory leak typedef std::map<DirBufferKey, DirBufferValue> BufferType; DirContainer& insertIntoBuffer(const DirBufferKey& newKey); diff --git a/comparison.h b/comparison.h index 02d3944d..f3c9ac52 100644 --- a/comparison.h +++ b/comparison.h @@ -62,7 +62,7 @@ private: //buffer accesses to the same directories; useful when multiple folder pairs are used class DirectoryBuffer; - boost::shared_ptr<DirectoryBuffer> directoryBuffer; //std::auto_ptr does not work with forward declarations (Or we need a non-inline ~CompareProcess())! + std::shared_ptr<DirectoryBuffer> directoryBuffer; //std::auto_ptr does not work with forward declarations (Or we need a non-inline ~CompareProcess())! const size_t fileTimeTolerance; //max allowed file time deviation diff --git a/file_hierarchy.h b/file_hierarchy.h index d521cb33..75db798d 100644 --- a/file_hierarchy.h +++ b/file_hierarchy.h @@ -13,7 +13,7 @@ #include <set> #include <vector> #include "structures.h" -#include <boost/shared_ptr.hpp> +#include <memory> #include "shared/guid.h" #include "library/hard_filter.h" #include "shared/file_id.h" diff --git a/library/custom_grid.cpp b/library/custom_grid.cpp index 172ad2e1..c2b87b5d 100644 --- a/library/custom_grid.cpp +++ b/library/custom_grid.cpp @@ -169,7 +169,7 @@ public: { return result; } - else //grid attribute might be referenced by other nodes, so clone it! + else //grid attribute might be referenced by other elements, so clone it! { wxGridCellAttr* attr = result->Clone(); //attr has ref-count 1 result->DecRef(); @@ -1066,6 +1066,28 @@ void CustomGrid::updateGridSizes() } +void CustomGridRim::updateGridSizes() +{ + CustomGrid::updateGridSizes(); + + //set row label size + + //SetRowLabelSize(wxGRID_AUTOSIZE); -> we can do better + wxClientDC dc(GetGridRowLabelWindow()); + dc.SetFont(GetLabelFont()); + + wxArrayString lines; + lines.push_back(GetRowLabelValue(GetNumberRows())); + + long width = 0; + long dummy = 0; + GetTextBoxSize(dc, lines, &width, &dummy); + + width += 8; + SetRowLabelSize(width); +} + + void CustomGrid::setSortMarker(SortMarker marker) { m_marker = marker; diff --git a/library/custom_grid.h b/library/custom_grid.h index 1301486f..8b70c417 100644 --- a/library/custom_grid.h +++ b/library/custom_grid.h @@ -82,7 +82,7 @@ public: }; //notify wxGrid that underlying table size has changed - void updateGridSizes(); + virtual void updateGridSizes(); typedef std::pair<SortColumn, SortDirection> SortMarker; void setSortMarker(SortMarker marker); @@ -164,6 +164,8 @@ public: void enableFileIcons(const bool value); + virtual void updateGridSizes(); + protected: template <zen::SelectedSide side> void setTooltip(const wxMouseEvent& event); diff --git a/library/db_file.cpp b/library/db_file.cpp index 47e03b66..1d48dbdf 100644 --- a/library/db_file.cpp +++ b/library/db_file.cpp @@ -138,7 +138,7 @@ private: namespace { typedef std::string UniqueId; -typedef boost::shared_ptr<std::vector<char> > MemoryStreamPtr; //byte stream representing DirInformation +typedef std::shared_ptr<std::vector<char> > MemoryStreamPtr; //byte stream representing DirInformation typedef std::map<UniqueId, MemoryStreamPtr> DirectoryTOC; //list of streams ordered by a UUID pointing to their partner database typedef std::pair<UniqueId, DirectoryTOC> DbStreamData; //header data: UUID representing this database, item data: list of dir-streams } @@ -233,11 +233,11 @@ std::pair<DirInfoPtr, DirInfoPtr> zen::loadFromDisk(const BaseDirMapping& baseMa wxT("\"") + zToWx(fileNameRight) + wxT("\"")); //read streams into DirInfo - boost::shared_ptr<DirInformation> dirInfoLeft(new DirInformation); + std::shared_ptr<DirInformation> dirInfoLeft(new DirInformation); wxMemoryInputStream buffer(&(*dbLeft->second)[0], dbLeft->second->size()); //convert char-array to inputstream: no copying, ownership not transferred ReadDirInfo(buffer, zToWx(fileNameLeft), *dirInfoLeft); //read file/dir information - boost::shared_ptr<DirInformation> dirInfoRight(new DirInformation); + std::shared_ptr<DirInformation> dirInfoRight(new DirInformation); wxMemoryInputStream buffer2(&(*dbRight->second)[0], dbRight->second->size()); //convert char-array to inputstream: no copying, ownership not transferred ReadDirInfo(buffer2, zToWx(fileNameRight), *dirInfoRight); //read file/dir information @@ -474,7 +474,7 @@ void zen::saveToDisk(const BaseDirMapping& baseMapping) //throw (FileError) //(try to) read old DirInfo - std::auto_ptr<DirInformation> oldDirInfoLeft; + std::shared_ptr<DirInformation> oldDirInfoLeft; try { DirectoryTOC::const_iterator iter = dbEntriesLeft.second.find(dbEntriesRight.first); @@ -483,14 +483,14 @@ void zen::saveToDisk(const BaseDirMapping& baseMapping) //throw (FileError) { const std::vector<char>& memStream = *iter->second; wxMemoryInputStream buffer(&memStream[0], memStream.size()); //convert char-array to inputstream: no copying, ownership not transferred - std::auto_ptr<DirInformation> dirInfoTmp(new DirInformation); + std::shared_ptr<DirInformation> dirInfoTmp = std::make_shared<DirInformation>(); ReadDirInfo(buffer, zToWx(baseMapping.getDBFilename<LEFT_SIDE>()), *dirInfoTmp); //read file/dir information oldDirInfoLeft = dirInfoTmp; } } catch(FileError&) {} //if error occurs: just overwrite old file! User is already informed about issues right after comparing! - std::auto_ptr<DirInformation> oldDirInfoRight; + std::shared_ptr<DirInformation> oldDirInfoRight; try { DirectoryTOC::const_iterator iter = dbEntriesRight.second.find(dbEntriesLeft.first); @@ -499,7 +499,7 @@ void zen::saveToDisk(const BaseDirMapping& baseMapping) //throw (FileError) { const std::vector<char>& memStream = *iter->second; wxMemoryInputStream buffer(&memStream[0], memStream.size()); //convert char-array to inputstream: no copying, ownership not transferred - std::auto_ptr<DirInformation> dirInfoTmp(new DirInformation); + std::shared_ptr<DirInformation> dirInfoTmp = std::make_shared<DirInformation>(); ReadDirInfo(buffer, zToWx(baseMapping.getDBFilename<RIGHT_SIDE>()), *dirInfoTmp); //read file/dir information oldDirInfoRight = dirInfoTmp; } diff --git a/library/db_file.h b/library/db_file.h index 179ebd57..5c03ee96 100644 --- a/library/db_file.h +++ b/library/db_file.h @@ -19,7 +19,7 @@ struct DirInformation HardFilter::FilterRef filter; //filter settings (used when retrieving directory data) DirContainer baseDirContainer; //hierarchical directory information }; -typedef boost::shared_ptr<const DirInformation> DirInfoPtr; +typedef std::shared_ptr<const DirInformation> DirInfoPtr; DEFINE_NEW_FILE_ERROR(FileErrorDatabaseNotExisting); diff --git a/library/dir_lock.cpp b/library/dir_lock.cpp index 8b9032b4..835db4ef 100644 --- a/library/dir_lock.cpp +++ b/library/dir_lock.cpp @@ -4,7 +4,7 @@ #include <wx/timer.h> #include <wx/log.h> #include <wx/msgdlg.h> -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/weak_ptr.hpp> #include "../shared/string_conv.h" #include "../shared/i18n.h" @@ -546,13 +546,13 @@ public: } //create or retrieve a SharedDirLock - boost::shared_ptr<SharedDirLock> retrieve(const Zstring& lockfilename, DirLockCallback* callback) //throw (FileError) + std::shared_ptr<SharedDirLock> retrieve(const Zstring& lockfilename, DirLockCallback* callback) //throw (FileError) { //optimization: check if there is an active(!) lock for "lockfilename" FileToUuidMap::const_iterator iterUuid = fileToUuid.find(lockfilename); if (iterUuid != fileToUuid.end()) { - const boost::shared_ptr<SharedDirLock>& activeLock = findActive(iterUuid->second); //returns null-lock if not found + const std::shared_ptr<SharedDirLock>& activeLock = findActive(iterUuid->second); //returns null-lock if not found if (activeLock) return activeLock; //SharedDirLock is still active -> enlarge circle of shared ownership } @@ -561,7 +561,7 @@ public: { const std::string lockId = retrieveLockId(lockfilename); //throw (FileError, ErrorNotExisting) - const boost::shared_ptr<SharedDirLock>& activeLock = findActive(lockId); //returns null-lock if not found + const std::shared_ptr<SharedDirLock>& activeLock = findActive(lockId); //returns null-lock if not found if (activeLock) { fileToUuid[lockfilename] = lockId; //perf-optimization: update relation @@ -571,7 +571,7 @@ public: catch (const ErrorNotExisting&) {} //let other FileError(s) propagate! //not yet in buffer, so create a new directory lock - boost::shared_ptr<SharedDirLock> newLock(new SharedDirLock(lockfilename, callback)); //throw (FileError) + std::shared_ptr<SharedDirLock> newLock(new SharedDirLock(lockfilename, callback)); //throw (FileError) const std::string newLockId = retrieveLockId(lockfilename); //throw (FileError, ErrorNotExisting) //update registry @@ -584,15 +584,15 @@ public: private: LockAdmin() {} - boost::shared_ptr<SharedDirLock> findActive(const std::string& lockId) //returns null-lock if not found + std::shared_ptr<SharedDirLock> findActive(const std::string& lockId) //returns null-lock if not found { UuidToLockMap::const_iterator iterLock = uuidToLock.find(lockId); return iterLock != uuidToLock.end() ? iterLock->second.lock() : //try to get shared_ptr; throw() - boost::shared_ptr<SharedDirLock>(); + std::shared_ptr<SharedDirLock>(); } - typedef boost::weak_ptr<SharedDirLock> SharedLock; + typedef std::weak_ptr<SharedDirLock> SharedLock; typedef std::string UniqueId; typedef std::map<Zstring, UniqueId, LessFilename> FileToUuidMap; //n:1 handle uppper/lower case correctly diff --git a/library/dir_lock.h b/library/dir_lock.h index 91b61990..5d51d698 100644 --- a/library/dir_lock.h +++ b/library/dir_lock.h @@ -3,7 +3,7 @@ #include "../shared/zstring.h" #include "../shared/file_error.h" -#include <boost/shared_ptr.hpp> +#include <memory> struct DirLockCallback //while waiting for the lock @@ -30,7 +30,7 @@ public: private: class LockAdmin; class SharedDirLock; - boost::shared_ptr<SharedDirLock> sharedLock; + std::shared_ptr<SharedDirLock> sharedLock; }; #endif // DIR_LOCK_H_INCLUDED diff --git a/library/hard_filter.cpp b/library/hard_filter.cpp index 46ccc9ca..194fe41c 100644 --- a/library/hard_filter.cpp +++ b/library/hard_filter.cpp @@ -129,7 +129,6 @@ const T* cStringFind(const T* str1, T ch) //strchr() return str1; } - bool matchesMask(const Zchar* str, const Zchar* mask) { for (Zchar ch; (ch = *mask) != 0; ++mask, ++str) @@ -204,7 +203,7 @@ public: bool operator()(const Zstring& mask) const { - return matchesMask(name_, mask); + return matchesMask(name_.c_str(), mask.c_str()); } private: const Zstring& name_; @@ -221,8 +220,13 @@ bool matchesFilter(const Zstring& nameFormatted, const std::set<Zstring>& filter inline bool matchesFilterBegin(const Zstring& nameFormatted, const std::set<Zstring>& filter) { - return std::find_if(filter.begin(), filter.end(), - boost::bind(matchesMaskBegin, nameFormatted.c_str(), _1)) != filter.end(); + for (std::set<Zstring>::const_iterator i = filter.begin(); i != filter.end(); ++i) + if (matchesMaskBegin(nameFormatted.c_str(), i->c_str())) + return true; + return false; + + // return std::find_if(filter.begin(), filter.end(), + // boost::bind(matchesMaskBegin, nameFormatted.c_str(), _1)) != filter.end(); } diff --git a/library/hard_filter.h b/library/hard_filter.h index 4290e07a..0711175a 100644 --- a/library/hard_filter.h +++ b/library/hard_filter.h @@ -9,7 +9,7 @@ #include "../shared/zstring.h" #include <set> -#include <boost/shared_ptr.hpp> +#include <memory> #include <wx/stream.h> namespace zen @@ -42,7 +42,7 @@ public: virtual bool isNull() const = 0; //filter is equivalent to NullFilter, but may be technically slower - typedef boost::shared_ptr<const HardFilter> FilterRef; //always bound by design! + typedef std::shared_ptr<const HardFilter> FilterRef; //always bound by design! //serialization void saveFilter(wxOutputStream& stream) const; //serialize derived object diff --git a/library/lock_holder.h b/library/lock_holder.h index b20646c3..38323695 100644 --- a/library/lock_holder.h +++ b/library/lock_holder.h @@ -2,7 +2,7 @@ #define LOCK_HOLDER_H_INCLUDED #include <map> -#include "../shared/Zstring.h" +#include "../shared/zstring.h" #include "dir_lock.h" #include "status_handler.h" diff --git a/library/process_xml.cpp b/library/process_xml.cpp index 0e591116..1b5f6360 100644 --- a/library/process_xml.cpp +++ b/library/process_xml.cpp @@ -1,44 +1,30 @@ -// ************************************************************************** +// ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** // #include "process_xml.h" +#include <zenxml/zenxml.h> #include "../shared/i18n.h" #include "../shared/global_func.h" #include "../shared/standard_paths.h" #include "../shared/string_conv.h" #include "../shared/file_handling.h" +#include "../shared/file_io.h" +#include "../shared/xml_base.h" using namespace zen; -using namespace xmlAccess; //functionally needed!!! - - -XmlType xmlAccess::getXmlType(const wxString& filename) //throw() -{ - try - { - TiXmlDocument doc; - loadXmlDocument(filename, doc); //throw (XmlError) - return getXmlType(doc); - } - catch (const XmlError&) {} - - return XML_TYPE_OTHER; -} +using namespace xmlAccess; //functionally needed for correct overload resolution!!! -XmlType xmlAccess::getXmlType(const TiXmlDocument& doc) //throw() +XmlType getXmlType(const zen::XmlDoc& doc) //throw() { - const TiXmlElement* root = doc.RootElement(); - if (root && root->ValueStr() == std::string("FreeFileSync")) + if (doc.root().getNameAs<std::string>() == "FreeFileSync") { - const char* cfgType = root->Attribute("XmlType"); - if (cfgType) + std::string type; + if (doc.root().getAttribute("XmlType", type)) { - const std::string type(cfgType); - if (type == "GUI") return XML_TYPE_GUI; else if (type == "BATCH") @@ -51,1288 +37,1056 @@ XmlType xmlAccess::getXmlType(const TiXmlDocument& doc) //throw() } -void xmlAccess::initXmlDocument(TiXmlDocument& doc, XmlType type) //throw() +XmlType xmlAccess::getXmlType(const wxString& filename) //throw() { - TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "UTF-8", ""); //delete won't be necessary later; ownership passed to TiXmlDocument! - doc.LinkEndChild(decl); + XmlDoc doc; + try + { + std::string stream = loadStream(filename); //throw XmlFileError + parse(stream, doc); //throw XmlParsingError + } + catch (const zen::XmlError&) //catch XmlFileError, XmlParsingError + { + return XML_TYPE_OTHER; + } + return ::getXmlType(doc); +} - TiXmlElement* root = new TiXmlElement("FreeFileSync"); - doc.LinkEndChild(root); +void setXmlType(XmlDoc& doc, XmlType type) //throw() +{ switch (type) { case XML_TYPE_GUI: - addXmlAttribute("XmlType", "GUI", doc.RootElement()); + doc.root().setAttribute("XmlType", "GUI"); break; case XML_TYPE_BATCH: - addXmlAttribute("XmlType", "BATCH", doc.RootElement()); + doc.root().setAttribute("XmlType", "BATCH"); break; case XML_TYPE_GLOBAL: - addXmlAttribute("XmlType", "GLOBAL", doc.RootElement()); + doc.root().setAttribute("XmlType", "GLOBAL"); break; case XML_TYPE_OTHER: + assert(false); break; } } +//################################################################################################################ -class FfsXmlErrorLogger : public xmlAccess::XmlErrorLogger -{ -public: - //read gui settings, all values retrieved are optional, so check for initial values! (== -1) - void readConfig(const TiXmlElement* root, xmlAccess::XmlGuiConfig& outputCfg); - //read batch settings, all values retrieved are optional - void readConfig(const TiXmlElement* root, xmlAccess::XmlBatchConfig& outputCfg); - //read global settings, valid for both GUI and batch mode, independent from configuration - void readConfig(const TiXmlElement* root, xmlAccess::XmlGlobalSettings& outputCfg); - -private: - //read alternate configuration (optional) => might point to NULL - void readConfig(const TiXmlElement& folderPair, FolderPairEnh& enhPair); - void readFilter(const TiXmlElement& parent, FilterConfig& output); - - //read basic FreefileSync settings (used by commandline and GUI) - void readConfig(const TiXmlElement* root, MainConfiguration& mainCfg); -}; - - - -bool readXmlElement(const std::string& name, const TiXmlElement* parent, CompareVariant& output) +wxString xmlAccess::getGlobalConfigFile() { - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "ByTimeAndSize") - output = zen::CMP_BY_TIME_SIZE; - else if (dummy == "ByContent") - output = zen::CMP_BY_CONTENT; - else - return false; - - return true; - } - else - return false; + return zen::getConfigDir() + wxT("GlobalSettings.xml"); } -bool readXmlElement(const std::string& name, const TiXmlElement* parent, SyncDirection& output) +void xmlAccess::OptionalDialogs::resetDialogs() { - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "left") - output = SYNC_DIR_LEFT; - else if (dummy == "right") - output = SYNC_DIR_RIGHT; - else //treat all other input as "none" - output = SYNC_DIR_NONE; - - return true; - } - else - return false; + warningDependentFolders = true; + warningMultiFolderWriteAccess = true; + warningSignificantDifference = true; + warningNotEnoughDiskSpace = true; + warningUnresolvedConflicts = true; + warningSyncDatabase = true; + popupOnConfigChange = true; + showSummaryBeforeSync = true; } -bool readXmlElement(const std::string& name, const TiXmlElement* parent, xmlAccess::OnError& output) +xmlAccess::XmlGuiConfig xmlAccess::convertBatchToGui(const xmlAccess::XmlBatchConfig& batchCfg) { - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "Ignore") - output = xmlAccess::ON_ERROR_IGNORE; - else if (dummy == "Exit") - output = xmlAccess::ON_ERROR_EXIT; - else //treat all other input as popup - output = xmlAccess::ON_ERROR_POPUP; - - return true; - } - else - return false; + XmlGuiConfig output; + output.mainCfg = batchCfg.mainCfg; + return output; } -bool readXmlElement(const std::string& name, const TiXmlElement* parent , OnGuiError& output) +xmlAccess::XmlBatchConfig xmlAccess::convertGuiToBatch(const xmlAccess::XmlGuiConfig& guiCfg) { - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "Popup") - output = ON_GUIERROR_POPUP; - else if (dummy == "Ignore") - output = ON_GUIERROR_IGNORE; - else - return false; - - return true; - } - return false; -} - + XmlBatchConfig output; + output.mainCfg = guiCfg.mainCfg; -bool readXmlElement(const std::string& name, const TiXmlElement* parent , zen::DeletionPolicy& output) -{ - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) + switch (guiCfg.handleError) { - if (dummy == "DeletePermanently") - output = zen::DELETE_PERMANENTLY; - else if (dummy == "MoveToRecycleBin") - output = zen::MOVE_TO_RECYCLE_BIN; - else if (dummy == "MoveToCustomDirectory") - output = zen::MOVE_TO_CUSTOM_DIRECTORY; - else - return false; - - return true; + case ON_GUIERROR_POPUP: + output.handleError = xmlAccess::ON_ERROR_POPUP; + break; + case ON_GUIERROR_IGNORE: + output.handleError = xmlAccess::ON_ERROR_IGNORE; + break; } - return false; -} - - -bool readXmlElement(const std::string& name, const TiXmlElement* parent , zen::SymLinkHandling& output) -{ - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "Ignore") - output = zen::SYMLINK_IGNORE; - else if (dummy == "UseDirectly") - output = zen::SYMLINK_USE_DIRECTLY; - else if (dummy == "FollowLink") - output = zen::SYMLINK_FOLLOW_LINK; - else - return false; - return true; - } - return false; + return output; } -bool readXmlElement(const std::string& name, const TiXmlElement* parent , zen::UnitTime& output) +xmlAccess::MergeType xmlAccess::getMergeType(const std::vector<wxString>& filenames) //throw () { - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) - { - if (dummy == "Inactive") - output = zen::UTIME_NONE; - else if (dummy == "Second") - output = zen::UTIME_SEC; - else if (dummy == "Minute") - output = zen::UTIME_MIN; - else if (dummy == "Hour") - output = zen::UTIME_HOUR; - else if (dummy == "Day") - output = zen::UTIME_DAY; - else - return false; - - return true; - } - return false; -} - + bool guiCfgExists = false; + bool batchCfgExists = false; -bool readXmlElement(const std::string& name, const TiXmlElement* parent , zen::UnitSize& output) -{ - std::string dummy; - if (xmlAccess::readXmlElement(name, parent, dummy)) + for (std::vector<wxString>::const_iterator i = filenames.begin(); i != filenames.end(); ++i) { - if (dummy == "Inactive") - output = zen::USIZE_NONE; - else if (dummy == "Byte") - output = zen::USIZE_BYTE; - else if (dummy == "KB") - output = zen::USIZE_KB; - else if (dummy == "MB") - output = zen::USIZE_MB; - else - return false; - - return true; - } - return false; -} + switch (xmlAccess::getXmlType(*i)) //throw() + { + case XML_TYPE_GUI: + guiCfgExists = true; + break; + case XML_TYPE_BATCH: + batchCfgExists = true; + break; -bool readXmlElement(const std::string& name, const TiXmlElement* parent , zen::SyncConfig::Variant& output) -{ - std::string dummy; - if (!xmlAccess::readXmlElement(name, parent, dummy)) - return false; + case XML_TYPE_GLOBAL: + case XML_TYPE_OTHER: + return MERGE_OTHER; + } + } - if (dummy == "Automatic") - output = SyncConfig::AUTOMATIC; - else if (dummy == "Mirror") - output = SyncConfig::MIRROR; - else if (dummy == "Update") - output = SyncConfig::UPDATE; - else if (dummy == "Custom") - output = SyncConfig::CUSTOM; + if (guiCfgExists && batchCfgExists) + return MERGE_GUI_BATCH; + else if (guiCfgExists && !batchCfgExists) + return MERGE_GUI; + else if (!guiCfgExists && batchCfgExists) + return MERGE_BATCH; else - return false; - - return true; + return MERGE_OTHER; } -bool readXmlElement(const std::string& name, const TiXmlElement* parent, Zstring& output) +namespace { - wxString dummy; - if (!xmlAccess::readXmlElement(name, parent, dummy)) - return false; - - output = wxToZ(dummy); - return true; -} - - -bool readXmlAttribute(const std::string& name, const TiXmlElement* node, xmlAccess::ColumnTypes& output) +template <class XmlCfg> +XmlCfg loadCfgImpl(const wxString& filename, std::unique_ptr<xmlAccess::FfsXmlError>& exeption) //throw (xmlAccess::FfsXmlError) { - int dummy = 0; - if (xmlAccess::readXmlAttribute(name, node, dummy)) + XmlCfg cfg; + try { - output = static_cast<xmlAccess::ColumnTypes>(dummy); - return true; + xmlAccess::readConfig(filename, cfg); //throw (xmlAccess::FfsXmlError); } - else - return false; -} - - -void FfsXmlErrorLogger::readFilter(const TiXmlElement& parent, FilterConfig& output) -{ - //read filter settings - readXmlElementLogging("Include", &parent, output.includeFilter); - readXmlElementLogging("Exclude", &parent, output.excludeFilter); - - //migration "strategy": no error checking on these... :P - - readXmlElementLogging("TimeSpan", &parent, output.timeSpan); - readXmlElementLogging("UnitTimeSpan", &parent, output.unitTimeSpan); - - readXmlElementLogging("SizeMin", &parent, output.sizeMin); - readXmlElementLogging("UnitSizeMin", &parent, output.unitSizeMin); - - readXmlElementLogging("SizeMax", &parent, output.sizeMax); - readXmlElementLogging("UnitSizeMax", &parent, output.unitSizeMax); -} - - -//################################################################################################################ -void FfsXmlErrorLogger::readConfig(const TiXmlElement& folderPair, FolderPairEnh& enhPair) -{ - //read folder pairs - readXmlElementLogging("Left", &folderPair, enhPair.leftDirectory); - readXmlElementLogging("Right", &folderPair, enhPair.rightDirectory); - - - //########################################################### - //alternate sync configuration - const TiXmlElement* xmlAltSyncCfg = TiXmlHandleConst(&folderPair).FirstChild("AlternateSyncConfig").ToElement(); - if (xmlAltSyncCfg) + catch (const xmlAccess::FfsXmlError& e) { - AlternateSyncConfig* altSyncCfg = new AlternateSyncConfig; - enhPair.altSyncConfig.reset(altSyncCfg); - - const TiXmlElement* xmlSyncDirections = TiXmlHandleConst(xmlAltSyncCfg).FirstChild("CustomDirections").ToElement(); - - //read sync configuration - readXmlElementLogging("Variant", xmlAltSyncCfg, altSyncCfg->syncConfiguration.var); - - readXmlElementLogging("LeftOnly", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.exLeftSideOnly); - readXmlElementLogging("RightOnly", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.exRightSideOnly); - readXmlElementLogging("LeftNewer", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.leftNewer); - readXmlElementLogging("RightNewer", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.rightNewer); - readXmlElementLogging("Different", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.different); - readXmlElementLogging("Conflict", xmlSyncDirections, altSyncCfg->syncConfiguration.custom.conflict); - - readXmlElementLogging("DeletionPolicy", xmlAltSyncCfg, altSyncCfg->handleDeletion); - readXmlElementLogging("CustomDeletionFolder", xmlAltSyncCfg, altSyncCfg->customDeletionDirectory); + if (e.getSeverity() == xmlAccess::FfsXmlError::FATAL) + throw; + else + exeption.reset(new xmlAccess::FfsXmlError(e)); } - - //########################################################### - //alternate filter configuration - const TiXmlElement* filterCfg = TiXmlHandleConst(&folderPair).FirstChild("LocalFilter").ToElement(); - if (filterCfg) - readFilter(*filterCfg, enhPair.localFilter); + return cfg; } -void FfsXmlErrorLogger::readConfig(const TiXmlElement* root, MainConfiguration& mainCfg) +template <class XmlCfg> +void mergeConfigFilesImpl(const std::vector<wxString>& filenames, XmlCfg& config) //throw (xmlAccess::FfsXmlError) { - TiXmlHandleConst hRoot(root); //custom const handle: TiXml API seems broken in this regard - - //########################################################### - const TiXmlElement* xmlMainConfig = hRoot.FirstChild("MainConfig").ToElement(); - - const TiXmlElement* cmpSettings = hRoot.FirstChild("MainConfig").FirstChild("Comparison").ToElement(); - - //read compare variant - readXmlElementLogging("Variant", cmpSettings, mainCfg.compareVar); - - //include symbolic links at all? - readXmlElementLogging("HandleSymlinks", cmpSettings, mainCfg.handleSymlinks); - - //########################################################### - const TiXmlElement* xmlSyncCfg = hRoot.FirstChild("MainConfig").FirstChild("SyncConfig").ToElement(); - const TiXmlElement* syncDirections = TiXmlHandleConst(xmlSyncCfg).FirstChild("CustomDirections").ToElement(); - - //read sync configuration - readXmlElementLogging("Variant", xmlSyncCfg, mainCfg.syncConfiguration.var); - - readXmlElementLogging("LeftOnly", syncDirections, mainCfg.syncConfiguration.custom.exLeftSideOnly); - readXmlElementLogging("RightOnly", syncDirections, mainCfg.syncConfiguration.custom.exRightSideOnly); - readXmlElementLogging("LeftNewer", syncDirections, mainCfg.syncConfiguration.custom.leftNewer); - readXmlElementLogging("RightNewer", syncDirections, mainCfg.syncConfiguration.custom.rightNewer); - readXmlElementLogging("Different", syncDirections, mainCfg.syncConfiguration.custom.different); - readXmlElementLogging("Conflict", syncDirections, mainCfg.syncConfiguration.custom.conflict); - - //########################################################### - //misc - readXmlElementLogging("DeletionPolicy", xmlSyncCfg, mainCfg.handleDeletion); - readXmlElementLogging("CustomDeletionFolder", xmlSyncCfg, mainCfg.customDeletionDirectory); - //########################################################### - const TiXmlElement* filter = TiXmlHandleConst(xmlMainConfig).FirstChild("GlobalFilter").ToElement(); + using namespace xmlAccess; - //read filter settings - if (filter) - readFilter(*filter, mainCfg.globalFilter); - else - logError("GlobalFilter"); + assert(!filenames.empty()); + if (filenames.empty()) + return; - //########################################################### - const TiXmlElement* pairs = hRoot.FirstChild("MainConfig").FirstChild("FolderPairs").FirstChild("Pair").ToElement(); + std::vector<zen::MainConfiguration> mainCfgs; + std::unique_ptr<FfsXmlError> savedException; - //read all folder pairs - mainCfg.additionalPairs.clear(); - bool firstLoop = true; - while (pairs) + for (std::vector<wxString>::const_iterator i = filenames.begin(); i != filenames.end(); ++i) { - FolderPairEnh newPair; - readConfig(*pairs, newPair); - - if (firstLoop) //read first folder pair + switch (getXmlType(*i)) { - firstLoop = false; - mainCfg.firstPair = newPair; - } - else //read additional folder pairs - mainCfg.additionalPairs.push_back(newPair); + case XML_TYPE_GUI: + mainCfgs.push_back(loadCfgImpl<XmlGuiConfig>(*i, savedException).mainCfg); //throw (xmlAccess::FfsXmlError) + break; + + case XML_TYPE_BATCH: + mainCfgs.push_back(loadCfgImpl<XmlBatchConfig>(*i, savedException).mainCfg); //throw (xmlAccess::FfsXmlError) + break; - pairs = pairs->NextSiblingElement(); + case XML_TYPE_GLOBAL: + case XML_TYPE_OTHER: + break; + } } -} + if (mainCfgs.empty()) + throw FfsXmlError(_("Invalid FreeFileSync config file!")); -void FfsXmlErrorLogger::readConfig(const TiXmlElement* root, xmlAccess::XmlGuiConfig& outputCfg) -{ - //read main config - readConfig(root, outputCfg.mainCfg); + try //...to init all non-"mainCfg" settings with first config file + { + xmlAccess::readConfig(filenames[0], config); //throw (xmlAccess::FfsXmlError); + } + catch (...) {} - //read GUI specific config data - const TiXmlElement* guiConfig = TiXmlHandleConst(root).FirstChild("GuiConfig").ToElement(); + config.mainCfg = merge(mainCfgs); - readXmlElementLogging("HideFiltered", guiConfig, outputCfg.hideFilteredElements); - readXmlElementLogging("HandleError", guiConfig, outputCfg.handleError); - readXmlElementLogging("SyncPreviewActive", guiConfig, outputCfg.syncPreviewEnabled); + if (savedException.get()) //"re-throw" exception + throw* savedException; +} } -void FfsXmlErrorLogger::readConfig(const TiXmlElement* root, xmlAccess::XmlBatchConfig& outputCfg) +void xmlAccess::convertConfig(const std::vector<wxString>& filenames, XmlGuiConfig& config) //throw (xmlAccess::FfsXmlError) { - //read main config - readConfig(root, outputCfg.mainCfg); - - //read batch specific config - const TiXmlElement* batchConfig = TiXmlHandleConst(root).FirstChild("BatchConfig").ToElement(); - - readXmlElementLogging("Silent", batchConfig, outputCfg.silent); - readXmlElementLogging("LogfileDirectory", batchConfig, outputCfg.logFileDirectory); - readXmlElementLogging("LogfileCountMax", batchConfig, outputCfg.logFileCountMax); - readXmlElementLogging("HandleError", batchConfig, outputCfg.handleError); + mergeConfigFilesImpl(filenames, config); //throw (xmlAccess::FfsXmlError) } -void FfsXmlErrorLogger::readConfig(const TiXmlElement* root, xmlAccess::XmlGlobalSettings& outputCfg) +void xmlAccess::convertConfig(const std::vector<wxString>& filenames, XmlBatchConfig& config) //throw (xmlAccess::FfsXmlError); { - //read global settings - const TiXmlElement* global = TiXmlHandleConst(root).FirstChild("Shared").ToElement(); - - //try to read program language setting - readXmlElementLogging("Language", global, outputCfg.programLanguage); - - //copy locked files using VSS - readXmlElementLogging("CopyLockedFiles", global, outputCfg.copyLockedFiles); - - //file permissions - readXmlElementLogging("CopyFilePermissions", global, outputCfg.copyFilePermissions); - - //verify file copying - readXmlElementLogging("VerifyCopiedFiles", global, outputCfg.verifyFileCopy); - - //max. allowed file time deviation - readXmlElementLogging("FileTimeTolerance", global, outputCfg.fileTimeTolerance); - - - const TiXmlElement* optionalDialogs = TiXmlHandleConst(root).FirstChild("Shared").FirstChild("ShowOptionalDialogs").ToElement(); - - //folder dependency check - readXmlElementLogging("CheckForDependentFolders", optionalDialogs, outputCfg.optDialogs.warningDependentFolders); - - //check for multi write access for directory as part of multiple pairs - readXmlElementLogging("CheckForMultipleWriteAccess", optionalDialogs, outputCfg.optDialogs.warningMultiFolderWriteAccess); - - //significant difference check - readXmlElementLogging("CheckForSignificantDifference", optionalDialogs, outputCfg.optDialogs.warningSignificantDifference); - //check free disk space - readXmlElementLogging("CheckForFreeDiskSpace", optionalDialogs, outputCfg.optDialogs.warningNotEnoughDiskSpace); - //check for unresolved conflicts - readXmlElementLogging("CheckForUnresolvedConflicts", optionalDialogs, outputCfg.optDialogs.warningUnresolvedConflicts); - - readXmlElementLogging("NotifyDatabaseError", optionalDialogs, outputCfg.optDialogs.warningSyncDatabase); - - readXmlElementLogging("PopupOnConfigChange", optionalDialogs, outputCfg.optDialogs.popupOnConfigChange); - - readXmlElementLogging("SummaryBeforeSync", optionalDialogs, outputCfg.optDialogs.showSummaryBeforeSync); - - - //gui specific global settings (optional) - const TiXmlElement* gui = TiXmlHandleConst(root).FirstChild("Gui").ToElement(); - const TiXmlElement* mainWindow = TiXmlHandleConst(gui).FirstChild("Windows").FirstChild("Main").ToElement(); - - //read application window size and position - readXmlElementLogging("Width", mainWindow, outputCfg.gui.widthNotMaximized); - readXmlElementLogging("Height", mainWindow, outputCfg.gui.heightNotMaximized); - readXmlElementLogging("PosX", mainWindow, outputCfg.gui.posXNotMaximized); - readXmlElementLogging("PosY", mainWindow, outputCfg.gui.posYNotMaximized); - readXmlElementLogging("Maximized", mainWindow, outputCfg.gui.isMaximized); - - readXmlElementLogging("ManualDeletionOnBothSides", mainWindow, outputCfg.gui.deleteOnBothSides); - readXmlElementLogging("ManualDeletionUseRecycler", mainWindow, outputCfg.gui.useRecyclerForManualDeletion); - - readXmlElementLogging("RespectCaseOnSearch", mainWindow, outputCfg.gui.textSearchRespectCase); - - size_t folderPairMax = 0; - readXmlElementLogging("FolderPairsMax", mainWindow, folderPairMax); - if (folderPairMax != 0) //if reading fails, leave at default - outputCfg.gui.addFolderPairCountMax = std::max(static_cast<size_t>(2), folderPairMax) - 1; //map folderPairMax to additionalFolderPairMax - - //########################################################### - //read column attributes - readXmlAttributeLogging("AutoAdjust", TiXmlHandleConst(mainWindow).FirstChild("LeftColumns").ToElement(), outputCfg.gui.autoAdjustColumnsLeft); - readXmlAttributeLogging("ShowFileIcons", TiXmlHandleConst(mainWindow).FirstChild("LeftColumns").ToElement(), outputCfg.gui.showFileIconsLeft); - - const TiXmlElement* leftColumn = TiXmlHandleConst(mainWindow).FirstChild("LeftColumns").FirstChild("Column").ToElement(); - size_t colPos = 0; - while (leftColumn) - { - ColumnAttrib newAttrib; - newAttrib.position = colPos++; - readXmlAttributeLogging("Type", leftColumn, newAttrib.type); - readXmlAttributeLogging("Visible", leftColumn, newAttrib.visible); - readXmlAttributeLogging("Width", leftColumn, newAttrib.width); - outputCfg.gui.columnAttribLeft.push_back(newAttrib); - - leftColumn = leftColumn->NextSiblingElement(); - } - - readXmlAttributeLogging("AutoAdjust", TiXmlHandleConst(mainWindow).FirstChild("RightColumns").ToElement(), outputCfg.gui.autoAdjustColumnsRight); - readXmlAttributeLogging("ShowFileIcons", TiXmlHandleConst(mainWindow).FirstChild("RightColumns").ToElement(), outputCfg.gui.showFileIconsRight); - - const TiXmlElement* rightColumn = TiXmlHandleConst(mainWindow).FirstChild("RightColumns").FirstChild("Column").ToElement(); - colPos = 0; - while (rightColumn) - { - ColumnAttrib newAttrib; - newAttrib.position = colPos++; - readXmlAttributeLogging("Type", rightColumn, newAttrib.type); - readXmlAttributeLogging("Visible", rightColumn, newAttrib.visible); - readXmlAttributeLogging("Width", rightColumn, newAttrib.width); - outputCfg.gui.columnAttribRight.push_back(newAttrib); - - rightColumn = rightColumn->NextSiblingElement(); - } - - readXmlElementLogging("FolderHistoryLeft", mainWindow, outputCfg.gui.folderHistoryLeft); - readXmlElementLogging("FolderHistoryRight", mainWindow, outputCfg.gui.folderHistoryRight); - readXmlElementLogging("MaximumHistorySize", mainWindow, outputCfg.gui.folderHistMax); - - readXmlElementLogging("Perspective", mainWindow, outputCfg.gui.guiPerspectiveLast); - - //external applications - const TiXmlElement* extApps = TiXmlHandleConst(gui).FirstChild("ExternalApplications").FirstChild("Commandline").ToElement(); - if (extApps) - { - outputCfg.gui.externelApplications.clear(); - while (extApps) - { - wxString description; - wxString cmdLine; - - readXmlAttributeLogging("Description", extApps, description); - const char* text = extApps->GetText(); - if (text) cmdLine = wxString::FromUTF8(text); //read commandline - outputCfg.gui.externelApplications.push_back(std::make_pair(description, cmdLine)); - - extApps = extApps->NextSiblingElement(); - } - } - //load config file history - const TiXmlElement* cfgHistory = TiXmlHandleConst(gui).FirstChild("ConfigHistory").ToElement(); - - //load config history elements - readXmlAttributeLogging("LastUsed", cfgHistory, outputCfg.gui.lastUsedConfigFile); - readXmlElementLogging("File", cfgHistory, outputCfg.gui.cfgFileHistory); - - //last update check - readXmlElementLogging("LastUpdateCheck", gui, outputCfg.gui.lastUpdateCheck); - - - //batch specific global settings - //const TiXmlElement* batch = TiXmlHandleConst(root).FirstChild("Batch").ToElement(); + mergeConfigFilesImpl(filenames, config); //throw (xmlAccess::FfsXmlError) } -void addXmlElement(const std::string& name, const CompareVariant variant, TiXmlElement* parent) +namespace zen +{ +template <> inline +void writeText(const CompareVariant& value, std::string& output) { - switch (variant) + switch (value) { case zen::CMP_BY_TIME_SIZE: - xmlAccess::addXmlElement(name, std::string("ByTimeAndSize"), parent); + output = "ByTimeAndSize"; break; case zen::CMP_BY_CONTENT: - xmlAccess::addXmlElement(name, std::string("ByContent"), parent); + output = "ByContent"; break; } } +template <> inline +bool readText(const std::string& input, CompareVariant& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "ByTimeAndSize") + value = zen::CMP_BY_TIME_SIZE; + else if (tmp == "ByContent") + value = zen::CMP_BY_CONTENT; + else + return false; + return true; +} -void addXmlElement(const std::string& name, const SyncDirection value, TiXmlElement* parent) + +template <> inline +void writeText(const SyncDirection& value, std::string& output) { switch (value) { case SYNC_DIR_LEFT: - xmlAccess::addXmlElement(name, std::string("left"), parent); + output = "left"; break; case SYNC_DIR_RIGHT: - xmlAccess::addXmlElement(name, std::string("right"), parent); + output = "right"; break; case SYNC_DIR_NONE: - xmlAccess::addXmlElement(name, std::string("none"), parent); + output = "none"; break; } } +template <> inline +bool readText(const std::string& input, SyncDirection& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "left") + value = SYNC_DIR_LEFT; + else if (tmp == "right") + value = SYNC_DIR_RIGHT; + else if (tmp == "none") + value = SYNC_DIR_NONE; + else + return false; + return true; +} + -void addXmlElement(const std::string& name, const xmlAccess::OnError value, TiXmlElement* parent) +template <> inline +void writeText(const OnError& value, std::string& output) { switch (value) { - case xmlAccess::ON_ERROR_IGNORE: - xmlAccess::addXmlElement(name, std::string("Ignore"), parent); + case ON_ERROR_IGNORE: + output = "Ignore"; break; - case xmlAccess::ON_ERROR_EXIT: - xmlAccess::addXmlElement(name, std::string("Exit"), parent); + case ON_ERROR_EXIT: + output = "Exit"; break; - case xmlAccess::ON_ERROR_POPUP: - xmlAccess::addXmlElement(name, std::string("Popup"), parent); + case ON_ERROR_POPUP: + output = "Popup"; break; } } +template <> inline +bool readText(const std::string& input, OnError& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Ignore") + value = ON_ERROR_IGNORE; + else if (tmp == "Exit") + value = ON_ERROR_EXIT; + else if (tmp == "Popup") + value = ON_ERROR_POPUP; + else + return false; + return true; +} + -void addXmlElement(const std::string& name, const OnGuiError value, TiXmlElement* parent) +template <> inline +void writeText(const OnGuiError& value, std::string& output) { switch (value) { case ON_GUIERROR_IGNORE: - xmlAccess::addXmlElement(name, std::string("Ignore"), parent); + output = "Ignore"; break; case ON_GUIERROR_POPUP: - xmlAccess::addXmlElement(name, std::string("Popup"), parent); + output = "Popup"; break; } } +template <> inline +bool readText(const std::string& input, OnGuiError& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Ignore") + value = ON_GUIERROR_IGNORE; + else if (tmp == "Popup") + value = ON_GUIERROR_POPUP; + else + return false; + return true; +} -void addXmlElement(const std::string& name, const zen::DeletionPolicy value, TiXmlElement* parent) + +template <> inline +void writeText(const DeletionPolicy& value, std::string& output) { switch (value) { - case zen::DELETE_PERMANENTLY: - xmlAccess::addXmlElement(name, std::string("DeletePermanently"), parent); + case DELETE_PERMANENTLY: + output = "DeletePermanently"; break; - case zen::MOVE_TO_RECYCLE_BIN: - xmlAccess::addXmlElement(name, std::string("MoveToRecycleBin"), parent); + case MOVE_TO_RECYCLE_BIN: + output = "MoveToRecycleBin"; break; - case zen::MOVE_TO_CUSTOM_DIRECTORY: - xmlAccess::addXmlElement(name, std::string("MoveToCustomDirectory"), parent); + case MOVE_TO_CUSTOM_DIRECTORY: + output = "MoveToCustomDirectory"; break; } } +template <> inline +bool readText(const std::string& input, DeletionPolicy& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "DeletePermanently") + value = DELETE_PERMANENTLY; + else if (tmp == "MoveToRecycleBin") + value = MOVE_TO_RECYCLE_BIN; + else if (tmp == "MoveToCustomDirectory") + value = MOVE_TO_CUSTOM_DIRECTORY; + else + return false; + return true; +} + -void addXmlElement(const std::string& name, const zen::SymLinkHandling value, TiXmlElement* parent) +template <> inline +void writeText(const SymLinkHandling& value, std::string& output) { switch (value) { - case zen::SYMLINK_IGNORE: - xmlAccess::addXmlElement(name, std::string("Ignore"), parent); + case SYMLINK_IGNORE: + output = "Ignore"; break; - case zen::SYMLINK_USE_DIRECTLY: - xmlAccess::addXmlElement(name, std::string("UseDirectly"), parent); + case SYMLINK_USE_DIRECTLY: + output = "UseDirectly"; break; - case zen::SYMLINK_FOLLOW_LINK: - xmlAccess::addXmlElement(name, std::string("FollowLink"), parent); + case SYMLINK_FOLLOW_LINK: + output = "FollowLink"; break; } } +template <> inline +bool readText(const std::string& input, SymLinkHandling& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Ignore") + value = SYMLINK_IGNORE; + else if (tmp == "UseDirectly") + value = SYMLINK_USE_DIRECTLY; + else if (tmp == "FollowLink") + value = SYMLINK_FOLLOW_LINK; + else + return false; + return true; +} + -void addXmlElement(const std::string& name, const zen::UnitTime value, TiXmlElement* parent) +template <> inline +void writeText(const UnitTime& value, std::string& output) { switch (value) { - case zen::UTIME_NONE: - xmlAccess::addXmlElement(name, std::string("Inactive"), parent); + case UTIME_NONE: + output = "Inactive"; break; - case zen::UTIME_SEC: - xmlAccess::addXmlElement(name, std::string("Second"), parent); + case UTIME_SEC: + output = "Second"; break; - case zen::UTIME_MIN: - xmlAccess::addXmlElement(name, std::string("Minute"), parent); + case UTIME_MIN: + output = "Minute"; break; - case zen::UTIME_HOUR: - xmlAccess::addXmlElement(name, std::string("Hour"), parent); + case UTIME_HOUR: + output = "Hour"; break; - case zen::UTIME_DAY: - xmlAccess::addXmlElement(name, std::string("Day"), parent); + case UTIME_DAY: + output = "Day"; break; } } +template <> inline +bool readText(const std::string& input, UnitTime& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Inactive") + value = UTIME_NONE; + else if (tmp == "Second") + value = UTIME_SEC; + else if (tmp == "Minute") + value = UTIME_MIN; + else if (tmp == "Hour") + value = UTIME_HOUR; + else if (tmp == "Day") + value = UTIME_DAY; + else + return false; + return true; +} + + +template <> inline +void writeText(const ColumnTypes& value, std::string& output) +{ + output = toString<std::string>(value); +} -void addXmlElement(const std::string& name, zen::UnitSize value, TiXmlElement* parent) +template <> inline +bool readText(const std::string& input, ColumnTypes& value) +{ + value = static_cast<ColumnTypes>(toNumber<int>(input)); + return true; +} + + +template <> inline +void writeText(const UnitSize& value, std::string& output) { switch (value) { - case zen::USIZE_NONE: - xmlAccess::addXmlElement(name, std::string("Inactive"), parent); + case USIZE_NONE: + output = "Inactive"; break; - case zen::USIZE_BYTE: - xmlAccess::addXmlElement(name, std::string("Byte"), parent); + case USIZE_BYTE: + output = "Byte"; break; - case zen::USIZE_KB: - xmlAccess::addXmlElement(name, std::string("KB"), parent); + case USIZE_KB: + output = "KB"; break; - case zen::USIZE_MB: - xmlAccess::addXmlElement(name, std::string("MB"), parent); + case USIZE_MB: + output = "MB"; break; } } +template <> inline +bool readText(const std::string& input, UnitSize& value) +{ + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Inactive") + value = USIZE_NONE; + else if (tmp == "Byte") + value = USIZE_BYTE; + else if (tmp == "KB") + value = USIZE_KB; + else if (tmp == "MB") + value = USIZE_MB; + else + return false; + return true; +} + -void addXmlElement(const std::string& name, SyncConfig::Variant value, TiXmlElement* parent) +template <> inline +void writeText(const SyncConfig::Variant& value, std::string& output) { switch (value) { case SyncConfig::AUTOMATIC: - xmlAccess::addXmlElement(name, std::string("Automatic"), parent); + output = "Automatic"; break; case SyncConfig::MIRROR: - xmlAccess::addXmlElement(name, std::string("Mirror"), parent); + output = "Mirror"; break; case SyncConfig::UPDATE: - xmlAccess::addXmlElement(name, std::string("Update"), parent); + output = "Update"; break; case SyncConfig::CUSTOM: - xmlAccess::addXmlElement(name, std::string("Custom"), parent); + output = "Custom"; break; } } - -void addXmlElement(const std::string& name, const Zstring& value, TiXmlElement* parent) +template <> inline +bool readText(const std::string& input, SyncConfig::Variant& value) { - xmlAccess::addXmlElement(name, wxString(zToWx(value)), parent); + std::string tmp = input; + zen::trim(tmp); + if (tmp == "Automatic") + value = SyncConfig::AUTOMATIC; + else if (tmp == "Mirror") + value = SyncConfig::MIRROR; + else if (tmp == "Update") + value = SyncConfig::UPDATE; + else if (tmp == "Custom") + value = SyncConfig::CUSTOM; + else + return false; + return true; } -void addXmlAttribute(const std::string& name, const xmlAccess::ColumnTypes value, TiXmlElement* node) +template <> inline +bool readValue(const XmlElement& input, ColumnAttrib& value) { - xmlAccess::addXmlAttribute(name, static_cast<int>(value), node); + XmlIn in(input); + bool rv1 = in.attribute("Type", value.type); + bool rv2 = in.attribute("Visible", value.visible); + bool rv3 = in.attribute("Width", value.width); + value.position = 0; + return rv1 && rv2 && rv3; } - -void writeFilter(const FilterConfig& input, TiXmlElement& parent) +template <> inline +void writeValue(const ColumnAttrib& value, XmlElement& output) { - addXmlElement("Include", input.includeFilter, &parent); - addXmlElement("Exclude", input.excludeFilter, &parent); - - addXmlElement("TimeSpan", input.timeSpan, &parent); - addXmlElement("UnitTimeSpan", input.unitTimeSpan, &parent); + XmlOut out(output); + out.attribute("Type", value.type); + out.attribute("Visible", value.visible); + out.attribute("Width", value.width); +} +} - addXmlElement("SizeMin", input.sizeMin, &parent); - addXmlElement("UnitSizeMin", input.unitSizeMin, &parent); - addXmlElement("SizeMax", input.sizeMax, &parent); - addXmlElement("UnitSizeMax", input.unitSizeMax, &parent); +namespace +{ +void readConfig(const XmlIn& in, SyncConfig& syncCfg) +{ + in["Variant"](syncCfg.var); + + XmlIn inCustDir = in["CustomDirections"]; + inCustDir["LeftOnly" ](syncCfg.custom.exLeftSideOnly); + inCustDir["RightOnly" ](syncCfg.custom.exRightSideOnly); + inCustDir["LeftNewer" ](syncCfg.custom.leftNewer); + inCustDir["RightNewer"](syncCfg.custom.rightNewer); + inCustDir["Different" ](syncCfg.custom.different); + inCustDir["Conflict" ](syncCfg.custom.conflict); } -void writeXmlLocalConfig(const FolderPairEnh& enhPair, TiXmlElement& parent) +void readConfig(const XmlIn& in, FilterConfig& filter) { - //write folder pairs - TiXmlElement* newfolderPair = new TiXmlElement("Pair"); - parent.LinkEndChild(newfolderPair); + in["Include"](filter.includeFilter); + in["Exclude"](filter.excludeFilter); - addXmlElement("Left", enhPair.leftDirectory, newfolderPair); - addXmlElement("Right", enhPair.rightDirectory, newfolderPair); + in["TimeSpan" ](filter.timeSpan); + in["UnitTimeSpan"](filter.unitTimeSpan); + in["SizeMin" ](filter.sizeMin); + in["UnitSizeMin"](filter.unitSizeMin); - //alternate sync configuration - const AlternateSyncConfig* altSyncConfig = enhPair.altSyncConfig.get(); - if (altSyncConfig) - { - TiXmlElement* xmlAltSyncCfg = new TiXmlElement("AlternateSyncConfig"); - newfolderPair->LinkEndChild(xmlAltSyncCfg); + in["SizeMax" ](filter.sizeMax); + in["UnitSizeMax"](filter.unitSizeMax); +} - //write sync configuration - addXmlElement("Variant", altSyncConfig->syncConfiguration.var, xmlAltSyncCfg); - TiXmlElement* syncDirections = new TiXmlElement("CustomDirections"); - xmlAltSyncCfg->LinkEndChild(syncDirections); +void readConfig(const XmlIn& in, FolderPairEnh& enhPair) +{ + //read folder pairs + in["Left" ](enhPair.leftDirectory); + in["Right"](enhPair.rightDirectory); - addXmlElement("LeftOnly", altSyncConfig->syncConfiguration.custom.exLeftSideOnly, syncDirections); - addXmlElement("RightOnly", altSyncConfig->syncConfiguration.custom.exRightSideOnly, syncDirections); - addXmlElement("LeftNewer", altSyncConfig->syncConfiguration.custom.leftNewer, syncDirections); - addXmlElement("RightNewer", altSyncConfig->syncConfiguration.custom.rightNewer, syncDirections); - addXmlElement("Different", altSyncConfig->syncConfiguration.custom.different, syncDirections); - addXmlElement("Conflict", altSyncConfig->syncConfiguration.custom.conflict, syncDirections); + //########################################################### + //alternate sync configuration (optional) + XmlIn inAlt = in["AlternateSyncConfig"]; + if (inAlt) + { + std::shared_ptr<AlternateSyncConfig> altSyncCfg = std::make_shared<AlternateSyncConfig>(); + enhPair.altSyncConfig = altSyncCfg; + + //read sync configuration + readConfig(inAlt, altSyncCfg->syncConfiguration); - //misc - addXmlElement("DeletionPolicy", altSyncConfig->handleDeletion, xmlAltSyncCfg); - addXmlElement("CustomDeletionFolder", altSyncConfig->customDeletionDirectory, xmlAltSyncCfg); + inAlt["DeletionPolicy" ](altSyncCfg->handleDeletion); + inAlt["CustomDeletionFolder"](altSyncCfg->customDeletionDirectory); } //########################################################### //alternate filter configuration - TiXmlElement* filterCfg = new TiXmlElement("LocalFilter"); - newfolderPair->LinkEndChild(filterCfg); - - //write filter settings - writeFilter(enhPair.localFilter, *filterCfg); + readConfig(in["LocalFilter"], enhPair.localFilter); } -void writeConfig(const MainConfiguration& mainCfg, TiXmlElement& root) +void readConfig(const XmlIn& in, MainConfiguration& mainCfg) { - TiXmlElement* xmlMainCfg = new TiXmlElement("MainConfig"); - root.LinkEndChild(xmlMainCfg); - - //########################################################### - TiXmlElement* cmpSettings = new TiXmlElement("Comparison"); - xmlMainCfg->LinkEndChild(cmpSettings); + XmlIn inCmp = in["MainConfig"]["Comparison"]; - //write compare algorithm - addXmlElement("Variant", mainCfg.compareVar, cmpSettings); + //read compare variant + inCmp["Variant"](mainCfg.compareVar); //include symbolic links at all? - addXmlElement("HandleSymlinks", mainCfg.handleSymlinks, cmpSettings); + inCmp["HandleSymlinks"](mainCfg.handleSymlinks); //########################################################### - TiXmlElement* xmlSyncCfg = new TiXmlElement("SyncConfig"); - xmlMainCfg->LinkEndChild(xmlSyncCfg); - - //write sync configuration - addXmlElement("Variant", mainCfg.syncConfiguration.var, xmlSyncCfg); - - TiXmlElement* syncDirections = new TiXmlElement("CustomDirections"); - xmlSyncCfg->LinkEndChild(syncDirections); - - addXmlElement("LeftOnly", mainCfg.syncConfiguration.custom.exLeftSideOnly, syncDirections); - addXmlElement("RightOnly", mainCfg.syncConfiguration.custom.exRightSideOnly, syncDirections); - addXmlElement("LeftNewer", mainCfg.syncConfiguration.custom.leftNewer, syncDirections); - addXmlElement("RightNewer", mainCfg.syncConfiguration.custom.rightNewer, syncDirections); - addXmlElement("Different", mainCfg.syncConfiguration.custom.different, syncDirections); - addXmlElement("Conflict", mainCfg.syncConfiguration.custom.conflict, syncDirections); + XmlIn inSync = in["MainConfig"]["SyncConfig"]; + //read sync configuration + readConfig(inSync, mainCfg.syncConfiguration); //########################################################### - //write filter settings - TiXmlElement* filter = new TiXmlElement("GlobalFilter"); - xmlMainCfg->LinkEndChild(filter); - writeFilter(mainCfg.globalFilter, *filter); + //misc + inSync["DeletionPolicy" ](mainCfg.handleDeletion); + inSync["CustomDeletionFolder"](mainCfg.customDeletionDirectory); + //########################################################### - //other - addXmlElement("DeletionPolicy", mainCfg.handleDeletion, xmlSyncCfg); - addXmlElement("CustomDeletionFolder", mainCfg.customDeletionDirectory, xmlSyncCfg); + XmlIn inFilter = in["MainConfig"]["GlobalFilter"]; + //read filter settings + readConfig(inFilter, mainCfg.globalFilter); //########################################################### - TiXmlElement* pairs = new TiXmlElement("FolderPairs"); - xmlMainCfg->LinkEndChild(pairs); + //read all folder pairs + mainCfg.additionalPairs.clear(); - //write first folder pair - writeXmlLocalConfig(mainCfg.firstPair, *pairs); + bool firstIter = true; + for (XmlIn inPair = in["MainConfig"]["FolderPairs"]["Pair"]; inPair; inPair.next()) + { + FolderPairEnh newPair; + readConfig(inPair, newPair); - //write additional folder pairs - for (std::vector<FolderPairEnh>::const_iterator i = mainCfg.additionalPairs.begin(); i != mainCfg.additionalPairs.end(); ++i) - writeXmlLocalConfig(*i, *pairs); + if (firstIter) + { + firstIter = false; + mainCfg.firstPair = newPair; //set first folder pair + } + else + mainCfg.additionalPairs.push_back(newPair); //set additional folder pairs + } } -void writeConfig(const xmlAccess::XmlGuiConfig& inputCfg, TiXmlElement& root) +void readConfig(const XmlIn& in, xmlAccess::XmlGuiConfig& config) { - //write main config - writeConfig(inputCfg.mainCfg, root); + ::readConfig(in, config.mainCfg); //read main config - //write GUI specific config - TiXmlElement* guiConfig = new TiXmlElement("GuiConfig"); - root.LinkEndChild(guiConfig); + //read GUI specific config data + XmlIn inGuiCfg = in["GuiConfig"]; - addXmlElement("HideFiltered", inputCfg.hideFilteredElements, guiConfig); - addXmlElement("HandleError", inputCfg.handleError, guiConfig); - addXmlElement("SyncPreviewActive", inputCfg.syncPreviewEnabled, guiConfig); + inGuiCfg["HideFiltered" ](config.hideFilteredElements); + inGuiCfg["HandleError" ](config.handleError); + inGuiCfg["SyncPreviewActive"](config.syncPreviewEnabled); } -void writeConfig(const xmlAccess::XmlBatchConfig& inputCfg, TiXmlElement& root) +void readConfig(const XmlIn& in, xmlAccess::XmlBatchConfig& config) { - //write main config - writeConfig(inputCfg.mainCfg, root); + ::readConfig(in, config.mainCfg); //read main config - //write GUI specific config - TiXmlElement* batchConfig = new TiXmlElement("BatchConfig"); - root.LinkEndChild(batchConfig); + //read GUI specific config data + XmlIn inBatchCfg = in["BatchConfig"]; - addXmlElement("Silent", inputCfg.silent, batchConfig); - addXmlElement("LogfileDirectory", inputCfg.logFileDirectory, batchConfig); - addXmlElement("LogfileCountMax", inputCfg.logFileCountMax, batchConfig); - addXmlElement("HandleError", inputCfg.handleError, batchConfig); + inBatchCfg["Silent" ](config.silent); + inBatchCfg["LogfileDirectory"](config.logFileDirectory); + inBatchCfg["LogfileCountMax" ](config.logFileCountMax); + inBatchCfg["HandleError" ](config.handleError); } -void writeConfig(const xmlAccess::XmlGlobalSettings& inputCfg, TiXmlElement& root) +void readConfig(const XmlIn& in, XmlGlobalSettings& config) { - //write global settings - TiXmlElement* global = new TiXmlElement("Shared"); - root.LinkEndChild(global); + XmlIn inShared = in["Shared"]; - //program language - addXmlElement("Language", inputCfg.programLanguage, global); + //try to read program language setting + inShared["Language"](config.programLanguage); //copy locked files using VSS - addXmlElement("CopyLockedFiles", inputCfg.copyLockedFiles, global); + inShared["CopyLockedFiles"](config.copyLockedFiles); //file permissions - addXmlElement("CopyFilePermissions", inputCfg.copyFilePermissions, global); + inShared["CopyFilePermissions"](config.copyFilePermissions); //verify file copying - addXmlElement("VerifyCopiedFiles", inputCfg.verifyFileCopy, global); + inShared["VerifyCopiedFiles"](config.verifyFileCopy); //max. allowed file time deviation - addXmlElement("FileTimeTolerance", inputCfg.fileTimeTolerance, global); - - - //optional dialogs - TiXmlElement* optionalDialogs = new TiXmlElement("ShowOptionalDialogs"); - global->LinkEndChild(optionalDialogs); - - //warning: dependent folders - addXmlElement("CheckForDependentFolders", inputCfg.optDialogs.warningDependentFolders, optionalDialogs); - - //check for multi write access for directory as part of multiple pairs - addXmlElement("CheckForMultipleWriteAccess", inputCfg.optDialogs.warningMultiFolderWriteAccess, optionalDialogs); - - //significant difference check - addXmlElement("CheckForSignificantDifference", inputCfg.optDialogs.warningSignificantDifference, optionalDialogs); - - //check free disk space - addXmlElement("CheckForFreeDiskSpace", inputCfg.optDialogs.warningNotEnoughDiskSpace, optionalDialogs); - - //check for unresolved conflicts - addXmlElement("CheckForUnresolvedConflicts", inputCfg.optDialogs.warningUnresolvedConflicts, optionalDialogs); - - addXmlElement("NotifyDatabaseError", inputCfg.optDialogs.warningSyncDatabase, optionalDialogs); - - addXmlElement("PopupOnConfigChange", inputCfg.optDialogs.popupOnConfigChange, optionalDialogs); - - addXmlElement("SummaryBeforeSync", inputCfg.optDialogs.showSummaryBeforeSync, optionalDialogs); - - - //################################################################### - //write global gui settings - TiXmlElement* gui = new TiXmlElement("Gui"); - root.LinkEndChild(gui); - - TiXmlElement* windows = new TiXmlElement("Windows"); - gui->LinkEndChild(windows); + inShared["FileTimeTolerance"](config.fileTimeTolerance); + + XmlIn inOpt = inShared["ShowOptionalDialogs"]; + inOpt["CheckForDependentFolders" ](config.optDialogs.warningDependentFolders); + inOpt["CheckForMultipleWriteAccess" ](config.optDialogs.warningMultiFolderWriteAccess); + inOpt["CheckForSignificantDifference"](config.optDialogs.warningSignificantDifference); + inOpt["CheckForFreeDiskSpace"](config.optDialogs.warningNotEnoughDiskSpace); + inOpt["CheckForUnresolvedConflicts"](config.optDialogs.warningUnresolvedConflicts); + inOpt["NotifyDatabaseError"](config.optDialogs.warningSyncDatabase); + inOpt["PopupOnConfigChange"](config.optDialogs.popupOnConfigChange); + inOpt["SummaryBeforeSync" ](config.optDialogs.showSummaryBeforeSync); - TiXmlElement* mainWindow = new TiXmlElement("Main"); - windows->LinkEndChild(mainWindow); + //gui specific global settings (optional) + XmlIn inGui = in["Gui"]; + XmlIn inWnd = inGui["Windows"]["Main"]; - //window size - addXmlElement("Width", inputCfg.gui.widthNotMaximized, mainWindow); - addXmlElement("Height", inputCfg.gui.heightNotMaximized, mainWindow); + //read application window size and position + inWnd["Width" ](config.gui.dlgSize.x); + inWnd["Height" ](config.gui.dlgSize.y); + inWnd["PosX" ](config.gui.dlgPos.x); + inWnd["PosY" ](config.gui.dlgPos.y); + inWnd["Maximized"](config.gui.isMaximized); - //window position - addXmlElement("PosX", inputCfg.gui.posXNotMaximized, mainWindow); - addXmlElement("PosY", inputCfg.gui.posYNotMaximized, mainWindow); - addXmlElement("Maximized", inputCfg.gui.isMaximized, mainWindow); + inWnd["ManualDeletionOnBothSides"](config.gui.deleteOnBothSides); + inWnd["ManualDeletionUseRecycler"](config.gui.useRecyclerForManualDeletion); + inWnd["RespectCaseOnSearch" ](config.gui.textSearchRespectCase); - addXmlElement("ManualDeletionOnBothSides", inputCfg.gui.deleteOnBothSides, mainWindow); - addXmlElement("ManualDeletionUseRecycler", inputCfg.gui.useRecyclerForManualDeletion, mainWindow); + //########################################################### - addXmlElement("RespectCaseOnSearch", inputCfg.gui.textSearchRespectCase, mainWindow); + //read column attributes + XmlIn inColLeft = inWnd["LeftColumns"]; - addXmlElement("FolderPairsMax", inputCfg.gui.addFolderPairCountMax + 1 /*add main pair*/, mainWindow); + inColLeft.attribute("AutoAdjust", config.gui.autoAdjustColumnsLeft); + inColLeft.attribute("ShowFileIcons", config.gui.showFileIconsLeft); + inColLeft(config.gui.columnAttribLeft); + for (size_t i = 0; i < config.gui.columnAttribLeft.size(); ++i) + config.gui.columnAttribLeft[i].position = i; - //write column attributes - TiXmlElement* leftColumn = new TiXmlElement("LeftColumns"); - mainWindow->LinkEndChild(leftColumn); - - addXmlAttribute("AutoAdjust", inputCfg.gui.autoAdjustColumnsLeft, leftColumn); - addXmlAttribute("ShowFileIcons", inputCfg.gui.showFileIconsLeft, leftColumn); + //########################################################### + XmlIn inColRight = inWnd["RightColumns"]; - ColumnAttributes columnAtrribLeftCopy = inputCfg.gui.columnAttribLeft; //can't change const vector - sort(columnAtrribLeftCopy.begin(), columnAtrribLeftCopy.end(), xmlAccess::sortByPositionOnly); - for (size_t i = 0; i < columnAtrribLeftCopy.size(); ++i) - { - TiXmlElement* subElement = new TiXmlElement("Column"); - leftColumn->LinkEndChild(subElement); + inColRight.attribute("AutoAdjust", config.gui.autoAdjustColumnsRight); + inColRight.attribute("ShowFileIcons", config.gui.showFileIconsRight); - const ColumnAttrib& colAttrib = columnAtrribLeftCopy[i]; - addXmlAttribute("Type", colAttrib.type, subElement); - addXmlAttribute("Visible", colAttrib.visible, subElement); - addXmlAttribute("Width", colAttrib.width, subElement); - } + inColRight(config.gui.columnAttribRight); + for (size_t i = 0; i < config.gui.columnAttribRight.size(); ++i) + config.gui.columnAttribRight[i].position = i; - TiXmlElement* rightColumn = new TiXmlElement("RightColumns"); - mainWindow->LinkEndChild(rightColumn); + inWnd["FolderHistoryLeft" ](config.gui.folderHistoryLeft); + inWnd["FolderHistoryRight"](config.gui.folderHistoryRight); + inWnd["MaximumHistorySize"](config.gui.folderHistMax); + inWnd["Perspective" ](config.gui.guiPerspectiveLast); - addXmlAttribute("AutoAdjust", inputCfg.gui.autoAdjustColumnsRight, rightColumn); - addXmlAttribute("ShowFileIcons", inputCfg.gui.showFileIconsRight, rightColumn); + //external applications + inGui["ExternalApplications"](config.gui.externelApplications); - ColumnAttributes columnAtrribRightCopy = inputCfg.gui.columnAttribRight; - sort(columnAtrribRightCopy.begin(), columnAtrribRightCopy.end(), xmlAccess::sortByPositionOnly); - for (size_t i = 0; i < columnAtrribRightCopy.size(); ++i) - { - TiXmlElement* subElement = new TiXmlElement("Column"); - rightColumn->LinkEndChild(subElement); + //load config file history + XmlIn inHist = inGui["ConfigHistory"]; - const ColumnAttrib& colAttrib = columnAtrribRightCopy[i]; - addXmlAttribute("Type", colAttrib.type, subElement); - addXmlAttribute("Visible", colAttrib.visible, subElement); - addXmlAttribute("Width", colAttrib.width, subElement); - } + inHist.attribute("LastUsed", config.gui.lastUsedConfigFile); + inHist(config.gui.cfgFileHistory); - addXmlElement("FolderHistoryLeft", inputCfg.gui.folderHistoryLeft , mainWindow); - addXmlElement("FolderHistoryRight", inputCfg.gui.folderHistoryRight, mainWindow); - addXmlElement("MaximumHistorySize", inputCfg.gui.folderHistMax , mainWindow); + //last update check + inGui["LastUpdateCheck"](config.gui.lastUpdateCheck); - addXmlElement("Perspective", inputCfg.gui.guiPerspectiveLast, mainWindow); + //batch specific global settings + //XmlIn inBatch = in["Batch"]; +} - //external applications - TiXmlElement* extApp = new TiXmlElement("ExternalApplications"); - gui->LinkEndChild(extApp); - for (ExternalApps::const_iterator i = inputCfg.gui.externelApplications.begin(); i != inputCfg.gui.externelApplications.end(); ++i) - { - TiXmlElement* newEntry = new TiXmlElement("Commandline"); - extApp->LinkEndChild(newEntry); +template <class ConfigType> +void readConfig(const wxString& filename, XmlType type, ConfigType& config) +{ + if (!fileExists(wxToZ(filename))) + throw FfsXmlError(wxString(_("File does not exist:")) + wxT("\n\"") + filename + wxT("\"")); - addXmlAttribute("Description", i->first, newEntry); - newEntry->LinkEndChild(new TiXmlText(i->second.ToUTF8())); //commandline - } + XmlDoc doc; + loadXmlDocument(filename, doc); //throw (FfsXmlError) - //write config file history - TiXmlElement* cfgHistory = new TiXmlElement("ConfigHistory"); - gui->LinkEndChild(cfgHistory); + if (getXmlType(doc) != type) //throw() + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); - addXmlAttribute("LastUsed", inputCfg.gui.lastUsedConfigFile, cfgHistory); - addXmlElement("File", inputCfg.gui.cfgFileHistory, cfgHistory); + XmlIn in(doc); + ::readConfig(in, config); - //last update check - addXmlElement("LastUpdateCheck", inputCfg.gui.lastUpdateCheck, gui); + if (in.errorsOccured()) + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"\n\n") + + getErrorMessageFormatted(in), FfsXmlError::WARNING); +} +} - //################################################################### - //write global batch settings - TiXmlElement* batch = new TiXmlElement("Batch"); - root.LinkEndChild(batch); +void xmlAccess::readConfig(const wxString& filename, xmlAccess::XmlGuiConfig& config) +{ + ::readConfig(filename, XML_TYPE_GUI, config); } -wxString xmlAccess::getGlobalConfigFile() +void xmlAccess::readConfig(const wxString& filename, xmlAccess::XmlBatchConfig& config) { - return zen::getConfigDir() + wxT("GlobalSettings.xml"); + ::readConfig(filename, XML_TYPE_BATCH, config); } -void xmlAccess::OptionalDialogs::resetDialogs() +void xmlAccess::readConfig(xmlAccess::XmlGlobalSettings& config) { - warningDependentFolders = true; - warningMultiFolderWriteAccess = true; - warningSignificantDifference = true; - warningNotEnoughDiskSpace = true; - warningUnresolvedConflicts = true; - warningSyncDatabase = true; - popupOnConfigChange = true; - showSummaryBeforeSync = true; + ::readConfig(getGlobalConfigFile(), XML_TYPE_GLOBAL, config); } -xmlAccess::XmlGuiConfig xmlAccess::convertBatchToGui(const xmlAccess::XmlBatchConfig& batchCfg) +//################################################################################################ +namespace { - XmlGuiConfig output; - output.mainCfg = batchCfg.mainCfg; - return output; +void writeConfig(const SyncConfig& syncCfg, XmlOut& out) +{ + out["Variant"](syncCfg.var); + + XmlOut outCustDir = out["CustomDirections"]; + outCustDir["LeftOnly" ](syncCfg.custom.exLeftSideOnly); + outCustDir["RightOnly" ](syncCfg.custom.exRightSideOnly); + outCustDir["LeftNewer" ](syncCfg.custom.leftNewer); + outCustDir["RightNewer"](syncCfg.custom.rightNewer); + outCustDir["Different" ](syncCfg.custom.different); + outCustDir["Conflict" ](syncCfg.custom.conflict); } -xmlAccess::XmlBatchConfig xmlAccess::convertGuiToBatch(const xmlAccess::XmlGuiConfig& guiCfg) +void writeConfig(const FilterConfig& filter, XmlOut& out) { - XmlBatchConfig output; - output.mainCfg = guiCfg.mainCfg; + out["Include"](filter.includeFilter); + out["Exclude"](filter.excludeFilter); - switch (guiCfg.handleError) - { - case ON_GUIERROR_POPUP: - output.handleError = xmlAccess::ON_ERROR_POPUP; - break; - case ON_GUIERROR_IGNORE: - output.handleError = xmlAccess::ON_ERROR_IGNORE; - break; - } + out["TimeSpan" ](filter.timeSpan); + out["UnitTimeSpan"](filter.unitTimeSpan); - return output; + out["SizeMin" ](filter.sizeMin); + out["UnitSizeMin"](filter.unitSizeMin); + + out["SizeMax" ](filter.sizeMax); + out["UnitSizeMax"](filter.unitSizeMax); } -xmlAccess::MergeType xmlAccess::getMergeType(const std::vector<wxString>& filenames) //throw () +void writeConfigFolderPair(const FolderPairEnh& enhPair, XmlOut& out) { - bool guiCfgExists = false; - bool batchCfgExists = false; + XmlOut outPair = out.ref().addChild("Pair"); - for (std::vector<wxString>::const_iterator i = filenames.begin(); i != filenames.end(); ++i) + //read folder pairs + outPair["Left" ](enhPair.leftDirectory); + outPair["Right"](enhPair.rightDirectory); + + //########################################################### + //alternate sync configuration (optional) + if (enhPair.altSyncConfig.get()) { - switch (xmlAccess::getXmlType(*i)) //throw() - { - case XML_TYPE_GUI: - guiCfgExists = true; - break; + XmlOut outAlt = outPair["AlternateSyncConfig"]; - case XML_TYPE_BATCH: - batchCfgExists = true; - break; + //read sync configuration + writeConfig(enhPair.altSyncConfig->syncConfiguration, outAlt); - case XML_TYPE_GLOBAL: - case XML_TYPE_OTHER: - return MERGE_OTHER; - } + outAlt["DeletionPolicy" ](enhPair.altSyncConfig->handleDeletion); + outAlt["CustomDeletionFolder"](enhPair.altSyncConfig->customDeletionDirectory); } - if (guiCfgExists && batchCfgExists) - return MERGE_GUI_BATCH; - else if (guiCfgExists && !batchCfgExists) - return MERGE_GUI; - else if (!guiCfgExists && batchCfgExists) - return MERGE_BATCH; - else - return MERGE_OTHER; + //########################################################### + //alternate filter configuration + XmlOut outFilter = outPair["LocalFilter"]; + writeConfig(enhPair.localFilter, outFilter); } -namespace -{ -template <class XmlCfg> -XmlCfg loadCfgImpl(const wxString& filename, std::auto_ptr<xmlAccess::XmlError>& exeption) //throw (xmlAccess::XmlError) +void writeConfig(const MainConfiguration& mainCfg, XmlOut& out) { - XmlCfg cfg; - try - { - xmlAccess::readConfig(filename, cfg); //throw (xmlAccess::XmlError); - } - catch (const xmlAccess::XmlError& e) - { - if (e.getSeverity() == xmlAccess::XmlError::FATAL) - throw; - else - exeption.reset(new xmlAccess::XmlError(e)); - } - return cfg; -} + XmlOut outCmp = out["MainConfig"]["Comparison"]; + //write compare variant + outCmp["Variant"](mainCfg.compareVar); -template <class XmlCfg> -void mergeConfigFilesImpl(const std::vector<wxString>& filenames, XmlCfg& config) //throw (xmlAccess::XmlError) -{ - using namespace xmlAccess; - - assert(!filenames.empty()); - if (filenames.empty()) - return; + //include symbolic links at all? + outCmp["HandleSymlinks"](mainCfg.handleSymlinks); - std::vector<zen::MainConfiguration> mainCfgs; - std::auto_ptr<XmlError> savedException; + //########################################################### + XmlOut outSync = out["MainConfig"]["SyncConfig"]; - for (std::vector<wxString>::const_iterator i = filenames.begin(); i != filenames.end(); ++i) - { - switch (getXmlType(*i)) - { - case XML_TYPE_GUI: - mainCfgs.push_back(loadCfgImpl<XmlGuiConfig>(*i, savedException).mainCfg); //throw (xmlAccess::XmlError) - break; + //write sync configuration + writeConfig(mainCfg.syncConfiguration, outSync); + //########################################################### - case XML_TYPE_BATCH: - mainCfgs.push_back(loadCfgImpl<XmlBatchConfig>(*i, savedException).mainCfg); //throw (xmlAccess::XmlError) - break; + //misc + outSync["DeletionPolicy" ](mainCfg.handleDeletion); + outSync["CustomDeletionFolder"](mainCfg.customDeletionDirectory); + //########################################################### - case XML_TYPE_GLOBAL: - case XML_TYPE_OTHER: - break; - } - } + XmlOut outFilter = out["MainConfig"]["GlobalFilter"]; + //write filter settings + writeConfig(mainCfg.globalFilter, outFilter); - if (mainCfgs.empty()) - throw XmlError(_("Invalid FreeFileSync config file!")); + //########################################################### + //write all folder pairs - try //...to init all non-"mainCfg" settings with first config file - { - xmlAccess::readConfig(filenames[0], config); //throw (xmlAccess::XmlError); - } - catch (...) {} + XmlOut outFp = out["MainConfig"]["FolderPairs"]; - config.mainCfg = merge(mainCfgs); + //write first folder pair + writeConfigFolderPair(mainCfg.firstPair, outFp); - if (savedException.get()) //"re-throw" exception - throw* savedException; -} + //write additional folder pairs + std::for_each(mainCfg.additionalPairs.begin(), mainCfg.additionalPairs.end(), + [&](const FolderPairEnh& fp) { writeConfigFolderPair(fp, outFp); }); } -void xmlAccess::convertConfig(const std::vector<wxString>& filenames, XmlGuiConfig& config) //throw (xmlAccess::XmlError) +void writeConfig(const XmlGuiConfig& config, XmlOut& out) { - mergeConfigFilesImpl(filenames, config); //throw (xmlAccess::XmlError) -} + writeConfig(config.mainCfg, out); //write main config + //write GUI specific config data + XmlOut outGuiCfg = out["GuiConfig"]; -void xmlAccess::convertConfig(const std::vector<wxString>& filenames, XmlBatchConfig& config) //throw (xmlAccess::XmlError); -{ - mergeConfigFilesImpl(filenames, config); //throw (xmlAccess::XmlError) + outGuiCfg["HideFiltered" ](config.hideFilteredElements); + outGuiCfg["HandleError" ](config.handleError); + outGuiCfg["SyncPreviewActive"](config.syncPreviewEnabled); } +void writeConfig(const XmlBatchConfig& config, XmlOut& out) +{ + writeConfig(config.mainCfg, out); //write main config + //write GUI specific config data + XmlOut outBatchCfg = out["BatchConfig"]; + outBatchCfg["Silent" ](config.silent); + outBatchCfg["LogfileDirectory"](config.logFileDirectory); + outBatchCfg["LogfileCountMax" ](config.logFileCountMax); + outBatchCfg["HandleError" ](config.handleError); +} - -void xmlAccess::readConfig(const wxString& filename, xmlAccess::XmlGuiConfig& config) +void writeConfig(const XmlGlobalSettings& config, XmlOut& out) { - //load XML - if (!fileExists(wxToZ(filename))) - throw XmlError(wxString(_("File does not exist:")) + wxT("\n\"") + filename + wxT("\"")); + XmlOut outShared = out["Shared"]; - TiXmlDocument doc; - loadXmlDocument(filename, doc); //throw (XmlError) + //write program language setting + outShared["Language"](config.programLanguage); - if (getXmlType(doc) != XML_TYPE_GUI) //throw() - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); + //copy locked files using VSS + outShared["CopyLockedFiles"](config.copyLockedFiles); - FfsXmlErrorLogger logger; - logger.readConfig(doc.RootElement(), config); //read GUI layout configuration + //file permissions + outShared["CopyFilePermissions"](config.copyFilePermissions); - if (logger.errorsOccurred()) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"\n\n") + - logger.getErrorMessageFormatted(), XmlError::WARNING); -} + //verify file copying + outShared["VerifyCopiedFiles"](config.verifyFileCopy); + //max. allowed file time deviation + outShared["FileTimeTolerance"](config.fileTimeTolerance); + + XmlOut outOpt = outShared["ShowOptionalDialogs"]; + outOpt["CheckForDependentFolders" ](config.optDialogs.warningDependentFolders); + outOpt["CheckForMultipleWriteAccess" ](config.optDialogs.warningMultiFolderWriteAccess); + outOpt["CheckForSignificantDifference"](config.optDialogs.warningSignificantDifference); + outOpt["CheckForFreeDiskSpace"](config.optDialogs.warningNotEnoughDiskSpace); + outOpt["CheckForUnresolvedConflicts"](config.optDialogs.warningUnresolvedConflicts); + outOpt["NotifyDatabaseError"](config.optDialogs.warningSyncDatabase); + outOpt["PopupOnConfigChange"](config.optDialogs.popupOnConfigChange); + outOpt["SummaryBeforeSync" ](config.optDialogs.showSummaryBeforeSync); -void xmlAccess::readConfig(const wxString& filename, xmlAccess::XmlBatchConfig& config) -{ - //load XML - if (!fileExists(wxToZ(filename))) - throw XmlError(wxString(_("File does not exist:")) + wxT("\n\"") + filename + wxT("\"")); + //gui specific global settings (optional) + XmlOut outGui = out["Gui"]; + XmlOut outWnd = outGui["Windows"]["Main"]; - TiXmlDocument doc; - loadXmlDocument(filename, doc); //throw (XmlError) + //write application window size and position + outWnd["Width" ](config.gui.dlgSize.x); + outWnd["Height" ](config.gui.dlgSize.y); + outWnd["PosX" ](config.gui.dlgPos.x); + outWnd["PosY" ](config.gui.dlgPos.y); + outWnd["Maximized"](config.gui.isMaximized); - if (getXmlType(doc) != XML_TYPE_BATCH) //throw() - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); + outWnd["ManualDeletionOnBothSides"](config.gui.deleteOnBothSides); + outWnd["ManualDeletionUseRecycler"](config.gui.useRecyclerForManualDeletion); + outWnd["RespectCaseOnSearch" ](config.gui.textSearchRespectCase); - FfsXmlErrorLogger logger; - logger.readConfig(doc.RootElement(), config); //read GUI layout configuration + //########################################################### - if (logger.errorsOccurred()) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"\n\n") + - logger.getErrorMessageFormatted(), XmlError::WARNING); -} + //write column attributes + XmlOut outColLeft = outWnd["LeftColumns"]; + outColLeft.attribute("AutoAdjust", config.gui.autoAdjustColumnsLeft); + outColLeft.attribute("ShowFileIcons", config.gui.showFileIconsLeft); -void xmlAccess::readConfig(xmlAccess::XmlGlobalSettings& config) -{ - //load XML - if (!fileExists(wxToZ(getGlobalConfigFile()))) - throw XmlError(wxString(_("File does not exist:")) + wxT("\n\"") + getGlobalConfigFile() + wxT("\"")); + outColLeft(config.gui.columnAttribLeft); - TiXmlDocument doc; - loadXmlDocument(getGlobalConfigFile(), doc); //throw (XmlError) + //########################################################### + XmlOut outColRight = outWnd["RightColumns"]; - if (getXmlType(doc) != XML_TYPE_GLOBAL) //throw() - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + getGlobalConfigFile() + wxT("\"")); + outColRight.attribute("AutoAdjust", config.gui.autoAdjustColumnsRight); + outColRight.attribute("ShowFileIcons", config.gui.showFileIconsRight); - FfsXmlErrorLogger logger; - logger.readConfig(doc.RootElement(), config); //read GUI layout configuration + outColRight(config.gui.columnAttribRight); - if (logger.errorsOccurred()) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + getGlobalConfigFile() + wxT("\"\n\n") + - logger.getErrorMessageFormatted(), XmlError::WARNING); -} + outWnd["FolderHistoryLeft" ](config.gui.folderHistoryLeft); + outWnd["FolderHistoryRight"](config.gui.folderHistoryRight); + outWnd["MaximumHistorySize"](config.gui.folderHistMax); + outWnd["Perspective" ](config.gui.guiPerspectiveLast); + //external applications + outGui["ExternalApplications"](config.gui.externelApplications); -void xmlAccess::writeConfig(const XmlGuiConfig& outputCfg, const wxString& filename) -{ - TiXmlDocument doc; - initXmlDocument(doc, XML_TYPE_GUI); //throw() + //load config file history + XmlOut outHist = outGui["ConfigHistory"]; - if (!doc.RootElement()) - throw XmlError(wxString(_("Error writing file:")) + wxT("\n\"") + filename + wxT("\"")); + outHist.attribute("LastUsed", config.gui.lastUsedConfigFile); + outHist(config.gui.cfgFileHistory); - writeConfig(outputCfg, *doc.RootElement()); //add GUI layout configuration settings + //last update check + outGui["LastUpdateCheck"](config.gui.lastUpdateCheck); - saveXmlDocument(filename, doc); //throw (XmlError) + //batch specific global settings + //XmlOut outBatch = out["Batch"]; } -void xmlAccess::writeConfig(const XmlBatchConfig& outputCfg, const wxString& filename) +template <class ConfigType> +void writeConfig(const ConfigType& config, XmlType type, const wxString& filename) { - TiXmlDocument doc; - initXmlDocument(doc, XML_TYPE_BATCH); //throw() + XmlDoc doc("FreeFileSync"); + setXmlType(doc, type); //throw() - if (!doc.RootElement()) - throw XmlError(wxString(_("Error writing file:")) + wxT("\n\"") + filename + wxT("\"")); + XmlOut out(doc); + writeConfig(config, out); - writeConfig(outputCfg, *doc.RootElement()); //add GUI layout configuration settings + saveXmlDocument(doc, filename); //throw (FfsXmlError) +} +} - saveXmlDocument(filename, doc); //throw (XmlError) +void xmlAccess::writeConfig(const XmlGuiConfig& config, const wxString& filename) +{ + ::writeConfig(config, XML_TYPE_GUI, filename); //throw (FfsXmlError) } -void xmlAccess::writeConfig(const XmlGlobalSettings& outputCfg) +void xmlAccess::writeConfig(const XmlBatchConfig& config, const wxString& filename) { - TiXmlDocument doc; - initXmlDocument(doc, XML_TYPE_GLOBAL); //throw() - - if (!doc.RootElement()) - throw XmlError(wxString(_("Error writing file:")) + wxT("\n\"") + getGlobalConfigFile() + wxT("\"")); + ::writeConfig(config, XML_TYPE_BATCH, filename); //throw (FfsXmlError) +} - writeConfig(outputCfg, *doc.RootElement()); //add GUI layout configuration settings - saveXmlDocument(getGlobalConfigFile(), doc); //throw (XmlError) +void xmlAccess::writeConfig(const XmlGlobalSettings& config) +{ + ::writeConfig(config, XML_TYPE_GLOBAL, getGlobalConfigFile()); //throw (FfsXmlError) } diff --git a/library/process_xml.h b/library/process_xml.h index de566d15..2e57c433 100644 --- a/library/process_xml.h +++ b/library/process_xml.h @@ -7,12 +7,11 @@ #ifndef PROCESSXML_H_INCLUDED #define PROCESSXML_H_INCLUDED -#include "../shared/xml_base.h" +#include <wx/gdicmn.h> #include "../structures.h" #include "../shared/xml_error.h" #include "../shared/localization.h" - namespace xmlAccess { enum XmlType @@ -23,9 +22,7 @@ enum XmlType XML_TYPE_OTHER }; -XmlType getXmlType(const TiXmlDocument& doc); //throw() XmlType getXmlType(const wxString& filename); //throw() -void initXmlDocument(TiXmlDocument& doc, XmlType type); //throw() enum OnError @@ -159,10 +156,8 @@ struct XmlGlobalSettings struct _Gui { _Gui() : - widthNotMaximized( wxDefaultCoord), - heightNotMaximized(wxDefaultCoord), - posXNotMaximized( wxDefaultCoord), - posYNotMaximized( wxDefaultCoord), + dlgPos(wxDefaultCoord, wxDefaultCoord), + dlgSize(wxDefaultCoord, wxDefaultCoord), isMaximized(false), autoAdjustColumnsLeft(false), autoAdjustColumnsRight(false), @@ -176,7 +171,6 @@ struct XmlGlobalSettings #endif showFileIconsLeft(true), showFileIconsRight(true), - addFolderPairCountMax(5), lastUpdateCheck(0) { //default external apps will be translated "on the fly"!!! @@ -193,10 +187,8 @@ struct XmlGlobalSettings #endif } - int widthNotMaximized; - int heightNotMaximized; - int posXNotMaximized; - int posYNotMaximized; + wxPoint dlgPos; + wxSize dlgSize; bool isMaximized; ColumnAttributes columnAttribLeft; @@ -220,7 +212,6 @@ struct XmlGlobalSettings bool showFileIconsLeft; bool showFileIconsRight; - size_t addFolderPairCountMax; long lastUpdateCheck; //time of last update check wxString guiPerspectiveLast; //used by wxAuiManager @@ -255,13 +246,13 @@ bool sortByPositionAndVisibility(const ColumnAttrib& a, const ColumnAttrib& b) return a.position < b.position; } -void readConfig(const wxString& filename, XmlGuiConfig& config); //throw (xmlAccess::XmlError) -void readConfig(const wxString& filename, XmlBatchConfig& config); //throw (xmlAccess::XmlError) -void readConfig( XmlGlobalSettings& config); //throw (xmlAccess::XmlError) +void readConfig(const wxString& filename, XmlGuiConfig& config); //throw (xmlAccess::FfsXmlError) +void readConfig(const wxString& filename, XmlBatchConfig& config); //throw (xmlAccess::FfsXmlError) +void readConfig( XmlGlobalSettings& config); //throw (xmlAccess::FfsXmlError) -void writeConfig(const XmlGuiConfig& outputCfg, const wxString& filename); //throw (xmlAccess::XmlError) -void writeConfig(const XmlBatchConfig& outputCfg, const wxString& filename); //throw (xmlAccess::XmlError) -void writeConfig(const XmlGlobalSettings& outputCfg); //throw (xmlAccess::XmlError) +void writeConfig(const XmlGuiConfig& config, const wxString& filename); //throw (xmlAccess::FfsXmlError) +void writeConfig(const XmlBatchConfig& config, const wxString& filename); //throw (xmlAccess::FfsXmlError) +void writeConfig(const XmlGlobalSettings& config); //throw (xmlAccess::FfsXmlError) //config conversion utilities XmlGuiConfig convertBatchToGui(const XmlBatchConfig& batchCfg); @@ -278,8 +269,8 @@ enum MergeType }; MergeType getMergeType(const std::vector<wxString>& filenames); //throw () -void convertConfig(const std::vector<wxString>& filenames, XmlGuiConfig& config); //throw (xmlAccess::XmlError) -void convertConfig(const std::vector<wxString>& filenames, XmlBatchConfig& config); //throw (xmlAccess::XmlError) +void convertConfig(const std::vector<wxString>& filenames, XmlGuiConfig& config); //throw (xmlAccess::FfsXmlError) +void convertConfig(const std::vector<wxString>& filenames, XmlBatchConfig& config); //throw (xmlAccess::FfsXmlError) } diff --git a/shared/base64.h b/shared/base64.h new file mode 100644 index 00000000..4a81787c --- /dev/null +++ b/shared/base64.h @@ -0,0 +1,159 @@ +// ************************************************************************** +// * This file is part of the zenXML project. It is distributed under the * +// * Boost Software License, Version 1.0. See accompanying file * +// * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. * +// * Copyright (C) 2011 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +#ifndef BASE64_HEADER_08473021856321840873021487213453214 +#define BASE64_HEADER_08473021856321840873021487213453214 + +#include <iterator> +#include <cassert> +#include "assert_static.h" + +namespace zen +{ +//http://en.wikipedia.org/wiki/Base64 +/* +Usage: + const std::string input = "Sample text"; + std::string output; + zen::encodeBase64(input.begin(), input.end(), std::back_inserter(output)); + //output contains "U2FtcGxlIHRleHQ=" +*/ +template <class InputIterator, class OutputIterator> +OutputIterator encodeBase64(InputIterator first, InputIterator last, OutputIterator result); //throw () + +template <class InputIterator, class OutputIterator> +OutputIterator decodeBase64(InputIterator first, InputIterator last, OutputIterator result); //throw () + + + + + + + + + + + + + + + + +//---------------------------------------- implementation ---------------------------------------- +namespace implementation +{ +const char ENCODING_MIME[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; //64 chars for base64 encoding + padding char +const signed char DECODING_MIME[] = +{ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 64, -1, -1, + -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, + -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1 +}; +const size_t INDEX_PAD = 64; +} + + +//http://en.wikipedia.org/wiki/Base64 +template <class InputIterator, class OutputIterator> inline +OutputIterator encodeBase64(InputIterator first, InputIterator last, OutputIterator result) +{ + using namespace implementation; + assert_static(sizeof(std::iterator_traits<InputIterator>::value_type) == 1); + assert_static(sizeof(ENCODING_MIME) == 65 + 1); + + while (first != last) + { + const unsigned char a = *first++; + *result++ = ENCODING_MIME[a >> 2]; + + if (first == last) + { + *result++ = ENCODING_MIME[((a & 0x3) << 4)]; + *result++ = ENCODING_MIME[INDEX_PAD]; + *result++ = ENCODING_MIME[INDEX_PAD]; + break; + } + const unsigned char b = *first++; + *result++ = ENCODING_MIME[((a & 0x3) << 4) | (b >> 4)]; + + if (first == last) + { + *result++ = ENCODING_MIME[((b & 0xf) << 2)]; + *result++ = ENCODING_MIME[INDEX_PAD]; + break; + } + const unsigned char c = *first++; + *result++ = ENCODING_MIME[((b & 0xf) << 2) | (c >> 6)]; + *result++ = ENCODING_MIME[c & 0x3f]; + } + + return result; +} + + +template <class InputIterator, class OutputIterator> inline +OutputIterator decodeBase64(InputIterator first, InputIterator last, OutputIterator result) +{ + using namespace implementation; + assert_static(sizeof(std::iterator_traits<InputIterator>::value_type) == 1); + assert_static(sizeof(DECODING_MIME) == 128); + + const int INDEX_END = INDEX_PAD + 1; + + auto readIndex = [&]() -> unsigned char //return index within [0, 64] or INDEX_END if end of input + { + while (true) + { + if (first == last) + return INDEX_END; + + unsigned char ch = *first++; + if (ch < 128) //skip all unknown characters (including carriage return, line-break, tab) + { + const int index = implementation::DECODING_MIME[ch]; + if (0 <= index && index <= INDEX_PAD) //respect padding + return index; + } + } + }; + + while (true) + { + const unsigned char index1 = readIndex(); + const unsigned char index2 = readIndex(); + if (index1 >= INDEX_PAD || index2 >= INDEX_PAD) + { + assert(index1 == INDEX_END && index2 == INDEX_END); + break; + } + *result++ = (index1 << 2) | (index2 >> 4); + + const unsigned char index3 = readIndex(); + if (index3 >= INDEX_PAD) //padding + { + assert(index3 == INDEX_PAD); + break; + } + *result++ = ((index2 & 0xf) << 4) | (index3 >> 2); + + const unsigned char index4 = readIndex(); + if (index4 >= INDEX_PAD) //padding + { + assert(index4 == INDEX_PAD); + break; + } + *result++ = ((index3 & 0x3) << 6) | index4; + } + return result; +} +} + +#endif //BASE64_HEADER_08473021856321840873021487213453214 diff --git a/shared/build_info.h b/shared/build_info.h index e398a8a0..c3be26bd 100644 --- a/shared/build_info.h +++ b/shared/build_info.h @@ -10,7 +10,7 @@ namespace util { //determine build info -//seems to be safer than checking for _WIN64 (defined on windows for 64-bit compilations only) while _WIN32 is always defined (even for x64 compiler!) +//safer than checking for _WIN64 (defined on windows for 64-bit compilations only) while _WIN32 is always defined (even for x64 compiler!) static const bool is32BitBuild = sizeof(void*) == 4; static const bool is64BitBuild = sizeof(void*) == 8; } diff --git a/shared/c_dll.h b/shared/c_dll.h index a80c419e..f913cde9 100644 --- a/shared/c_dll.h +++ b/shared/c_dll.h @@ -9,7 +9,6 @@ #include <string> #include <map> -#undef min #include <algorithm> @@ -86,7 +85,7 @@ template <class S, class T> inline HandleProvider<S, T>& HandleProvider<S, T>::instance() { - static HandleProvider inst; + static HandleProvider inst; //external linkage!!! :) return inst; } diff --git a/shared/check_exist.cpp b/shared/check_exist.cpp index 218b1a0c..6c6c0871 100644 --- a/shared/check_exist.cpp +++ b/shared/check_exist.cpp @@ -6,8 +6,8 @@ // #include "check_exist.h" #include "file_handling.h" +#include <memory> #include "boost_thread_wrap.h" //include <boost/thread.hpp> -#include <boost/shared_ptr.hpp> /* @@ -22,34 +22,15 @@ namespace { typedef Zbase<Zchar, StorageDeepCopy> BasicString; //thread safe string class -template <bool (*testExist)(const Zstring&)> -class ExistenceChecker -{ -public: - ExistenceChecker(const BasicString& filename, const boost::shared_ptr<bool>& isExisting) : - filename_(filename), //deep copy: worker thread may run longer than main! avoid shared data - isExisting_(isExisting) {} //not accessed during thread run - - void operator()() - { - *isExisting_ = testExist(filename_.c_str()); //throw() - } - -private: - const BasicString filename_; //no referencing, 'cause lifetime not known! - boost::shared_ptr<bool> isExisting_; -}; - - template <bool (*fun)(const Zstring&)> util::ResultExist checkExistence(const Zstring& objName, size_t timeout) //timeout in ms { using namespace util; - boost::shared_ptr<bool> isExisting(new bool(false)); + std::shared_ptr<bool> isExisting = std::make_shared<bool>(false); //no mutex required: accessed after thread has finished only! + BasicString filename = objName.c_str(); //using thread safe string without ref-count! - ExistenceChecker<fun> task(objName.c_str(), isExisting); - boost::thread worker(task); //note: task is copied => using thread safe string! + boost::thread worker([=]() { *isExisting = fun(filename.c_str()); }); //throw() if (worker.timed_join(boost::posix_time::milliseconds(timeout))) return *isExisting ? EXISTING_TRUE : EXISTING_FALSE; @@ -59,22 +40,6 @@ util::ResultExist checkExistence(const Zstring& objName, size_t timeout) //timeo main/worker thread may access different shared_ptr instances safely (even though they have the same target!) http://www.boost.org/doc/libs/1_43_0/libs/smart_ptr/shared_ptr.htm?sess=8153b05b34d890e02d48730db1ff7ddc#ThreadSafety */ - -#ifndef _MSC_VER -#warning migrate this at some time... -#endif - /* - unfortunately packaged_task/future is not mature enough to be used... - boost::packaged_task<bool> pt(boost::bind(fun, objName.c_str())); //attention: Zstring is not thread-safe => make deep copy - boost::unique_future<bool> fut = pt.get_future(); - - boost::thread worker(boost::move(pt)); //launch task on a thread - - if (fut.timed_wait(boost::posix_time::milliseconds(timeout))) - return fut.get() ? EXISTING_TRUE : EXISTING_FALSE; - else - return EXISTING_TIMEOUT; - */ } } diff --git a/shared/com_ptr.h b/shared/com_ptr.h index 6c7a62ab..d7178fbe 100644 --- a/shared/com_ptr.h +++ b/shared/com_ptr.h @@ -46,11 +46,7 @@ public: private: T* ptr; - struct ConversionToBool - { - int dummy; - }; - + struct ConversionToBool { int dummy; }; public: operator int ConversionToBool::* () const; //use member pointer as implicit conversion to bool (C++ Templates - Vandevoorde/Josuttis; chapter 20) }; diff --git a/shared/debug_new.cpp b/shared/debug_new.cpp index bb02b112..a7324239 100644 --- a/shared/debug_new.cpp +++ b/shared/debug_new.cpp @@ -9,6 +9,7 @@ #ifdef _MSC_VER #include <wx/msw/wrapwin.h> //includes "windows.h" #include "DbgHelp.h" //available for MSC only +#pragma comment(lib, "Dbghelp.lib") #endif @@ -17,9 +18,9 @@ namespace { LONG WINAPI writeDumpOnException(EXCEPTION_POINTERS* pExceptionInfo) { - HANDLE hFile = ::CreateFile(L"FFS_exception.dmp", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); + HANDLE hFile = ::CreateFile(L"exception.dmp", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); - MINIDUMP_EXCEPTION_INFORMATION exInfo; + MINIDUMP_EXCEPTION_INFORMATION exInfo = {}; exInfo.ThreadId = ::GetCurrentThreadId(); exInfo.ExceptionPointers = pExceptionInfo; exInfo.ClientPointers = NULL; @@ -27,14 +28,13 @@ LONG WINAPI writeDumpOnException(EXCEPTION_POINTERS* pExceptionInfo) MINIDUMP_EXCEPTION_INFORMATION* exceptParam = pExceptionInfo ? &exInfo : NULL; ::MiniDumpWriteDump( - ::GetCurrentProcess(), //__in HANDLE hProcess, - ::GetCurrentProcessId(), //__in DWORD ProcessId, - hFile, //__in HANDLE hFile, - MiniDumpWithDataSegs, //__in MINIDUMP_TYPE DumpType, ->Standard: MiniDumpNormal, Medium: MiniDumpWithDataSegs, Full: MiniDumpWithFullMemory - exceptParam, //__in PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam, - NULL, //__in PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam, - NULL //__in PMINIDUMP_CALLBACK_INFORMATION CallbackParam - ); + ::GetCurrentProcess(), //__in HANDLE hProcess, + ::GetCurrentProcessId(), //__in DWORD ProcessId, + hFile, //__in HANDLE hFile, + MiniDumpWithDataSegs, //__in MINIDUMP_TYPE DumpType, ->Standard: MiniDumpNormal, Medium: MiniDumpWithDataSegs, Full: MiniDumpWithFullMemory + exceptParam, //__in PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam, + NULL, //__in PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam, + NULL); //__in PMINIDUMP_CALLBACK_INFORMATION CallbackParam ::CloseHandle(hFile); diff --git a/shared/debug_new.h b/shared/debug_new.h index 73591c45..afa66a55 100644 --- a/shared/debug_new.h +++ b/shared/debug_new.h @@ -21,7 +21,6 @@ Usage: - Include everywhere before any other file: $(ProjectDir)\shared\debug_new.h For Minidumps: - Compile "debug_new.cpp" -- Include library "Dbghelp.lib" - Compile in Debug build (need Symbols and less restrictive Optimization) */ diff --git a/shared/dst_hack.cpp b/shared/dst_hack.cpp index 72267e54..1a2e705a 100644 --- a/shared/dst_hack.cpp +++ b/shared/dst_hack.cpp @@ -2,7 +2,7 @@ #include "system_constants.h" #include "i18n.h" #include "long_path_prefix.h" -#include "string_conv.h" +#include "string_utf8.h" #include "last_error.h" #include "assert_static.h" #include <bitset> @@ -133,9 +133,9 @@ FILETIME utcToLocal(const FILETIME& utcTime) //throw (std::runtime_error) &localTime)) //__out LPFILETIME lpLocalFileTime { const wxString errorMessage = wxString(_("Conversion error:")) + wxT(" FILETIME -> local FILETIME: ") + wxT("(") + - wxT("High: ") + Zstring::fromNumber(utcTime.dwHighDateTime) + wxT(" ") + - wxT("Low: ") + Zstring::fromNumber(utcTime.dwLowDateTime) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); - throw std::runtime_error(std::string((errorMessage).ToUTF8())); + wxT("High: ") + toString<wxString>(utcTime.dwHighDateTime) + wxT(" ") + + wxT("Low: ") + toString<wxString>(utcTime.dwLowDateTime) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); + throw std::runtime_error(wideToUtf8<std::string>(errorMessage)); } return localTime; } @@ -150,17 +150,17 @@ FILETIME localToUtc(const FILETIME& localTime) //throw (std::runtime_error) &utcTime)) //__out LPFILETIME lpFileTime { const wxString errorMessage = wxString(_("Conversion error:")) + wxT(" local FILETIME -> FILETIME: ") + wxT("(") + - wxT("High: ") + Zstring::fromNumber(localTime.dwHighDateTime) + wxT(" ") + - wxT("Low: ") + Zstring::fromNumber(localTime.dwLowDateTime) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); - throw std::runtime_error(std::string((errorMessage).ToUTF8())); + wxT("High: ") + toString<wxString>(localTime.dwHighDateTime) + wxT(" ") + + wxT("Low: ") + toString<wxString>(localTime.dwLowDateTime) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); + throw std::runtime_error(wideToUtf8<std::string>(errorMessage)); } return utcTime; } //struct FILETIME {DWORD dwLowDateTime; DWORD dwHighDateTime;}; -const FILETIME FAT_MIN_TIME = {13374976, 27846544}; //1980 \ both are valid max/min FAT dates for 2 second precision -const FILETIME FAT_MAX_TIME = {14487552, 37251238}; //2107 / +const FILETIME FAT_MIN_TIME = { 13374976, 27846544 }; //1980 \ both are valid max/min FAT dates for 2 second precision +const FILETIME FAT_MAX_TIME = { 14487552, 37251238 }; //2107 / //http://en.wikipedia.org/wiki/File_Allocation_Table const size_t PRECISION_WRITE_TIME = 20000000; //number of 100 ns per step -> 2 s @@ -250,8 +250,8 @@ std::bitset<UTC_LOCAL_OFFSET_BITS> getUtcLocalShift() timeShiftSec % (60 * 15) != 0) //all known time shift have at least 15 minute granularity! { const wxString errorMessage = wxString(_("Conversion error:")) + wxT(" Unexpected UTC <-> local time shift: ") + - wxT("(") + Zstring::fromNumber(timeShiftSec) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); - throw std::runtime_error(std::string((errorMessage).ToUTF8())); + wxT("(") + toString<wxString>(timeShiftSec) + wxT(") ") + wxT("\n\n") + zen::getLastErrorFormatted(); + throw std::runtime_error(wideToUtf8<std::string>(errorMessage)); } std::bitset<UTC_LOCAL_OFFSET_BITS> output(absValue); diff --git a/shared/file_handling.cpp b/shared/file_handling.cpp index 5dc1757c..a17f1fd7 100644 --- a/shared/file_handling.cpp +++ b/shared/file_handling.cpp @@ -46,8 +46,6 @@ bool zen::fileExists(const Zstring& filename) { //symbolic links (broken or not) are also treated as existing files! #ifdef FFS_WIN - // we must use GetFileAttributes() instead of the ANSI C functions because - // it can cope with network (UNC) paths unlike them const DWORD ret = ::GetFileAttributes(applyLongPathPrefix(filename).c_str()); return ret != INVALID_FILE_ATTRIBUTES && !(ret & FILE_ATTRIBUTE_DIRECTORY); //returns true for (file-)symlinks also @@ -63,8 +61,6 @@ bool zen::dirExists(const Zstring& dirname) { //symbolic links (broken or not) are also treated as existing directories! #ifdef FFS_WIN - // we must use GetFileAttributes() instead of the ANSI C functions because - // it can cope with network (UNC) paths unlike them const DWORD ret = ::GetFileAttributes(applyLongPathPrefix(dirname).c_str()); return (ret != INVALID_FILE_ATTRIBUTES) && (ret & FILE_ATTRIBUTE_DIRECTORY); //returns true for (dir-)symlinks also @@ -882,14 +878,32 @@ void zen::copyFileTimes(const Zstring& sourceObj, const Zstring& targetObj, bool //privilege SE_BACKUP_NAME doesn't seem to be required here for symbolic links //note: setting privileges requires admin rights! - HANDLE hTarget = ::CreateFile(applyLongPathPrefix(targetObj).c_str(), - FILE_WRITE_ATTRIBUTES, - FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, - NULL, - OPEN_EXISTING, - FILE_FLAG_BACKUP_SEMANTICS | //needed to open a directory - (deRefSymlinks ? 0 : FILE_FLAG_OPEN_REPARSE_POINT), //process symlinks - NULL); + //opening newly created target file may fail due to some AV-software scanning it: no error, we will wait! + //http://support.microsoft.com/?scid=kb%3Ben-us%3B316609&x=17&y=20 + //-> enable as soon it turns out it is required! + HANDLE hTarget = INVALID_HANDLE_VALUE; + + /*const int retryInterval = 50; + const int maxRetries = 2000 / retryInterval; + for (int i = 0; i < maxRetries; ++i) + { + */ + hTarget = ::CreateFile(applyLongPathPrefix(targetObj).c_str(), + FILE_WRITE_ATTRIBUTES, + FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, + NULL, + OPEN_EXISTING, + FILE_FLAG_BACKUP_SEMANTICS | //needed to open a directory + (deRefSymlinks ? 0 : FILE_FLAG_OPEN_REPARSE_POINT), //process symlinks + NULL); + /* + if (hTarget == INVALID_HANDLE_VALUE && ::GetLastError() == ERROR_SHARING_VIOLATION) + ::Sleep(retryInterval); //wait then retry + else //success or unknown failure + break; + } + */ + if (hTarget == INVALID_HANDLE_VALUE) { wxString errorMessage = wxString(_("Error changing modification time:")) + wxT("\n\"") + zToWx(targetObj) + wxT("\""); @@ -1103,15 +1117,22 @@ void copyObjectPermissions(const Zstring& source, const Zstring& target, bool de { #ifdef FFS_WIN //setting privileges requires admin rights! + try + { + //enable privilege: required to read/write SACL information + Privileges::getInstance().ensureActive(SE_SECURITY_NAME); //polling allowed... - //enable privilege: required to read/write SACL information - Privileges::getInstance().ensureActive(SE_SECURITY_NAME); //polling allowed... - - //enable privilege: required to copy owner information - Privileges::getInstance().ensureActive(SE_RESTORE_NAME); + //enable privilege: required to copy owner information + Privileges::getInstance().ensureActive(SE_RESTORE_NAME); - //the following privilege may be required according to http://msdn.microsoft.com/en-us/library/aa364399(VS.85).aspx (although not needed nor active in my tests) - Privileges::getInstance().ensureActive(SE_BACKUP_NAME); + //the following privilege may be required according to http://msdn.microsoft.com/en-us/library/aa364399(VS.85).aspx (although not needed nor active in my tests) + Privileges::getInstance().ensureActive(SE_BACKUP_NAME); + } + catch (const FileError& e) + { + const wxString errorMessage = wxString(_("Error copying file permissions:")) + wxT("\n\"") + zToWx(source) + wxT("\" ->\n\"") + zToWx(target) + wxT("\""); + throw FileError(errorMessage + wxT("\n\n") + e.msg()); + } PSECURITY_DESCRIPTOR buffer = NULL; PSID owner = NULL; @@ -1159,7 +1180,7 @@ void copyObjectPermissions(const Zstring& source, const Zstring& target, bool de //read-only file attribute may cause trouble: temporarily reset it const DWORD targetAttr = ::GetFileAttributes(targetFmt.c_str()); - Loki::ScopeGuard resetAttributes = Loki::MakeGuard(::SetFileAttributes, targetFmt, targetAttr); + Loki::ScopeGuard resetAttributes = Loki::MakeGuard(::SetFileAttributes, targetFmt.c_str(), targetAttr); if (targetAttr != INVALID_FILE_ATTRIBUTES && (targetAttr & FILE_ATTRIBUTE_READONLY)) ::SetFileAttributes(targetFmt.c_str(), targetAttr & (~FILE_ATTRIBUTE_READONLY)); //try to... @@ -1294,7 +1315,7 @@ void createDirectoryRecursively(const Zstring& directory, const Zstring& templat const bool isCompressed = (sourceAttr & FILE_ATTRIBUTE_COMPRESSED) != 0; const bool isEncrypted = (sourceAttr & FILE_ATTRIBUTE_ENCRYPTED) != 0; - ::SetFileAttributes(applyLongPathPrefix(directory), sourceAttr); + ::SetFileAttributes(applyLongPathPrefix(directory).c_str(), sourceAttr); if (isEncrypted) ::EncryptFile(directory.c_str()); //seems no long path is required (check passed!) diff --git a/shared/file_traverser.cpp b/shared/file_traverser.cpp index 90a5bd79..2525be58 100644 --- a/shared/file_traverser.cpp +++ b/shared/file_traverser.cpp @@ -116,7 +116,7 @@ private: WIN32_FIND_DATA fileInfo = {}; HANDLE searchHandle = ::FindFirstFile(applyLongPathPrefix(directoryFormatted + Zchar('*')).c_str(), //__in LPCTSTR lpFileName - &fileInfo); //__out LPWIN32_FIND_DATA lpFindFileData + &fileInfo); //__out LPWIN32_FIND_DATA lpFindFileData //no noticable performance difference compared to FindFirstFileEx with FindExInfoBasic, FIND_FIRST_EX_CASE_SENSITIVE and/or FIND_FIRST_EX_LARGE_FETCH if (searchHandle == INVALID_HANDLE_VALUE) diff --git a/shared/global_func.h b/shared/global_func.h index 9dd1faf7..1c6bf0ae 100644 --- a/shared/global_func.h +++ b/shared/global_func.h @@ -19,7 +19,7 @@ namespace common { //little rounding function -inline int round(double d) { return static_cast<int>(d < 0 ? d - .5 : d + .5); } +inline int round(double d) { return static_cast<int>(d < 0 ? d - 0.5 : d + 0.5); } //absolute value template <class T> inline T abs(const T& d) { return d < 0 ? -d : d; } @@ -54,7 +54,7 @@ private: wxFile* logFile; //logFile.close(); <- not needed }; extern DebugLog logDebugInfo; -wxString getCodeLocation(const wxString file, const int line); +wxString getCodeLocation(const wxString& file, int line); //small macro for writing debug information into a logfile #define WRITE_DEBUG_LOG(x) logDebugInfo.write(getCodeLocation(__TFILE__, __LINE__) + x); diff --git a/shared/localization.cpp b/shared/localization.cpp index 825773d9..36773fc3 100644 --- a/shared/localization.cpp +++ b/shared/localization.cpp @@ -100,26 +100,6 @@ std::string getFileStream(const wxString& filename) //return empty string on err FFSLocale::FFSLocale(const wxString& filename, wxLanguage languageId) : langId_(languageId) //throw (lngfile::ParsingError, PluralForm::ParsingError) { - static class StaticInit - { - public: - StaticInit() : loc(wxLANGUAGE_DEFAULT) //wxLocale: we need deferred initialization, sigh... - { - //::setlocale (LC_ALL, ""); -> implicitly called by wxLocale - const lconv* localInfo = ::localeconv(); - - //actually these two parameters are language dependent, but we take system setting to handle all kinds of language derivations - THOUSANDS_SEPARATOR = wxString::FromUTF8(localInfo->thousands_sep); - - // why not working? - // THOUSANDS_SEPARATOR = std::use_facet<std::numpunct<wchar_t> >(std::locale("")).thousands_sep(); - // DECIMAL_POINT = std::use_facet<std::numpunct<wchar_t> >(std::locale("")).decimal_point(); - } - private: - wxLocale loc; //required for RTL language support (and nothing else) - } dummy; - - const std::string inputStream = getFileStream(filename); if (inputStream.empty()) throw lngfile::ParsingError(0, 0); @@ -322,6 +302,7 @@ wxLanguage mapLanguageDialect(wxLanguage language) return wxLANGUAGE_SWEDISH; //case wxLANGUAGE_CZECH: + //case wxLANGUAGE_DANISH: //case wxLANGUAGE_FINNISH: //case wxLANGUAGE_GREEK: //case wxLANGUAGE_JAPANESE: @@ -374,6 +355,37 @@ wxLanguage mapLanguageDialect(wxLanguage language) } +class CustomLocale +{ +public: + CustomLocale(int selectedLng) + { + const wxLanguageInfo* sysLngInfo = wxLocale::GetLanguageInfo(wxLocale::GetSystemLanguage()); + const wxLanguageInfo* selLngInfo = wxLocale::GetLanguageInfo(selectedLng); + + bool sysLangIsRTL = sysLngInfo ? sysLngInfo->LayoutDirection == wxLayout_RightToLeft : false; + bool selectedLangIsRTL = selLngInfo ? selLngInfo->LayoutDirection == wxLayout_RightToLeft : false; + + if (sysLangIsRTL == selectedLangIsRTL) + loc.Init(wxLANGUAGE_DEFAULT); //use sys-lang to preserve sub-language specific rules (e.g. german swiss number punctation) + else + loc.Init(selectedLng); + + //::setlocale (LC_ALL, ""); -> implicitly called by wxLocale + const lconv* localInfo = ::localeconv(); + + //actually these two parameters are language dependent, but we take system setting to handle all kinds of language derivations + THOUSANDS_SEPARATOR = wxString::FromUTF8(localInfo->thousands_sep); + + // why not working? + // THOUSANDS_SEPARATOR = std::use_facet<std::numpunct<wchar_t> >(std::locale("")).thousands_sep(); + // DECIMAL_POINT = std::use_facet<std::numpunct<wchar_t> >(std::locale("")).decimal_point(); + } +private: + wxLocale loc; //required for RTL language support (and nothing else) +}; + + void zen::setLanguage(int language) { //(try to) retrieve language file @@ -386,6 +398,12 @@ void zen::setLanguage(int language) } + //handle RTL swapping: we need wxWidgets to do this + static std::auto_ptr<CustomLocale> dummy; + dummy.reset(); //avoid global locale lifetime overlap! wxWidgets cannot handle this and will crash! + dummy.reset(new CustomLocale(languageFile.empty() ? wxLANGUAGE_ENGLISH : language)); + + //reset to english language; in case of error show error message just once zen::setTranslator(); diff --git a/shared/parse_plural.h b/shared/parse_plural.h index 0a0e7545..3837feba 100644 --- a/shared/parse_plural.h +++ b/shared/parse_plural.h @@ -8,7 +8,7 @@ #define PARSE_PLURAL_H_INCLUDED #include <list> -#include <boost/shared_ptr.hpp> +#include <memory> #include "zbase.h" @@ -130,7 +130,7 @@ public: int getForm(int n) const { n_ = n ; return expr->eval(); } private: - typedef std::list<boost::shared_ptr<Expression> > DumpList; + typedef std::list<std::shared_ptr<Expression> > DumpList; struct Token { @@ -391,7 +391,7 @@ private: template <class T> const T& manageObj(const T& obj) { - boost::shared_ptr<Expression> newEntry(new T(obj)); + std::shared_ptr<Expression> newEntry(new T(obj)); dump_.push_back(newEntry); return static_cast<T&>(*dump_.back()); } diff --git a/shared/pch.h b/shared/pch.h index 71a09899..cd6b73cb 100644 --- a/shared/pch.h +++ b/shared/pch.h @@ -106,7 +106,7 @@ #include <stdexcept> //Boost -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/scoped_array.hpp> #endif //FFS_PRECOMPILED_HEADER diff --git a/shared/perf.h b/shared/perf.h index 8bd89643..f62f9cc0 100644 --- a/shared/perf.h +++ b/shared/perf.h @@ -25,6 +25,11 @@ #define DEPRECATED(x) __declspec(deprecated) x #endif +//two macros for quick performance measurements +#define PERF_START CpuTimer perfTest; +#define PERF_STOP perfTest.showResult(); + + class CpuTimer { public: @@ -74,8 +79,4 @@ private: bool resultShown; }; -//two macros for quick performance measurements -#define PERF_START CpuTimer perfTest; -#define PERF_STOP perfTest.showResult(); - #endif //DEBUG_PERF_HEADER diff --git a/shared/privilege.h b/shared/privilege.h index 4775fcef..3085c8c8 100644 --- a/shared/privilege.h +++ b/shared/privilege.h @@ -40,7 +40,7 @@ private: try { if (i->second) - Privileges::setPrivilege(i->first, false); + Privileges::setPrivilege(i->first.c_str(), false); } catch(...) {} } diff --git a/shared/resolve_path.cpp b/shared/resolve_path.cpp index 1fdc2430..95c84e1a 100644 --- a/shared/resolve_path.cpp +++ b/shared/resolve_path.cpp @@ -211,7 +211,7 @@ Zstring getVolumePath(const Zstring& volumeName) //empty string on error std::vector<wchar_t> volPath(10000); DWORD returnedLen = 0; - if (getVolumePathNamesForVolumeName(&volGuid[0], //__in LPCTSTR lpszVolumeName, + if (getVolumePathNamesForVolumeName(&volGuid[0], //__in LPCTSTR lpszVolumeName, &volPath[0], //__out LPTSTR lpszVolumePathNames, static_cast<DWORD>(volPath.size()), //__in DWORD cchBufferLength, &returnedLen)) //__out PDWORD lpcchReturnLength @@ -258,10 +258,10 @@ void expandVolumeName(Zstring& text) // [volname]:\folder [volname]\folde volname = Zstring(text.c_str() + posStart + 1, posEnd - posStart - 1); after = Zstring(text.c_str() + posEnd + 1); - if (after.StartsWith(Zstr(":"))) - after = after.AfterFirst(Zstr(':')); - if (after.StartsWith(Zstring() + FILE_NAME_SEPARATOR)) - after = after.AfterFirst(FILE_NAME_SEPARATOR); + if (startsWith(after, ':')) + after = afterFirst(after, ':'); + if (startsWith(after, FILE_NAME_SEPARATOR)) + after = afterFirst(after, FILE_NAME_SEPARATOR); } } @@ -294,7 +294,7 @@ Zstring zen::getFormattedDirectoryName(const Zstring& dirname) //remove leading/trailing whitespace trim(output, true, false); - while (endsWith(output, Zstr(" "))) //don't remove all whitespace from right, e.g. 0xa0 may be used as part of dir name + while (endsWith(output, " ")) //don't remove all whitespace from right, e.g. 0xa0 may be used as part of dir name output.resize(output.size() - 1); if (output.empty()) //an empty string will later be returned as "\"; this is not desired diff --git a/shared/serialize.h b/shared/serialize.h index 0f2f398f..769b8671 100644 --- a/shared/serialize.h +++ b/shared/serialize.h @@ -10,7 +10,7 @@ #include <vector> #include "file_error.h" #include <wx/stream.h> -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/cstdint.hpp> #include "file_io.h" @@ -72,7 +72,7 @@ protected: template <class S> S readStringC() const; //throw (FileError), checked read operation - typedef boost::shared_ptr<std::vector<char> > CharArray; //there's no guarantee std::string has a ref-counted implementation... so use this "thing" + typedef std::shared_ptr<std::vector<char> > CharArray; //there's no guarantee std::string has a ref-counted implementation... so use this "thing" CharArray readArrayC() const; //throw (FileError) void check() const; diff --git a/shared/shadow.cpp b/shared/shadow.cpp index 52ffefc7..5827badd 100644 --- a/shared/shadow.cpp +++ b/shared/shadow.cpp @@ -192,7 +192,7 @@ Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile) VolNameShadowMap::const_iterator iter = shadowVol.find(volumeNameFormatted); if (iter == shadowVol.end()) { - boost::shared_ptr<ShadowVolume> newEntry(new ShadowVolume(volumeNameFormatted)); + std::shared_ptr<ShadowVolume> newEntry(new ShadowVolume(volumeNameFormatted)); iter = shadowVol.insert(std::make_pair(volumeNameFormatted, newEntry)).first; } diff --git a/shared/shadow.h b/shared/shadow.h index b122e59d..05748fd7 100644 --- a/shared/shadow.h +++ b/shared/shadow.h @@ -14,7 +14,7 @@ use in windows build only! #include "zstring.h" #include "file_error.h" #include <map> -#include <boost/shared_ptr.hpp> +#include <memory> namespace shadow @@ -41,7 +41,7 @@ private: WaitingForShadow* callback_; class ShadowVolume; - typedef std::map<Zstring, boost::shared_ptr<ShadowVolume>, LessFilename> VolNameShadowMap; + typedef std::map<Zstring, std::shared_ptr<ShadowVolume>, LessFilename> VolNameShadowMap; VolNameShadowMap shadowVol; }; } diff --git a/shared/shell_execute.h b/shared/shell_execute.h index d3605a09..2cabbed1 100644 --- a/shared/shell_execute.h +++ b/shared/shell_execute.h @@ -70,7 +70,9 @@ void shellExecute(const wxString& command, ExecutionType type = EXEC_TYPE_ASYNC) if (!::ShellExecuteEx(&execInfo)) //__inout LPSHELLEXECUTEINFO lpExecInfo { wxString errorMsg = _("Invalid commandline: \"%x\""); - errorMsg.Replace(L"%x", filename + L" " + arguments); + wxString cmdFmt = wxString(L"\nFile: ") + filename + L"\nArg: " + arguments; + + errorMsg.Replace(L"%x", cmdFmt); wxMessageBox(errorMsg + L"\n\n" + getLastErrorFormatted()); return; } diff --git a/shared/string_conv.h b/shared/string_conv.h index 248605f6..cdfdbbfa 100644 --- a/shared/string_conv.h +++ b/shared/string_conv.h @@ -7,6 +7,7 @@ #ifndef STRINGCONV_H_INCLUDED #define STRINGCONV_H_INCLUDED +#include <string_utf8.h> #include <wx/string.h> #include "zstring.h" @@ -22,8 +23,6 @@ Zstring wxToZ(const wxChar* str); Zstring wxToZ(wxChar ch); -wxString zxToWx(const zxString& str); -zxString wxToZx(const wxString& str); @@ -53,9 +52,9 @@ inline wxString zToWx(const Zstring& str) { #ifdef FFS_WIN - return wxString(str.c_str(), str.length()); + return cvrtString<wxString>(str); #elif defined FFS_LINUX - return wxString::FromUTF8(str.c_str(), str.length()); + return utf8ToWide<wxString>(str); #endif } @@ -64,9 +63,9 @@ inline wxString zToWx(const Zchar* str) { #ifdef FFS_WIN - return str; + return cvrtString<wxString>(str); #elif defined FFS_LINUX - return wxString::FromUTF8(str); + return utf8ToWide<wxString>(str); #endif } @@ -74,7 +73,11 @@ wxString zToWx(const Zchar* str) inline wxString zToWx(Zchar ch) { - return zToWx(Zstring() + ch); +#ifdef FFS_WIN + return cvrtString<wxString>(ch); +#elif defined FFS_LINUX + return utf8ToWide<wxString>(ch); +#endif } //----------------------------------------------------------------- @@ -82,9 +85,9 @@ inline Zstring wxToZ(const wxString& str) { #ifdef FFS_WIN - return Zstring(str.c_str(), str.length()); + return cvrtString<Zstring>(str); #elif defined FFS_LINUX - return Zstring(str.ToUTF8()); + return wideToUtf8<Zstring>(str); #endif } @@ -93,9 +96,9 @@ inline Zstring wxToZ(const wxChar* str) { #ifdef FFS_WIN - return str; + return cvrtString<Zstring>(str); #elif defined FFS_LINUX - return Zstring(wxString(str).ToUTF8()); + return wideToUtf8<Zstring>(str); #endif } @@ -103,21 +106,11 @@ Zstring wxToZ(const wxChar* str) inline Zstring wxToZ(wxChar ch) { - return wxToZ(wxString(ch)); -} - - -inline -wxString zxToWx(const zxString& str) -{ - return wxString(str.c_str(), str.length()); -} - - -inline -zxString wxToZx(const wxString& str) -{ - return zxString(str.c_str(), str.length()); +#ifdef FFS_WIN + return cvrtString<Zstring>(ch); +#elif defined FFS_LINUX + return wideToUtf8<Zstring>(ch); +#endif } } diff --git a/shared/string_tools.h b/shared/string_tools.h index 53365f71..d2e2c597 100644 --- a/shared/string_tools.h +++ b/shared/string_tools.h @@ -1,54 +1,80 @@ // ************************************************************************** -// * This file is part of the FreeFileSync project. It is distributed under * -// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * -// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * +// * This file is part of the zenXML project. It is distributed under the * +// * Boost Software License, Version 1.0. See accompanying file * +// * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. * +// * Copyright (C) 2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** -// + #ifndef STRING_TOOLS_HEADER_213458973046 #define STRING_TOOLS_HEADER_213458973046 #include <cstddef> //size_t #include <cctype> //isspace #include <cwctype> //iswspace +#include <cwchar> //swprintf +#include <cstdio> //sprintf #include <algorithm> #include <cassert> #include <sstream> #include <functional> #include <vector> +#include "loki/TypeManip.h" +#include "loki/EmptyType.h" #include "loki/TypeTraits.h" +#include "assert_static.h" +#ifdef _MSC_VER +template <> struct Loki::IsCustomUnsignedInt<unsigned __int64> { enum { value = 1 }; }; +template <> struct Loki::IsCustomSignedInt <signed __int64> { enum { value = 1 }; }; +#endif //enhance arbitray string class with useful non-member functions: namespace zen { -template <class C> size_t cStringLength(const C* input); //strlen() -template <class C> bool cStringIsWhiteSpace(C ch); -template <class C> bool cStringIsDigit(C ch); - -template <class S> bool startsWith(const S& str, typename S::value_type prefix); -template <class S> bool startsWith(const S& str, const typename S::value_type* prefix); -template <class S, class T> bool startsWith(const S& str, const T& prefix, typename T::value_type dummy = 0); //SFINAE: T must be a "string" -template <class S> bool endsWith(const S& str, typename S::value_type postfix); -template <class S> bool endsWith(const S& str, const typename S::value_type* postfix); -template <class S, class T> bool endsWith(const S& str, const T& postfix, typename T::value_type dummy = 0); //SFINAE: T must be a "string" - -template <class S> S afterLast (const S& str, typename S::value_type ch); //returns the whole string if ch not found -template <class S> S beforeLast (const S& str, typename S::value_type ch); //returns empty string if ch not found -template <class S> S afterFirst (const S& str, typename S::value_type ch); //returns empty string if ch not found -template <class S> S beforeFirst(const S& str, typename S::value_type ch); //returns the whole string if ch not found +template <class C> size_t cStringLength(const C* str); //strlen() +template <class C> bool cStringIsWhiteSpace(C ch); +template <class C> bool cStringIsDigit(C ch); + +//uniform access to string-like types: classes and character arrays +/* +strBegin(): + std::wstring str(L"dummy"); + char array[] = "dummy"; + const wchar_t* iter = strBegin(str); //returns str.c_str() + const char* iter2 = strBegin(array); //returns array + +strLength(): + strLength(str); //equals str.size() + strLength(array); //equals cStringLength(array) + +StringTraits<>: + StringTraits<std::wstring>::CharType //equals wchar_t + StringTraits<wchar_t[5]> ::CharType //equals wchar_t + StringTraits<const wchar_t*>::isStringLike; //equals "true" + StringTraits<const int*> ::isStringLike; //equals "false" + StringTraits<std::wstring>::isStringClass //equals "true" + StringTraits<wchar_t[5]> ::isStringClass //equals "false" +*/ + +template <class S, class T> bool startsWith(const S& str, const T& prefix); //both S and T can be strings or char/wchar_t arrays or simple char/wchar_t +template <class S, class T> bool endsWith (const S& str, const T& postfix); // + +template <class S, class T> S afterLast (const S& str, const T& ch); //returns the whole string if ch not found +template <class S, class T> S beforeLast (const S& str, const T& ch); //returns empty string if ch not found +template <class S, class T> S afterFirst (const S& str, const T& ch); //returns empty string if ch not found +template <class S, class T> S beforeFirst(const S& str, const T& ch); //returns the whole string if ch not found template <class S, class T> std::vector<S> split(const S& str, const T& delimiter); template <class S> void truncate(S& str, size_t newLen); -template <class S> void replace(S& str, const typename S::value_type* old, const typename S::value_type* replacement, bool replaceAll); +template <class S, class T, class U> void replace(S& str, const T& old, const U& replacement, bool replaceAll = true); template <class S> void trim(S& str, bool fromLeft = true, bool fromRight = true); -//formatted number conversion the C++ way +//high-performance conversion from numbers to strings template <class S, class Num> S toString(const Num& number); template <class Num, class S> Num toNumber(const S& str); - - - +//string to string conversion: converst string-like type into compatible target string class +template <class T, class S> T cvrtString(const S& str); @@ -87,36 +113,31 @@ template <class Num, class S> Num toNumber(const S& str); //---------------------- implementation ---------------------- -template <class C> -inline -size_t cStringLength(const C* input) //strlen() +template <class C> inline +size_t cStringLength(const C* str) //strlen() { - const C* iter = input; - while (*iter != 0) - ++iter; - return iter - input; + assert_static((Loki::IsSameType<C, char>::value || Loki::IsSameType<C, wchar_t>::value)); + size_t len = 0; + while (*str++ != 0) + ++len; + return len; } -template <> -inline +template <> inline bool cStringIsWhiteSpace(char ch) { - const unsigned char usc = ch; //caveat 1: std::isspace() takes an int, but expects an unsigned char - return usc < 128 && //caveat 2: some parts of UTF-8 chars are erroneously seen as whitespace, e.g. the a0 from "\xec\x8b\xa0" (MSVC) - std::isspace(usc) != 0; -} - -template <> -inline -bool cStringIsWhiteSpace(wchar_t ch) -{ - return std::iswspace(ch) != 0; //some compilers (e.g. VC++ 6.0) return true for a call to isspace('\xEA'); but no issue with newer versions of MSVC + //caveat 1: std::isspace() takes an int, but expects an unsigned char + //caveat 2: some parts of UTF-8 chars are erroneously seen as whitespace, e.g. the a0 from "\xec\x8b\xa0" (MSVC) + return static_cast<unsigned char>(ch) < 128 && + std::isspace(static_cast<unsigned char>(ch)) != 0; } +template <> inline bool cStringIsWhiteSpace(unsigned char ch) { return cStringIsWhiteSpace<char>(ch); } +template <> inline bool cStringIsWhiteSpace(signed char ch) { return cStringIsWhiteSpace<char>(ch); } +template <> inline bool cStringIsWhiteSpace(wchar_t ch) { return std::iswspace(ch) != 0; } -template <> -inline +template <> inline bool cStringIsDigit(char ch) { return std::isdigit(static_cast<unsigned char>(ch)) != 0; //caveat: takes an int, but expects an unsigned char @@ -130,85 +151,179 @@ bool cStringIsDigit(wchar_t ch) return std::iswdigit(ch) != 0; } - -template <class S> -inline -bool startsWith(const S& str, typename S::value_type prefix) +namespace implementation { - return str.length() != 0 && str.operator[](0) == prefix; -} +template <class T> +struct UnArray { typedef T NonArrayType; }; +template <class T, int N> +struct UnArray<T[N]> { typedef T NonArrayType; }; -template <class S> -inline -bool startsWith(const S& str, const typename S::value_type* prefix) +template <class T> +struct UnPointer { typedef T NonPtrType; }; + +template <class T> +struct UnPointer<T*> { typedef T NonPtrType; }; + +template <class T> +struct UnReference { typedef T NonRefType; }; + +template <class T> +struct UnReference<T&> { typedef T NonRefType; }; + + +template<typename T> +class HasValueType { - const size_t pfLength = cStringLength(prefix); - if (str.length() < pfLength) - return false; + typedef char Yes[1]; + typedef char No [2]; - return std::equal(str.c_str(), str.c_str() + pfLength, - prefix); -} + template <typename U> class HelperTp {}; + //detect presence of a member type called value_type + template <class U> static Yes& hasMemberValueType(HelperTp<typename U::value_type>*); + template <class U> static No& hasMemberValueType(...); -template <class S, class T> -inline -bool startsWith(const S& str, const T& prefix, typename T::value_type) +public: + enum { Result = sizeof(hasMemberValueType<T>(NULL)) == sizeof(Yes) + }; +}; + + +template<typename T, bool isClassType> +class HasStringMembers { - if (str.length() < prefix.length()) - return false; +public: + enum { Result = false }; +}; - return std::equal(str.c_str(), str.c_str() + prefix.length(), - prefix.c_str()); -} +template<typename T> +class HasStringMembers<T, true> +{ + typedef char Yes[1]; + typedef char No [2]; + + //detect presence of member functions (without specific restriction on return type, within T or one of it's base classes) + template <typename U, U t> class HelperFn {}; + + struct Fallback + { + int c_str; + int length; + }; + + template <class U> + struct Helper2 : public U, public Fallback {}; //U must be a class-type! + + //we don't know the exact declaration of the member attribute (may be in base class), but we know what NOT to expect: + template <class U> static No& hasMemberCstr(HelperFn<int Fallback::*, &Helper2<U>::c_str>*); + template <class U> static Yes& hasMemberCstr(...); + + template <class U> static No& hasMemberLength(HelperFn<int Fallback::*, &Helper2<U>::length>*); + template <class U> static Yes& hasMemberLength(...); +public: + enum { Result = sizeof(hasMemberCstr <T>(NULL)) == sizeof(Yes) && + sizeof(hasMemberLength<T>(NULL)) == sizeof(Yes) + }; +}; + +template <class S, bool isStringClass> struct StringTraits2 { typedef Loki::EmptyType Result; }; //"StringTraits2": fix some VS bug with namespace and partial template specialization +template <class S> struct StringTraits2<S, true> { typedef typename S::value_type Result; }; +template <> struct StringTraits2<char, false> { typedef char Result; }; +template <> struct StringTraits2<wchar_t, false> { typedef wchar_t Result; }; +} template <class S> -inline -bool endsWith(const S& str, typename S::value_type postfix) +struct StringTraits { - const size_t len = str.length(); - return len != 0 && str.operator[](len - 1) == postfix; -} +private: + typedef typename implementation::UnReference<S>::NonRefType NonRefType; + typedef typename Loki::TypeTraits<NonRefType>::NonConstType UndecoratedType; + + typedef typename implementation::UnArray<UndecoratedType>::NonArrayType NonArrayType; + typedef typename implementation::UnPointer<NonArrayType>::NonPtrType NonPtrType; + typedef typename Loki::TypeTraits<NonPtrType>::NonConstType NonConstValType; //handle "const char* const" +public: + enum + { + isStringClass = implementation::HasStringMembers<UndecoratedType, implementation::HasValueType<UndecoratedType>::Result>::Result + }; + typedef typename implementation::StringTraits2<NonConstValType, isStringClass>::Result CharType; -template <class S> -inline -bool endsWith(const S& str, const typename S::value_type* postfix) + enum + { + isStringLike = Loki::IsSameType<CharType, char>::value || Loki::IsSameType<CharType, wchar_t>::value + }; +}; + + +template <class S> inline +const typename StringTraits<S>::CharType* strBegin(const S& str, typename S::value_type dummy = 0) { return str.c_str(); } //SFINAE: T must be a "string" + +template <class Char> +inline const typename StringTraits<Char>::CharType* strBegin(const Char* str) { return str; } +inline const char* strBegin(const char& ch) { return &ch; } +inline const wchar_t* strBegin(const wchar_t& ch) { return &ch; } + + +template <class S> inline +size_t strLength(const S& str, typename S::value_type dummy = 0) { return str.length(); } //SFINAE: T must be a "string" + +template <class Char> +inline size_t strLength(const Char* str) { return cStringLength(str); } +inline size_t strLength(char) { return 1; } +inline size_t strLength(wchar_t) { return 1; } + + +template <class S, class T> inline +bool startsWith(const S& str, const T& prefix) { - const size_t pfLength = cStringLength(postfix); - if (str.length() < pfLength) + assert_static(StringTraits<S>::isStringLike); + assert_static(StringTraits<T>::isStringLike); + + const size_t pfLength = strLength(prefix); + if (strLength(str) < pfLength) return false; - const typename S::value_type* cmpBegin = str.c_str() + str.length() - pfLength; - return std::equal(cmpBegin, cmpBegin + pfLength, - postfix); + return std::equal(strBegin(str), strBegin(str) + pfLength, + strBegin(prefix)); } -template <class S, class T> -inline -bool endsWith(const S& str, const T& postfix, typename T::value_type) +template <class S, class T> inline +bool endsWith(const S& str, const T& postfix) { - if (str.length() < postfix.length()) + assert_static(StringTraits<S>::isStringLike); + assert_static(StringTraits<T>::isStringLike); + + size_t strLen = strLength(str); + size_t pfLen = strLength(postfix); + if (strLen < pfLen) return false; - const typename S::value_type* cmpBegin = str.c_str() + str.length() - postfix.length(); - return std::equal(cmpBegin, cmpBegin + postfix.length(), - postfix.c_str()); + typedef typename StringTraits<S>::CharType CharType; + + const CharType* cmpBegin = strBegin(str) + strLen - pfLen; + return std::equal(cmpBegin, cmpBegin + pfLen, + strBegin(postfix)); } // get all characters after the last occurence of ch // (returns the whole string if ch not found) -template <class S> -inline -S afterLast(const S& str, typename S::value_type ch) +template <class S, class T> inline +S afterLast(const S& str, const T& ch) { + assert_static(StringTraits<T>::isStringLike); + const size_t pos = str.rfind(ch); if (pos != S::npos) - return S(str.c_str() + pos + 1, str.length() - pos - 1); + { + size_t chLen = strLength(ch); + return S(str.c_str() + pos + chLen, str.length() - pos - chLen); + } else return str; } @@ -216,10 +331,11 @@ S afterLast(const S& str, typename S::value_type ch) // get all characters before the last occurence of ch // (returns empty string if ch not found) -template <class S> -inline -S beforeLast(const S& str, typename S::value_type ch) +template <class S, class T> inline +S beforeLast(const S& str, const T& ch) { + assert_static(StringTraits<T>::isStringLike); + const size_t pos = str.rfind(ch); if (pos != S::npos) return S(str.c_str(), pos); //data is non-empty string in this context: else ch would not have been found! @@ -229,13 +345,17 @@ S beforeLast(const S& str, typename S::value_type ch) //returns empty string if ch not found -template <class S> -inline -S afterFirst(const S& str, typename S::value_type ch) +template <class S, class T> inline +S afterFirst(const S& str, const T& ch) { + assert_static(StringTraits<T>::isStringLike); + const size_t pos = str.find(ch); if (pos != S::npos) - return S(str.c_str() + pos + 1, str.length() - pos - 1); + { + size_t chLen = strLength(ch); + return S(str.c_str() + pos + chLen, str.length() - pos - chLen); + } else return S(); @@ -243,11 +363,12 @@ S afterFirst(const S& str, typename S::value_type ch) //returns the whole string if ch not found -template <class S> -inline -S beforeFirst(const S& str, typename S::value_type ch) +template <class S, class T> inline +S beforeFirst(const S& str, const T& ch) { - const size_t pos = str.find(ch, 0); + assert_static(StringTraits<T>::isStringLike); + + const size_t pos = str.find(ch); if (pos != S::npos) return S(str.c_str(), pos); //data is non-empty string in this context: else ch would not have been found! else @@ -255,18 +376,19 @@ S beforeFirst(const S& str, typename S::value_type ch) } -template <class S, class T> -inline +template <class S, class T> inline std::vector<S> split(const S& str, const T& delimiter) { - const S delim = S() + delimiter; //handle char, char* and string + assert_static(StringTraits<T>::isStringLike); + std::vector<S> output; size_t bockStart = 0; - if (!delim.empty()) + size_t delimLen = strLength(delimiter); + if (delimLen != 0) { - for (size_t blockEnd = str.find(delim, bockStart); + for (size_t blockEnd = str.find(delimiter, bockStart); blockEnd != S::npos; - bockStart = blockEnd + delim.size(), blockEnd = str.find(delim, bockStart)) + bockStart = blockEnd + delimLen, blockEnd = str.find(delimiter, bockStart)) { output.push_back(S(str.c_str() + bockStart, blockEnd - bockStart)); } @@ -276,8 +398,7 @@ std::vector<S> split(const S& str, const T& delimiter) } -template <class S> -inline +template <class S> inline void truncate(S& str, size_t newLen) { if (newLen < str.length()) @@ -285,18 +406,19 @@ void truncate(S& str, size_t newLen) } -template <class S> -inline -void replace(S& str, const typename S::value_type* old, const typename S::value_type* replacement, bool replaceAll) +template <class S, class T, class U> inline +void replace(S& str, const T& old, const U& replacement, bool replaceAll) { - const size_t oldLen = cStringLength(old); - const size_t replacementLen = cStringLength(replacement); + assert_static(StringTraits<T>::isStringLike); + assert_static(StringTraits<U>::isStringLike); size_t pos = 0; + size_t oldLen = strLength(old); + size_t repLen = strLength(replacement); while ((pos = str.find(old, pos)) != S::npos) { - str.replace(pos, oldLen, replacement, replacementLen); - pos += replacementLen; //move past the string that was replaced + str.replace(pos, oldLen, replacement); + pos += repLen; //move past the string that was replaced if (!replaceAll) break; @@ -304,8 +426,7 @@ void replace(S& str, const typename S::value_type* old, const typename S::value_ } -template <class S> -inline +template <class S> inline void trim(S& str, bool fromLeft, bool fromRight) { assert(fromLeft || fromRight); @@ -334,93 +455,205 @@ void trim(S& str, bool fromLeft, bool fromRight) } -namespace +namespace implementation { template <class S, class T> struct CnvtStringToString { - T convert(const S& src) const { return T(src.c_str(), src.size()); } + T convert(const S& src) const { return T(strBegin(src), strLength(src)); } }; template <class S> -struct CnvtStringToString<S, S> //optimization: for "basic_string -> basic_string" we don't need a deep copy +struct CnvtStringToString<S, S> //perf: we don't need a deep copy if string types match { - S convert(const S& src) const { return src; } + const S& convert(const S& src) const { return src; } }; +} +template <class T, class S> inline +T cvrtString(const S& str) { return implementation::CnvtStringToString<S, T>().convert(str); } -template <class S, class Num> + +namespace implementation +{ +enum NumberType +{ + NUM_TYPE_SIGNED_INT, + NUM_TYPE_UNSIGNED_INT, + NUM_TYPE_FLOATING_POINT, + NUM_TYPE_OTHER, +}; + + +template <class S, class Num, NumberType> struct CvrtNumberToString { - S convert(const Num& number) const //convert string to number using streams: convenient, but SLOW + S convert(const Num& number) const //default number to string conversion using streams: convenient, but SLOW, SLOW, SLOW!!!! (~ factor of 20) { - typedef typename S::value_type CharType; + typedef typename StringTraits<S>::CharType CharType; std::basic_ostringstream<CharType> ss; ss << number; - return CnvtStringToString<std::basic_string<CharType>, S>().convert(ss.str()); + return cvrtString<S>(ss.str()); } }; -template <class S, class Num, bool isIntegral> -struct CvrtStringToNumber +template <class S, class Num> +struct CvrtNumberToString<S, Num, NUM_TYPE_FLOATING_POINT> { - Num convert(const S& str) const //convert number to string using streams: convenient, but SLOW + S convert(const Num& number) const { return convertFloat(number, typename StringTraits<S>::CharType()); } + +private: + S convertFloat(const Num& number, char) const + { + char buffer[50]; + int charsWritten = std::sprintf(buffer, "%f", static_cast<double>(number)); + return charsWritten > 0 ? S(buffer, charsWritten) : S(); + } + S convertFloat(const Num& number, wchar_t) const { - typedef typename S::value_type CharType; + wchar_t buffer[50]; +#ifdef __MINGW32__ + int charsWritten = ::swprintf(buffer, L"%f", static_cast<double>(number)); //MinGW does not comply to the C standard! +#else + int charsWritten = std::swprintf(buffer, 50, L"%f", static_cast<double>(number)); +#endif + return charsWritten > 0 ? S(buffer, charsWritten) : S(); + } +}; + +/* +perf: integer to string: (executed 10 mio. times) + std::stringstream - 14796 ms + std::sprintf - 3086 ms + hand coded - 778 ms +*/ + +template <class S, class Num> inline +S formatInteger(Num n, bool hasMinus) +{ + assert(n >= 0); + S output; + do + { + output += '0' + n % 10; + n /= 10; + } + while (n != 0); + if (hasMinus) + output += '-'; + + std::reverse(output.begin(), output.end()); + return output; +} +template <class S, class Num> +struct CvrtNumberToString<S, Num, NUM_TYPE_SIGNED_INT> +{ + S convert(const Num& number) const { return formatInteger<S>(number < 0 ? -number : number, number < 0); } +}; + +template <class S, class Num> +struct CvrtNumberToString<S, Num, NUM_TYPE_UNSIGNED_INT> +{ + S convert(const Num& number) const { return formatInteger<S>(number, false); } +}; + +//-------------------------------------------------------------------------------- + +template <class S, class Num, NumberType> +struct CvrtStringToNumber +{ + Num convert(const S& str) const //default string to number conversion using streams: convenient, but SLOW + { + typedef typename StringTraits<S>::CharType CharType; Num number = 0; - std::basic_istringstream<CharType>(CnvtStringToString<S, std::basic_string<CharType> >().convert(str)) >> number; + std::basic_istringstream<CharType>(cvrtString<std::basic_string<CharType> >(str)) >> number; return number; } }; template <class S, class Num> -struct CvrtStringToNumber<S, Num, true> +struct CvrtStringToNumber<S, Num, NUM_TYPE_FLOATING_POINT> { - Num convert(const S& str) const //very fast conversion to integers: slightly faster than std::atoi, but more importantly: generic - { - typedef typename S::value_type CharType; + Num convert(const S& str) const { return convertFloat(strBegin(str)); } + +private: + Num convertFloat(const char* str) const { return std::strtod(str, NULL); } + Num convertFloat(const wchar_t* str) const { return std::wcstod(str, NULL); } +}; - const CharType* first = str.c_str(); - const CharType* last = first + str.size(); +template <class Num, class S> +Num extractInteger(const S& str, bool& hasMinusSign) //very fast conversion to integers: slightly faster than std::atoi, but more importantly: generic +{ + typedef typename StringTraits<S>::CharType CharType; - while (first != last && cStringIsWhiteSpace(*first)) //skip leading whitespace - ++first; + const CharType* first = strBegin(str); + const CharType* last = first + strLength(str); - bool hasMinusSign = false; //handle minus sign - if (first != last) + while (first != last && cStringIsWhiteSpace(*first)) //skip leading whitespace + ++first; + + hasMinusSign = false; //handle minus sign + if (first != last) + { + if (*first == '-') { - if (*first == '-') - { - hasMinusSign = true; - ++first; - } - else if (*first == '+') - ++first; + hasMinusSign = true; + ++first; } + else if (*first == '+') + ++first; + } - Num number = 0; - for (const CharType* iter = first; iter != last; ++iter) + Num number = 0; + for (const CharType* iter = first; iter != last; ++iter) + { + const CharType c = *iter; + if ('0' <= c && c <= '9') + { + number *= 10; + number += c - '0'; + } + else { - const CharType c = *iter; - if ('0' <= c && c <= '9') - { - number *= 10; - number += c - '0'; - } - else - { - assert(std::find_if(iter, last, std::not1(std::ptr_fun(&cStringIsWhiteSpace<CharType>))) == last); //rest of string should contain whitespace only - break; - } + assert(std::find_if(iter, last, std::not1(std::ptr_fun(&cStringIsWhiteSpace<CharType>))) == last); //rest of string should contain whitespace only + break; } + } + return number; +} + +template <class S, class Num> +struct CvrtStringToNumber<S, Num, NUM_TYPE_SIGNED_INT> +{ + Num convert(const S& str) const + { + bool hasMinusSign = false; //handle minus sign + const Num number = extractInteger<Num>(str, hasMinusSign); return hasMinusSign ? -number : number; } }; + + +template <class S, class Num> +struct CvrtStringToNumber<S, Num, NUM_TYPE_UNSIGNED_INT> +{ + Num convert(const S& str) const //very fast conversion to integers: slightly faster than std::atoi, but more importantly: generic + { + bool hasMinusSign = false; //handle minus sign + const Num number = extractInteger<Num>(str, hasMinusSign); + if (hasMinusSign) + { + assert(false); + return 0U; + } + return number; + } +}; } @@ -428,15 +661,27 @@ template <class S, class Num> inline S toString(const Num& number) //convert number to string the C++ way { - return CvrtNumberToString<S, Num>().convert(number); + using namespace implementation; + return CvrtNumberToString<S, Num, + Loki::TypeTraits<Num>::isSignedInt ? NUM_TYPE_SIGNED_INT : + Loki::TypeTraits<Num>::isUnsignedInt ? NUM_TYPE_UNSIGNED_INT : + Loki::TypeTraits<Num>::isFloat ? NUM_TYPE_FLOATING_POINT : + NUM_TYPE_OTHER + >().convert(number); } template <class Num, class S> inline -Num toNumber(const S& str) //convert number to string the C++ way +Num toNumber(const S& str) //convert string to number the C++ way { - return CvrtStringToNumber<S, Num, Loki::TypeTraits<Num>::isIntegral>().convert(str); + using namespace implementation; + return CvrtStringToNumber<S, Num, + Loki::TypeTraits<Num>::isSignedInt ? NUM_TYPE_SIGNED_INT : + Loki::TypeTraits<Num>::isUnsignedInt ? NUM_TYPE_UNSIGNED_INT : + Loki::TypeTraits<Num>::isFloat ? NUM_TYPE_FLOATING_POINT : + NUM_TYPE_OTHER + >().convert(str); } } diff --git a/shared/string_utf8.h b/shared/string_utf8.h new file mode 100644 index 00000000..f6f12d8f --- /dev/null +++ b/shared/string_utf8.h @@ -0,0 +1,333 @@ +// ************************************************************************** +// * This file is part of the zenXML project. It is distributed under the * +// * Boost Software License, Version 1.0. See accompanying file * +// * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. * +// * Copyright (C) 2011 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** + +#ifndef STRING_UTF8_HEADER_01832479146991573473545 +#define STRING_UTF8_HEADER_01832479146991573473545 + +#include <iterator> +#include "loki/TypeManip.h" +#include "string_tools.h" +#include "assert_static.h" + +namespace zen +{ +//Example: std::string tmp = toUtf8<std::string>(L"abc"); +template <class CharString, class WideString> +CharString wideToUtf8(const WideString& str); + +//Example: std::wstring tmp = utf8To<std::wstring>("abc"); +template <class WideString, class CharString> +WideString utf8ToWide(const CharString& str); + +const char BYTE_ORDER_MARK_UTF8[] = "\xEF\xBB\xBF"; + +//convert any(!) "string-like" object into a UTF8 encoded std::string +template <class String> std::string toStdString(const String& str); +//convert a UTF8 encoded std::string to any(!) string-class +template <class String> String stdStringTo(const std::string& str); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +//----------------------- implementation ---------------------------------- +namespace implementation +{ +typedef unsigned int CodePoint; + +const CodePoint CODE_POINT_MAX = 0x10ffff; + +const CodePoint HIGH_SURROGATE = 0xd800; +const CodePoint HIGH_SURROGATE_MAX = 0xdbff; + +const CodePoint LOW_SURROGATE = 0xdc00; +const CodePoint LOW_SURROGATE_MAX = 0xdfff; + + +template <class OutputIterator> inline +OutputIterator codePointToUtf16(CodePoint cp, OutputIterator result) //http://en.wikipedia.org/wiki/UTF-16 +{ + typedef unsigned short Char16; //this isn't necessarily 16 bit, but all we need is an unsigned type + + assert(cp < HIGH_SURROGATE || LOW_SURROGATE_MAX < cp); //code points [0xd800, 0xdfff] are not allowed for UTF-16 + assert(cp <= CODE_POINT_MAX); + + if (cp < 0x10000) + *result++ = static_cast<Char16>(cp); + else + { + cp -= 0x10000; + *result++ = static_cast<Char16>((cp >> 10) + HIGH_SURROGATE); + *result++ = static_cast<Char16>((cp & 0x3ff) + LOW_SURROGATE); + } + return result; +} + + +template <class CharIterator, class Function> inline +Function utf16ToCodePoint(CharIterator first, CharIterator last, Function f) //f is a unary function taking a CodePoint as single parameter +{ + assert_static(sizeof(typename std::iterator_traits<CharIterator>::value_type) == 2); + typedef unsigned short Char16; //this isn't necessarily 16 bit, but all we need is an unsigned type + + for ( ; first != last; ++first) + { + CodePoint cp = static_cast<Char16>(*first); + if (HIGH_SURROGATE <= cp && cp <= HIGH_SURROGATE_MAX) + { + if (++first == last) + { + assert(false); //low surrogate expected + break; + } + assert(LOW_SURROGATE <= static_cast<Char16>(*first) && static_cast<Char16>(*first) <= LOW_SURROGATE_MAX); //low surrogate expected + cp = ((cp - HIGH_SURROGATE) << 10) + static_cast<Char16>(*first) - LOW_SURROGATE + 0x10000; + } + else + assert(cp < LOW_SURROGATE || LOW_SURROGATE_MAX < cp); //NO low surrogate expected + + f(cp); + } + return f; +} + + +template <class OutputIterator> inline +OutputIterator codePointToUtf8(CodePoint cp, OutputIterator result) //http://en.wikipedia.org/wiki/UTF-8 +{ + typedef unsigned char Char8; + + assert(cp <= CODE_POINT_MAX); + + if (cp < 0x80) + *result++ = static_cast<Char8>(cp); + else if (cp < 0x800) + { + *result++ = static_cast<Char8>((cp >> 6 )| 0xc0); + *result++ = static_cast<Char8>((cp & 0x3f )| 0x80); + } + else if (cp < 0x10000) + { + *result++ = static_cast<Char8>((cp >> 12 )| 0xe0); + *result++ = static_cast<Char8>(((cp >> 6) & 0x3f )| 0x80); + *result++ = static_cast<Char8>((cp & 0x3f )| 0x80); + } + else + { + *result++ = static_cast<Char8>((cp >> 18 )| 0xf0); + *result++ = static_cast<Char8>(((cp >> 12) & 0x3f )| 0x80); + *result++ = static_cast<Char8>(((cp >> 6) & 0x3f )| 0x80); + *result++ = static_cast<Char8>((cp & 0x3f )| 0x80); + } + return result; +} + + +inline +size_t getUtf8Len(unsigned char ch) +{ + if (ch < 0x80) + return 1; + if (ch >> 5 == 0x6) + return 2; + if (ch >> 4 == 0xe) + return 3; + if (ch >> 3 == 0x1e) + return 4; + + assert(false); //no valid begin of UTF8 encoding + return 1; +} + + +template <class CharIterator, class Function> inline +Function utf8ToCodePoint(CharIterator first, CharIterator last, Function f) //f is a unary function taking a CodePoint as single parameter +{ + assert_static(sizeof(typename std::iterator_traits<CharIterator>::value_type) == 1); + typedef unsigned char Char8; + + for ( ; first != last; ++first) + { + auto getChar = [&](Char8& ch ) -> bool + { + if (++first == last) + { + assert(false); //low surrogate expected + return false; + } + ch = static_cast<Char8>(*first); + assert(ch >> 6 == 0x2); + return true; + }; + + CodePoint cp = static_cast<Char8>(*first); + switch (getUtf8Len(cp)) + { + case 1: + break; + case 2: + { + cp = (cp & 0x1f) << 6; + Char8 ch; + if (!getChar(ch)) continue; + cp += ch & 0x3f; + } + break; + case 3: + { + cp = (cp & 0xf) << 12; + Char8 ch; + if (!getChar(ch)) continue; + cp += (ch & 0x3f) << 6; + if (!getChar(ch)) continue; + cp += ch & 0x3f; + + } + break; + case 4: + { + cp = (cp & 0x7) << 18; + Char8 ch; + if (!getChar(ch)) continue; + cp += (ch & 0x3f) << 12; + if (!getChar(ch)) continue; + cp += (ch & 0x3f) << 6; + if (!getChar(ch)) continue; + cp += ch & 0x3f; + } + break; + default: + assert(false); + } + f(cp); + } + return f; +} + + +template <class String> +class AppendStringIterator: public std::iterator<std::output_iterator_tag, void, void, void, void> +{ +public: + explicit AppendStringIterator (String& x) : str(x) {} + AppendStringIterator& operator= (typename String::value_type value) { str += value; return *this; } + AppendStringIterator& operator* () { return *this; } + AppendStringIterator& operator++ () { return *this; } + AppendStringIterator operator++ (int) { return *this; } +private: + String& str; +}; + + +template <class WideString, class CharString> inline +WideString utf8ToWide(const CharString& str, Loki::Int2Type<2>) //windows: convert utf8 to utf16 wchar_t +{ + WideString output; + utf8ToCodePoint(strBegin(str), strBegin(str) + strLength(str), + [&](CodePoint cp) { codePointToUtf16(cp, AppendStringIterator<WideString>(output)); }); + return output; +} + + +template <class WideString, class CharString> inline +WideString utf8ToWide(const CharString& str, Loki::Int2Type<4>) //other OS: convert utf8 to utf32 wchar_t +{ + WideString output; + utf8ToCodePoint(strBegin(str), strBegin(str) + strLength(str), + [&](CodePoint cp) { output += cp; }); + return output; +} + + +template <class CharString, class WideString> inline +CharString wideToUtf8(const WideString& str, Loki::Int2Type<2>) //windows: convert utf16-wchar_t to utf8 +{ + CharString output; + utf16ToCodePoint(strBegin(str), strBegin(str) + strLength(str), + [&](CodePoint cp) { codePointToUtf8(cp, AppendStringIterator<CharString>(output)); }); + return output; +} + + +template <class CharString, class WideString> inline +CharString wideToUtf8(const WideString& str, Loki::Int2Type<4>) //other OS: convert utf32-wchar_t to utf8 +{ + CharString output; + std::for_each(strBegin(str), strBegin(str) + strLength(str), + [&](CodePoint cp) { codePointToUtf8(cp, AppendStringIterator<CharString>(output)); }); + return output; +} +} + + +template <class WideString, class CharString> inline +WideString utf8ToWide(const CharString& str) +{ + assert_static((Loki::IsSameType<typename StringTraits<CharString>::CharType, char >::value)); + assert_static((Loki::IsSameType<typename StringTraits<WideString>::CharType, wchar_t>::value)); + + return implementation::utf8ToWide<WideString>(str, Loki::Int2Type<sizeof(wchar_t)>()); +} + + +template <class CharString, class WideString> inline +CharString wideToUtf8(const WideString& str) +{ + assert_static((Loki::IsSameType<typename StringTraits<CharString>::CharType, char >::value)); + assert_static((Loki::IsSameType<typename StringTraits<WideString>::CharType, wchar_t>::value)); + + return implementation::wideToUtf8<CharString>(str, Loki::Int2Type<sizeof(wchar_t)>()); +} + + +//------------------------------------------------------------------------------------------- +template <class String> inline +std::string toStdString(const String& str, wchar_t) { return wideToUtf8<std::string>(str); } //convert wide character string to UTF8 + +template <class String> inline +std::string toStdString(const String& str, char) { return cvrtString<std::string>(str); } //directly process string without UTF8 conversion + +template <class String> inline +std::string toStdString(const String& str) { return toStdString(str, typename StringTraits<String>::CharType()); } +//------------------------------------------------------------------------------------------- + +template <class String> inline +String stdStringTo(const std::string& str, wchar_t) { return utf8ToWide<String>(str); } //convert UTF8 to wide character string + +template <class String> inline +String stdStringTo(const std::string& str, char) { return cvrtString<String>(str); } //directly process string without UTF8 conversion + +template <class String> inline +String stdStringTo(const std::string& str) { return stdStringTo<String>(str, typename StringTraits<String>::CharType()); } +} + +#endif //STRING_UTF8_HEADER_01832479146991573473545 diff --git a/shared/tinyxml/Makefile b/shared/tinyxml/Makefile deleted file mode 100644 index 5ffb9526..00000000 --- a/shared/tinyxml/Makefile +++ /dev/null @@ -1,130 +0,0 @@ -#**************************************************************************** -# -# Makefile for TinyXml test. -# Lee Thomason -# www.grinninglizard.com -# -# This is a GNU make (gmake) makefile -#**************************************************************************** - -# DEBUG can be set to YES to include debugging info, or NO otherwise -DEBUG := NO - -# PROFILE can be set to YES to include profiling info, or NO otherwise -PROFILE := NO - -# TINYXML_USE_STL can be used to turn on STL support. NO, then STL -# will not be used. YES will include the STL files. -TINYXML_USE_STL := NO - -#**************************************************************************** - -CC := gcc -CXX := g++ -LD := g++ -AR := ar rc -RANLIB := ranlib - -DEBUG_CFLAGS := -Wall -Wno-format -g -DDEBUG -RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 - -LIBS := - -DEBUG_CXXFLAGS := ${DEBUG_CFLAGS} -RELEASE_CXXFLAGS := ${RELEASE_CFLAGS} - -DEBUG_LDFLAGS := -g -RELEASE_LDFLAGS := - -ifeq (YES, ${DEBUG}) - CFLAGS := ${DEBUG_CFLAGS} - CXXFLAGS := ${DEBUG_CXXFLAGS} - LDFLAGS := ${DEBUG_LDFLAGS} -else - CFLAGS := ${RELEASE_CFLAGS} - CXXFLAGS := ${RELEASE_CXXFLAGS} - LDFLAGS := ${RELEASE_LDFLAGS} -endif - -ifeq (YES, ${PROFILE}) - CFLAGS := ${CFLAGS} -pg -O3 - CXXFLAGS := ${CXXFLAGS} -pg -O3 - LDFLAGS := ${LDFLAGS} -pg -endif - -#**************************************************************************** -# Preprocessor directives -#**************************************************************************** - -ifeq (YES, ${TINYXML_USE_STL}) - DEFS := -DTIXML_USE_STL -else - DEFS := -endif - -#**************************************************************************** -# Include paths -#**************************************************************************** - -#INCS := -I/usr/include/g++-2 -I/usr/local/include -INCS := - - -#**************************************************************************** -# Makefile code common to all platforms -#**************************************************************************** - -CFLAGS := ${CFLAGS} ${DEFS} -CXXFLAGS := ${CXXFLAGS} ${DEFS} - -#**************************************************************************** -# Targets of the build -#**************************************************************************** - -OUTPUT := xmltest - -all: ${OUTPUT} - - -#**************************************************************************** -# Source files -#**************************************************************************** - -SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest.cpp tinyxmlerror.cpp tinystr.cpp - -# Add on the sources for libraries -SRCS := ${SRCS} - -OBJS := $(addsuffix .o,$(basename ${SRCS})) - -#**************************************************************************** -# Output -#**************************************************************************** - -${OUTPUT}: ${OBJS} - ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS} - -#**************************************************************************** -# common rules -#**************************************************************************** - -# Rules for compiling source files to object files -%.o : %.cpp - ${CXX} -c ${CXXFLAGS} ${INCS} $< -o $@ - -%.o : %.c - ${CC} -c ${CFLAGS} ${INCS} $< -o $@ - -dist: - bash makedistlinux - -clean: - -rm -f core ${OBJS} ${OUTPUT} - -depend: - #makedepend ${INCS} ${SRCS} - -tinyxml.o: tinyxml.h tinystr.h -tinyxmlparser.o: tinyxml.h tinystr.h -xmltest.o: tinyxml.h tinystr.h -tinyxmlerror.o: tinyxml.h tinystr.h diff --git a/shared/tinyxml/changes.txt b/shared/tinyxml/changes.txt deleted file mode 100644 index 15b51bd9..00000000 --- a/shared/tinyxml/changes.txt +++ /dev/null @@ -1,299 +0,0 @@ -Changes in version 1.0.1: -- Fixed comment tags which were outputing as '<?--' instead of - the correct '<!--'. -- Implemented the Next and Prev methods of the TiXmlAttribute class. -- Renamed 'LastAttribtute' to 'LastAttribute' -- Fixed bad pointer to 'isspace' that could occur while parsing text. -- Errors finding beginning and end of tags no longer throw it into an - infinite loop. (Hopefully.) - -Changes in version 1.0.2 -- Minor documentation fixes. - -Changes in version 1.0.3 -- After nodes are added to a document, they return a pointer - to the new node instead of a bool for success. -- Elements can be constructed with a value, which is the - element name. Every element must have a value or it will be - invalid, but the code changes to enforce this are not fully - in place. - -Changes in version 1.1.0 -- Added the TiXmlAttributeSet class to pull the attributes into - a seperate container. -- Moved the doubly liked list out of XmlBase. Now XmlBase only - requires the Print() function and defines some utility functions. -- Moved errors into a seperate file. (With the idea of internationalization - to the other latin-1 languages.) -- Added the "NodeType" -- Fixed white space parsing in text to conform with the standard. - Basically, all white space becomes just one space. -- Added the TiXmlDeclaration class to read xml declarations. - -Changes in version 1.2.0 -- Removed the factory. The factory was not really in the spirit - of small and simple, confused the code, and was of limited value. -- Added FirstChildElement and NextSiblingElement, because they - are such common functions. -- Re-wrote the example to test and demonstrate more functionality. - -Changes in version 1.2.1 -- Fixed a bug where comments couldn't be inside elements. -- Loading now clears out existing XML rather than appending. -- Added the "Clear" method on a node to delete all its children. - -Changes in version 1.2.2 -- Fixed TiXmlAttribute::Previous actually returning "next." Thanks - to Rickard Troedsson for the bug fix. - -Changes in version 1.2.3 -- Added the TIXML prefix to the error strings to resolve conflicts - with #defines in OS headers. Thanks to Steve Lhomme. -- Fixed a delete buf that should be a delete [] buf. - Thanks to Ephi Sinowitz. - -Changes in version 1.2.4 -- ReplaceChild() was almost guarenteed to fail. Should be fixed, - thanks to Joe Smith. Joe also pointed out that the Print() functions - should take stream references: I agree, and would like to overload - the Print() method to take either format, but I don't want to do - this in a dot release. -- Some compilers seem to need an extra <ctype.h> include. Thanks - to Steve Lhomme for that. - -Changes in version 2.0.0 BETA -- Made the ToXXX() casts safe if 'this' is null. - When "LoadFile" is called with a filename, the value will correctly get set. - Thanks to Brian Yoder. -- Fixed bug where isalpha() and isalnum() would get called with a negative value for - high ascii numbers. Thanks to Alesky Aksenov. -- Fixed some errors codes that were not getting set. -- Made methods "const" that were not. -- Added a switch to enable or disable the ignoring of white space. ( TiXmlDocument::SetIgnoreWhiteSpace() ) -- Greater standardization and code re-use in the parser. -- Added a stream out operator. -- Added a stream in operator. -- Entity support, of predefined entites. &#x entities are untouched by input or output. -- Improved text out formatting. -- Fixed ReplaceChild bug, thanks to Tao Chen. - -Changes in version 2.0.1 -- Fixed hanging on loading a 0 length file. Thanks to Jeff Scozzafava. -- Fixed crashing on InsertBeforeChild and InsertAfterChild. Also possibility of bad links being - created by same function. Thanks to Frank De prins. -- Added missing licence text. Thanks to Lars Willemsens. -- Added <ctype.h> include, at the suggestion of Steve Walters. - -Changes in version 2.1.0 -- Yves Berquin brings us the STL switch. The forum on SourceForge, and various emails to - me, have long debated all out STL vs. no STL at all. And now you can have it both ways. - TinyXml will compile either way. - -Changes in version 2.1.1 -- Compilation warnings. - -Changes in version 2.1.2 -- Uneeded code is not compiled in the STL case. -- Changed headers so that STL can be turned on or off in tinyxml.h - -Changes in version 2.1.3 -- Fixed non-const reference in API; now uses a pointer. -- Copy constructor of TiXmlString not checking for assignment to self. -- Nimrod Cohen found a truly evil bug in the STL implementation that occurs - when a string is converted to a c_str and then assigned to self. Search for - STL_STRING_BUG for a full description. I'm asserting this is a Microsoft STL - bug, since &string and string.c_str() should never be the same. Nevertheless, - the code works around it. -- Urivan Saaib pointed out a compiler conflict, where the C headers define - the isblank macro, which was wiping out the TiXmlString::isblank() method. - The method was unused and has been removed. - -Changes in version 2.1.4 -- Reworked the entity code. Entities were not correctly surving round trip input and output. - Will now automatically create entities for high ascii in output. - -Changes in version 2.1.5 -- Bug fix by kylotan : infinite loop on some input (tinyxmlparser.cpp rev 1.27) -- Contributed by Ivica Aracic (bytelord) : 1 new VC++ project to compile versions as static libraries (tinyxml_lib.dsp), - and an example usage in xmltest.dsp - (Patch request ID 678605) -- A suggestion by Ronald Fenner Jr (dormlock) to add #include <istream> and <ostream> for Apple's Project Builder - (Patch request ID 697642) -- A patch from ohommes that allows to parse correctly dots in element names and attribute names - (Patch request 602600 and kylotan 701728) -- A patch from hermitgeek ( James ) and wasteland for improper error reporting -- Reviewed by Lee, with the following changes: - - Got sick of fighting the STL/non-STL thing in the windows build. Broke - them out as seperate projects. - - I have too long not included the dsw. Added. - - TinyXmlText had a protected Print. Odd. - - Made LinkEndChild public, with docs and appropriate warnings. - - Updated the docs. - -2.2.0 -- Fixed an uninitialized pointer in the TiXmlAttributes -- Fixed STL compilation problem in MinGW (and gcc 3?) - thanks Brian Yoder for finding this one -- Fixed a syntax error in TiXmlDeclaration - thanks Brian Yoder -- Fletcher Dunn proposed and submitted new error handling that tracked the row and column. Lee - modified it to not have performance impact. -- General cleanup suggestions from Fletcher Dunn. -- In error handling, general errors will no longer clear the error state of specific ones. -- Fix error in documentation : comments starting with "<?--" instead of "<!--" (thanks ion_pulse) -- Added the TiXmlHandle. An easy, safe way to browse XML DOMs with less code. -- Added QueryAttribute calls which have better error messaging. (Proposed by Fletcher Dunn) -- Nodes and attributes can now print themselves to strings. (Yves suggestion) -- Fixed bug where entities with one character would confuse parser. (Thanks Roman) - -2.2.1 -- Additional testing (no more bugs found to be fixed in this release) -- Significant performance improvement to the cursor code. - -2.3.0 -- User Data are now defined in TiXmlBase instead of TiXmlNode -- Character Entities are now UCS-2 -- Character Entities can be decimal or hexadecimal -- UTF-8 conversion. -- Fixed many, many bugs. - -2.3.1 -- Fixed bug in handling nulls embedded in the input. -- Make UTF-8 parser tolerant of bad text encoding. -- Added encoding detection. -- Many fixes and input from John-Philip Leonard Johansson (JP) and Ellers, - including UTF-8 feedback, bug reports, and patches. Thanks! -- Added version # constants - a suggestion from JP and Ellers. -- [ 979180 ] Missing ; in entity reference, fix from Rob Laveaux. -- Copy constructors and assignment have been a long time coming. Thanks to - Fokke and JP. - -2.3.2 -- Made the IsAlpha and IsAlphaNum much more tolerant of non-UTF-8 encodings. Thanks - Volker Boerchers for finding the issue. -- Ran the program though the magnificent Valgrind - http://valgrind.kde.org - to check - for memory errors. Fixed some minor issues. - -2.3.3 -- Fixed crash when test program was run from incorrect directory. -- Fixed bug 1070717 - empty document not returned correctly - thanks Katsuhisa Yuasa. -- Bug 1079301 resolved - deprecated stdlib calls. Thanks Adrian Boeing. -- Bug 1035218 fixed - documentation errors. Xunji Luo -- Other bug fixes have accumulated and been fixed on the way as well; my apologies to - authors not credited! -- Big fix / addition is to correctly return const values. TinyXml could basically - remove const in a method like this: TiXmlElement* Foo() const, where the returned element - was a pointer to internal data. That is now: const TiXmlElement* Foo() const and - TiXmlElement* Foo(). - -2.3.4 -- Fixed additional const errors, thanks Kent Gibson. -- Correctly re-enable warnings after tinyxml header. Thanks Cory Nelson. -- Variety of type cleanup and warning fixes. Thanks Warren Stevens. -- Cleaned up unneeded constructor calls in TinyString - thanks to Geoff Carlton and - the discussion group on sourceforge. - -2.4.0 -- Improved string class, thanks Tyge Lovset (whose name gets mangled in English - sorry) -- Type cast compiler warning, thanks Rob van den Bogaard -- Added GetText() convenience function. Thanks Ilya Parniuk & Andrew Ellers for input. -- Many thanks to marlonism for finding an infinite loop in bad xml. -- A patch to cleanup warnings from Robert Gebis. -- Added ValueStr() to get the value of a node as a string. -- TiXmlText can now parse and output as CDATA -- Additional string improvement from James (z2895) -- Removed extraneous 'const', thanks David Aldrich -- First pass at switching to the "safe" stdlib functions. Many people have suggested and - pushed on this, but Warren Stevens put together the first proposal. -- TinyXml now will do EOL normalization before parsing, consistent with the W3C XML spec. -- Documents loaded with the UTF-8 BOM will now save with the UTF-8 BOM. Good suggestion - from 'instructor_' -- Ellers submitted his very popular tutorials, which have been added to the distribution. - -2.4.1 -- Fixed CDATA output formatting -- Fixed memory allocators in TinyString to work with overloaded new/delete - -2.4.2 -- solosnake pointed out that TIXML_LOG causes problems on an XBOX. The definition in the header - was superflous and was moved inside of DEBUG_PARSING - -2.4.3 -- Fixed a test bug that caused a crash in 'xmltest'. TinyXML was fine, but it isn't good - to ship with a broken test suite. -- Started converting some functions to not cast between std::string and const char* - quite as often. -- Added FILE* versions of the document loads - good suggestion from Wade Brainerd -- Empty documents might not always return the errors they should. [1398915] Thanks to igor v. -- Added some asserts for multiply adding a node, regardng bug [1391937] suggested by Paco Arjonilla. - -2.4.4 -- Bug find thanks to andre-gross found a memory leak that occured when a document failed to load. -- Bug find (and good analysis) by VirtualJim who found a case where attribute parsing - should be throwing an error and wasn't. -- Steve Hyatt suggested the QueryValueAttribute method, which is now implemented. -- DavidA identified a chunk of dead code. -- Andrew Baxter sent in some compiler warnings that were good clean up points. - -2.5 -- Added the Visit() API. Many thanks to both Andrew Ellerton and John-Philip for all their - work, code, suggestion, and just general pushing that it should be done. -- Removed existing streaming code and use TiXmlPrinter instead. -- [ tinyxml-Bugs-1527079 ] Compile error in tinystr.cpp fixed, thanks to Paul Suggs -- [ tinyxml-Bugs-1522890 ] SaveFile has no error checks fixed, thanks to Ivan Dobrokotov -- Ivan Dobrokotov also reported redundant memory allocation in the Attribute() method, which - upon investigation was a mess. The attribute should now be fixed for both const char* and - std::string, and the return types match the input parameters. -- Feature [ 1511105 ] Make TiXmlComment constructor accept a string / char*, implemented. - Thanks to Karl Itschen for the feedback. -- [ 1480108 ] Stream parsing fails when CDATA contains tags was found by Tobias Grimm, who also - submitted a test case and patch. A significant bug in CDATA streaming (operator>>) has now - been fixed. - -2.5.2 -- Lieven, and others, pointed out a missing const-cast that upset the Open Watcom compiler. - Should now be fixed. -- ErrorRow and ErrorCol should have been const, and weren't. Fixed thanks to Dmitry Polutov. - -2.5.3 -- zloe_zlo identified a missing string specialization for QueryValueAttribute() [ 1695429 ]. Worked - on this bug, but not sure how to fix it in a safe, cross-compiler way. -- increased warning level to 4 and turned on detect 64 bit portability issues for VC2005. - May address [ 1677737 ] VS2005: /Wp64 warnings -- grosheck identified several problems with the Document copy. Many thanks for [ 1660367 ] -- Nice catch, and suggested fix, be Gilad Novik on the Printer dropping entities. - "[ 1600650 ] Bug when printing xml text" is now fixed. -- A subtle fix from Nicos Gollan in the tinystring initializer: - [ 1581449 ] Fix initialiser of TiXmlString::nullrep_ -- Great catch, although there isn't a submitter for the bug. [ 1475201 ] TinyXML parses entities in comments. - Comments should not, in fact, parse entities. Fixed the code path and added tests. -- We were not catching all the returns from ftell. Thanks to Bernard for catching that. - -2.5.4 -- A TiXMLDocument can't be a sub-node. Block this from happening in the 'replace'. Thanks Noam. -- [ 1714831 ] TiXmlBase::location is not copied by copy-ctors, fix reported and suggested by Nicola Civran. -- Fixed possible memory overrun in the comment reading code - thanks gcarlton77 - -2.5.5 -- Alex van der Wal spotted incorrect types (lf) being used in print and scan. robertnestor pointed out some problems with the simple solution. Types updated. -- Johannes Hillert pointed out some bug typos. -- Christian Mueller identified inconsistent error handling with Attributes. -- olivier barthelemy also reported a problem with double truncation, also related to the %lf issue. -- zaelsius came up with a great (and simple) suggestion to fix QueryValueAttribute truncating strings. -- added some null pointer checks suggested by hansenk -- Sami Väisänen found a (rare) buffer overrun that could occur in parsing. -- vi tri filed a bug that led to a refactoring of the attribute setting mess (as well as adding a missing SetDoubleAttribute() ) -- removed TIXML_ERROR_OUT_OF_MEMORY. TinyXML does not systematically address OOO, and the notion it does is misleading. -- vanneto, keithmarshall, others all reported the warning from IsWhiteSpace() usage. Cleaned this up - many thanks to everyone who reported this one. -- tibur found a bug in end tag parsing - - -2.6.2 -- Switched over to VC 2010 -- Fixed up all the build issues arising from that. (Lots of latent build problems.) -- Removed the old, now unmaintained and likely not working, build files. -- Fixed some static analysis issues reported by orbitcowboy from cppcheck. -- Bayard 95 sent in analysis from a different analyzer - fixes applied from that as well. -- Tim Kosse sent a patch fixing an infinite loop. -- Ma Anguo identified a doc issue. -- Eddie Cohen identified a missing qualifier resulting in a compilation error on some systems. -- Fixed a line ending bug. (What year is this? Can we all agree on a format for text files? Please? ...oh well.) - diff --git a/shared/tinyxml/docs/annotated.html b/shared/tinyxml/docs/annotated.html deleted file mode 100644 index a84e5fa2..00000000 --- a/shared/tinyxml/docs/annotated.html +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table> - <tr><td class="indexkey"><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td class="indexvalue">An attribute is a name-value pair </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td class="indexvalue"><a class="el" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> is a base class for every class in TinyXml </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td class="indexvalue">An XML comment </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td class="indexvalue">In correct XML the declaration is the first entry in the file </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td class="indexvalue">Always the top level node </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td class="indexvalue">The element is a container class </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td class="indexvalue">A <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> is a class that wraps a node pointer with null checks; this is an incredibly useful thing </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td class="indexvalue">The parent class for everything in the Document Object Model </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td class="indexvalue">Print to memory functionality </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td class="indexvalue">XML text </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td class="indexvalue">Any tag that tinyXml doesn't recognize is saved as an unknown </td></tr> - <tr><td class="indexkey"><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td class="indexvalue">Implements the interface to the "Visitor pattern" (see the Accept() method </td></tr> -</table> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlAttribute-members.html b/shared/tinyxml/docs/classTiXmlAttribute-members.html deleted file mode 100644 index f6f2c993..00000000 --- a/shared/tinyxml/docs/classTiXmlAttribute-members.html +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlAttribute Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a2880ddef53fc7522c99535273954d230">DoubleValue</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f">IntValue</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d">Name</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67">Next</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf">Previous</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#ac87b2a8489906a5d7aa2875f20be3513">QueryDoubleValue</a>(double *_value) const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344">QueryIntValue</a>(int *_value) const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a0316da31373496c4368ad549bf711394">SetDoubleValue</a>(double _value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a7e065df640116a62ea4f4b7da5449cc8">SetIntValue</a>(int _value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99">SetName</a>(const char *_name)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#ab296ff0c9a8c701055cd257a8a976e57">SetName</a>(const std::string &_name)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#ab43f67a0cc3ec1d80e62606500f0925f">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a>()</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a052213522caac3979960e0714063861d">TiXmlAttribute</a>(const std::string &_name, const std::string &_value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a759d0b76fb8fcf765ecab243bc14f05e">TiXmlAttribute</a>(const char *_name, const char *_value)</td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3">Value</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33">ValueStr</a>() const </td><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlAttribute.html b/shared/tinyxml/docs/classTiXmlAttribute.html deleted file mode 100644 index 6eaca6be..00000000 --- a/shared/tinyxml/docs/classTiXmlAttribute.html +++ /dev/null @@ -1,173 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlAttribute Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlAttribute Class Reference</h1><!-- doxytag: class="TiXmlAttribute" --><!-- doxytag: inherits="TiXmlBase" --> -<p>An attribute is a name-value pair. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlAttribute:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlAttribute.png" usemap="#TiXmlAttribute_map" alt=""/> - <map id="TiXmlAttribute_map" name="TiXmlAttribute_map"> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,90,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlAttribute-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cfa3c8179873fd485d83003b114f8e1"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttribute" ref="a9cfa3c8179873fd485d83003b114f8e1" args="()" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an empty attribute. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a052213522caac3979960e0714063861d"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttribute" ref="a052213522caac3979960e0714063861d" args="(const std::string &_name, const std::string &_value)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a052213522caac3979960e0714063861d">TiXmlAttribute</a> (const std::string &_name, const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">std::string constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a759d0b76fb8fcf765ecab243bc14f05e"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttribute" ref="a759d0b76fb8fcf765ecab243bc14f05e" args="(const char *_name, const char *_value)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a759d0b76fb8fcf765ecab243bc14f05e">TiXmlAttribute</a> (const char *_name, const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an attribute with a name and value. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a298a57287d305904ba6bd96ae6f78d3d"></a><!-- doxytag: member="TiXmlAttribute::Name" ref="a298a57287d305904ba6bd96ae6f78d3d" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d">Name</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of this attribute. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f874490eac8ca00ee0070765d0e97e3"></a><!-- doxytag: member="TiXmlAttribute::Value" ref="a0f874490eac8ca00ee0070765d0e97e3" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3">Value</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the value of this attribute. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87705c3ccf9ee9417beb4f7cbacd4d33"></a><!-- doxytag: member="TiXmlAttribute::ValueStr" ref="a87705c3ccf9ee9417beb4f7cbacd4d33" args="() const " --> -const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33">ValueStr</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the value of this attribute. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1a20ad59dc7e89a0ab265396360d50f"></a><!-- doxytag: member="TiXmlAttribute::IntValue" ref="aa1a20ad59dc7e89a0ab265396360d50f" args="() const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f">IntValue</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the value of this attribute, converted to an integer. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2880ddef53fc7522c99535273954d230"></a><!-- doxytag: member="TiXmlAttribute::DoubleValue" ref="a2880ddef53fc7522c99535273954d230" args="() const " --> -double </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a2880ddef53fc7522c99535273954d230">DoubleValue</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the value of this attribute, converted to a double. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344">QueryIntValue</a> (int *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryIntValue examines the value string. <a href="#ad6c93088ee21af41a107931223339344"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac87b2a8489906a5d7aa2875f20be3513"></a><!-- doxytag: member="TiXmlAttribute::QueryDoubleValue" ref="ac87b2a8489906a5d7aa2875f20be3513" args="(double *_value) const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#ac87b2a8489906a5d7aa2875f20be3513">QueryDoubleValue</a> (double *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryDoubleValue examines the value string. See <a class="el" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344" title="QueryIntValue examines the value string.">QueryIntValue()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7fa3d21ff8d7c5764cf9af15b667a99"></a><!-- doxytag: member="TiXmlAttribute::SetName" ref="ab7fa3d21ff8d7c5764cf9af15b667a99" args="(const char *_name)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99">SetName</a> (const char *_name)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the name of this attribute. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2dae44178f668b3cb48101be4f2236a0"></a><!-- doxytag: member="TiXmlAttribute::SetValue" ref="a2dae44178f668b3cb48101be4f2236a0" args="(const char *_value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0">SetValue</a> (const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e065df640116a62ea4f4b7da5449cc8"></a><!-- doxytag: member="TiXmlAttribute::SetIntValue" ref="a7e065df640116a62ea4f4b7da5449cc8" args="(int _value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a7e065df640116a62ea4f4b7da5449cc8">SetIntValue</a> (int _value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value from an integer. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0316da31373496c4368ad549bf711394"></a><!-- doxytag: member="TiXmlAttribute::SetDoubleValue" ref="a0316da31373496c4368ad549bf711394" args="(double _value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a0316da31373496c4368ad549bf711394">SetDoubleValue</a> (double _value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value from a double. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab296ff0c9a8c701055cd257a8a976e57"></a><!-- doxytag: member="TiXmlAttribute::SetName" ref="ab296ff0c9a8c701055cd257a8a976e57" args="(const std::string &_name)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#ab296ff0c9a8c701055cd257a8a976e57">SetName</a> (const std::string &_name)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab43f67a0cc3ec1d80e62606500f0925f"></a><!-- doxytag: member="TiXmlAttribute::SetValue" ref="ab43f67a0cc3ec1d80e62606500f0925f" args="(const std::string &_value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#ab43f67a0cc3ec1d80e62606500f0925f">SetValue</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c78e92e223a40843f644ba48ef69f67"></a><!-- doxytag: member="TiXmlAttribute::Next" ref="a1c78e92e223a40843f644ba48ef69f67" args="() const " --> -const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67">Next</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the next sibling attribute in the DOM. Returns null at end. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ebbfe333fe76cd834bd6cbcca3130cf"></a><!-- doxytag: member="TiXmlAttribute::Previous" ref="a6ebbfe333fe76cd834bd6cbcca3130cf" args="() const " --> -const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf">Previous</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the previous sibling attribute in the DOM. Returns null at beginning. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#acc04956c1d5c4c31fe74f7a7528d109a"></a><br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>An attribute is a name-value pair. </p> -<p>Elements have an arbitrary number of attributes, each with a unique name.</p> -<dl class="note"><dt><b>Note:</b></dt><dd>The attributes are not TiXmlNodes, since they are not part of the tinyXML document object model. There are other suggested ways to look at this problem. </dd></dl> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="acc04956c1d5c4c31fe74f7a7528d109a"></a><!-- doxytag: member="TiXmlAttribute::Print" ref="acc04956c1d5c4c31fe74f7a7528d109a" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlAttribute::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [inline, virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<a class="anchor" id="ad6c93088ee21af41a107931223339344"></a><!-- doxytag: member="TiXmlAttribute::QueryIntValue" ref="ad6c93088ee21af41a107931223339344" args="(int *_value) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlAttribute::QueryIntValue </td> - <td>(</td> - <td class="paramtype">int * </td> - <td class="paramname"> <em>_value</em></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>QueryIntValue examines the value string. </p> -<p>It is an alternative to the <a class="el" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f" title="Return the value of this attribute, converted to an integer.">IntValue()</a> method with richer error checking. If the value is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE.</p> -<p>A specialized but useful call. Note that for success it returns 0, which is the opposite of almost all other TinyXml calls. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlAttribute.png b/shared/tinyxml/docs/classTiXmlAttribute.png Binary files differdeleted file mode 100644 index 0f8e5931..00000000 --- a/shared/tinyxml/docs/classTiXmlAttribute.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlBase-members.html b/shared/tinyxml/docs/classTiXmlBase-members.html deleted file mode 100644 index fe1aeb8c..00000000 --- a/shared/tinyxml/docs/classTiXmlBase-members.html +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlBase Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlBase.html">TiXmlBase</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">Print</a>(FILE *cfile, int depth) const =0</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [pure virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlBase.html b/shared/tinyxml/docs/classTiXmlBase.html deleted file mode 100644 index 4d1ba67e..00000000 --- a/shared/tinyxml/docs/classTiXmlBase.html +++ /dev/null @@ -1,226 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlBase Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlBase Class Reference</h1><!-- doxytag: class="TiXmlBase" --> -<p><a class="el" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> is a base class for every class in TinyXml. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlBase:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlBase.png" usemap="#TiXmlBase_map" alt=""/> - <map id="TiXmlBase_map" name="TiXmlBase_map"> -<area href="classTiXmlAttribute.html" alt="TiXmlAttribute" shape="rect" coords="0,56,108,80"/> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="295,56,403,80"/> -<area href="classTiXmlComment.html" alt="TiXmlComment" shape="rect" coords="0,112,108,136"/> -<area href="classTiXmlDeclaration.html" alt="TiXmlDeclaration" shape="rect" coords="118,112,226,136"/> -<area href="classTiXmlDocument.html" alt="TiXmlDocument" shape="rect" coords="236,112,344,136"/> -<area href="classTiXmlElement.html" alt="TiXmlElement" shape="rect" coords="354,112,462,136"/> -<area href="classTiXmlText.html" alt="TiXmlText" shape="rect" coords="472,112,580,136"/> -<area href="classTiXmlUnknown.html" alt="TiXmlUnknown" shape="rect" coords="590,112,698,136"/> -</map> - </div> -</div> - -<p><a href="classTiXmlBase-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">Print</a> (FILE *cfile, int depth) const =0</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#a0de56b3f2ef14c65091a3b916437b512"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the position, in the original source file, of this node or attribute. <a href="#a024bceb070188df92c2a8d8852dd0853"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab54bfb9b70fe6dd276e7b279cab7f003"></a><!-- doxytag: member="TiXmlBase::Column" ref="ab54bfb9b70fe6dd276e7b279cab7f003" args="() const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853" title="Return the position, in the original source file, of this node or attribute.">Row()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6b3e0f790930d4970ec30764e937b5d"></a><!-- doxytag: member="TiXmlBase::SetUserData" ref="ac6b3e0f790930d4970ec30764e937b5d" args="(void *user)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a> (void *user)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a pointer to arbitrary user data. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6559a530ca6763fc301a14d77ed28c17"></a><!-- doxytag: member="TiXmlBase::GetUserData" ref="a6559a530ca6763fc301a14d77ed28c17" args="()" --> -void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to arbitrary user data. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0120210e4680ef2088601753ce0ede4"></a><!-- doxytag: member="TiXmlBase::GetUserData" ref="ad0120210e4680ef2088601753ce0ede4" args="() const " --> -const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to arbitrary user data. <br/></td></tr> -<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a> (bool condense)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The world does not agree on whether white space should be kept or not. <a href="#a0f799ec645bfb8d8a969e83478f379c1"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4b1472531c647a25b1840a87ae42438"></a><!-- doxytag: member="TiXmlBase::IsWhiteSpaceCondensed" ref="ad4b1472531c647a25b1840a87ae42438" args="()" --> -static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the current white space setting. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a> (const TIXML_STRING &str, TIXML_STRING *out)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Expands entities in a string. <a href="#a6bd8c315c1acb09e34107b8736505948"></a><br/></td></tr> -<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab242c01590191f644569fa89a080d97c"></a><!-- doxytag: member="TiXmlBase::userData" ref="ab242c01590191f644569fa89a080d97c" args="" --> -void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Field containing a generic user pointer. <br/></td></tr> -<tr><td colspan="2"><h2>Friends</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a218872a0d985ae30e78c55adc4bdb196"></a><!-- doxytag: member="TiXmlBase::TiXmlNode" ref="a218872a0d985ae30e78c55adc4bdb196" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a218872a0d985ae30e78c55adc4bdb196">TiXmlNode</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6592e32cb9132be517cc12a70564c4b"></a><!-- doxytag: member="TiXmlBase::TiXmlElement" ref="ab6592e32cb9132be517cc12a70564c4b" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#ab6592e32cb9132be517cc12a70564c4b">TiXmlElement</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a173617f6dfe902cf484ce5552b950475"></a><!-- doxytag: member="TiXmlBase::TiXmlDocument" ref="a173617f6dfe902cf484ce5552b950475" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlBase.html#a173617f6dfe902cf484ce5552b950475">TiXmlDocument</a></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p><a class="el" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> is a base class for every class in TinyXml. </p> -<p>It does little except to establish that TinyXml classes can be printed and provide some utility functions.</p> -<p>In XML, the document and elements can contain other elements and other types of nodes.</p> -<div class="fragment"><pre class="fragment"> - A Document can contain: Element (container or leaf) - Comment (leaf) - Unknown (leaf) - Declaration( leaf ) - - An Element can contain: Element (container or leaf) - Text (leaf) - Attributes (not on tree) - Comment (leaf) - Unknown (leaf) - - A Decleration contains: Attributes (not on tree) - </pre></div> <hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="a6bd8c315c1acb09e34107b8736505948"></a><!-- doxytag: member="TiXmlBase::EncodeString" ref="a6bd8c315c1acb09e34107b8736505948" args="(const TIXML_STRING &str, TIXML_STRING *out)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">static void TiXmlBase::EncodeString </td> - <td>(</td> - <td class="paramtype">const TIXML_STRING & </td> - <td class="paramname"> <em>str</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">TIXML_STRING * </td> - <td class="paramname"> <em>out</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [static]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Expands entities in a string. </p> -<p>Note this should not contian the tag's '<', '>', etc, or they will be transformed into entities! </p> - -</div> -</div> -<a class="anchor" id="a0de56b3f2ef14c65091a3b916437b512"></a><!-- doxytag: member="TiXmlBase::Print" ref="a0de56b3f2ef14c65091a3b916437b512" args="(FILE *cfile, int depth) const =0" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlBase::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [pure virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implemented in <a class="el" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">TiXmlAttribute</a>, <a class="el" href="classTiXmlElement.html#afbf52736e70fc91ec9d760721d6f4fd2">TiXmlElement</a>, <a class="el" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f">TiXmlComment</a>, <a class="el" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b">TiXmlText</a>, <a class="el" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">TiXmlDeclaration</a>, <a class="el" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb">TiXmlUnknown</a>, and <a class="el" href="classTiXmlDocument.html#a8701fda1fa31b25abbc9c0df42da10e8">TiXmlDocument</a>.</p> - -</div> -</div> -<a class="anchor" id="a024bceb070188df92c2a8d8852dd0853"></a><!-- doxytag: member="TiXmlBase::Row" ref="a024bceb070188df92c2a8d8852dd0853" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlBase::Row </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return the position, in the original source file, of this node or attribute. </p> -<p>The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value.</p> -<p>Generally, the row and column value will be set when the TiXmlDocument::Load(), <a class="el" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">TiXmlDocument::LoadFile()</a>, or any TiXmlNode::Parse() is called. It will NOT be set when the DOM was created from operator>>.</p> -<p>The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document.</p> -<p>There is a minor performance cost to computing the row and column. Computation can be disabled if <a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">TiXmlDocument::SetTabSize()</a> is called with 0 as the value.</p> -<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">TiXmlDocument::SetTabSize()</a> </dd></dl> - -</div> -</div> -<a class="anchor" id="a0f799ec645bfb8d8a969e83478f379c1"></a><!-- doxytag: member="TiXmlBase::SetCondenseWhiteSpace" ref="a0f799ec645bfb8d8a969e83478f379c1" args="(bool condense)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">static void TiXmlBase::SetCondenseWhiteSpace </td> - <td>(</td> - <td class="paramtype">bool </td> - <td class="paramname"> <em>condense</em></td> - <td> ) </td> - <td><code> [inline, static]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>The world does not agree on whether white space should be kept or not. </p> -<p>In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlBase.png b/shared/tinyxml/docs/classTiXmlBase.png Binary files differdeleted file mode 100644 index ca9d0dec..00000000 --- a/shared/tinyxml/docs/classTiXmlBase.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlComment-members.html b/shared/tinyxml/docs/classTiXmlComment-members.html deleted file mode 100644 index 0d00704f..00000000 --- a/shared/tinyxml/docs/classTiXmlComment-members.html +++ /dev/null @@ -1,109 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlComment Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlComment.html">TiXmlComment</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e">Accept</a>(TiXmlVisitor *visitor) const </td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028">Clone</a>() const </td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a>()</td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#a37e7802ef17bc03ebe5ae79bf0713d47">TiXmlComment</a>(const char *_value)</td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0">ToComment</a>() const </td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlComment.html#acc7c7e07e13c23f17797d642981511df">ToComment</a>()</td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlComment.html b/shared/tinyxml/docs/classTiXmlComment.html deleted file mode 100644 index e2024430..00000000 --- a/shared/tinyxml/docs/classTiXmlComment.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlComment Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlComment Class Reference</h1><!-- doxytag: class="TiXmlComment" --><!-- doxytag: inherits="TiXmlNode" --> -<p>An XML comment. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlComment:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlComment.png" usemap="#TiXmlComment_map" alt=""/> - <map id="TiXmlComment_map" name="TiXmlComment_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,94,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,94,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlComment-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa3252031d3e8bd3a2bf51a1c61201b7"></a><!-- doxytag: member="TiXmlComment::TiXmlComment" ref="aaa3252031d3e8bd3a2bf51a1c61201b7" args="()" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs an empty comment. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37e7802ef17bc03ebe5ae79bf0713d47"></a><!-- doxytag: member="TiXmlComment::TiXmlComment" ref="a37e7802ef17bc03ebe5ae79bf0713d47" args="(const char *_value)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#a37e7802ef17bc03ebe5ae79bf0713d47">TiXmlComment</a> (const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a comment from text. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d6662bdc52488b9e12b3c7a0453d028"></a><!-- doxytag: member="TiXmlComment::Clone" ref="a0d6662bdc52488b9e12b3c7a0453d028" args="() const " --> -virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of this Comment. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#a6b316527aaa8da0370cd68c22a5a0f5f"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00fb4215c20a2399ea05ac9b9e7e68a0"></a><!-- doxytag: member="TiXmlComment::ToComment" ref="a00fb4215c20a2399ea05ac9b9e7e68a0" args="() const " --> -virtual const <a class="el" href="classTiXmlComment.html">TiXmlComment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0">ToComment</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc7c7e07e13c23f17797d642981511df"></a><!-- doxytag: member="TiXmlComment::ToComment" ref="acc7c7e07e13c23f17797d642981511df" args="()" --> -virtual <a class="el" href="classTiXmlComment.html">TiXmlComment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#acc7c7e07e13c23f17797d642981511df">ToComment</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3ac1b99fbbe9ea4fb6e14146156e43e"></a><!-- doxytag: member="TiXmlComment::Accept" ref="af3ac1b99fbbe9ea4fb6e14146156e43e" args="(TiXmlVisitor *visitor) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *visitor) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>An XML comment. </p> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="a6b316527aaa8da0370cd68c22a5a0f5f"></a><!-- doxytag: member="TiXmlComment::Print" ref="a6b316527aaa8da0370cd68c22a5a0f5f" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlComment::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlComment.png b/shared/tinyxml/docs/classTiXmlComment.png Binary files differdeleted file mode 100644 index 5fb1d1d3..00000000 --- a/shared/tinyxml/docs/classTiXmlComment.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlDeclaration-members.html b/shared/tinyxml/docs/classTiXmlDeclaration-members.html deleted file mode 100644 index d6017444..00000000 --- a/shared/tinyxml/docs/classTiXmlDeclaration-members.html +++ /dev/null @@ -1,113 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlDeclaration Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e">Accept</a>(TiXmlVisitor *visitor) const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e">Clone</a>() const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76">Encoding</a>() const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9">Standalone</a>() const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79">TiXmlDeclaration</a>()</td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#acd5556007c3c72209465081de39d9836">TiXmlDeclaration</a>(const std::string &_version, const std::string &_encoding, const std::string &_standalone)</td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a3b618d1c30c25e4b7a71f31a595ee298">TiXmlDeclaration</a>(const char *_version, const char *_encoding, const char *_standalone)</td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a6bd3d1daddcaeb9543c24bfd090969ce">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76">Version</a>() const </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlDeclaration.html b/shared/tinyxml/docs/classTiXmlDeclaration.html deleted file mode 100644 index e90cbcd2..00000000 --- a/shared/tinyxml/docs/classTiXmlDeclaration.html +++ /dev/null @@ -1,131 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlDeclaration Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlDeclaration Class Reference</h1><!-- doxytag: class="TiXmlDeclaration" --><!-- doxytag: inherits="TiXmlNode" --> -<p>In correct XML the declaration is the first entry in the file. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlDeclaration:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlDeclaration.png" usemap="#TiXmlDeclaration_map" alt=""/> - <map id="TiXmlDeclaration_map" name="TiXmlDeclaration_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,108,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,108,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlDeclaration-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0484d059bea0ea1acb47c9094382d79"></a><!-- doxytag: member="TiXmlDeclaration::TiXmlDeclaration" ref="aa0484d059bea0ea1acb47c9094382d79" args="()" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79">TiXmlDeclaration</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an empty declaration. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd5556007c3c72209465081de39d9836"></a><!-- doxytag: member="TiXmlDeclaration::TiXmlDeclaration" ref="acd5556007c3c72209465081de39d9836" args="(const std::string &_version, const std::string &_encoding, const std::string &_standalone)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#acd5556007c3c72209465081de39d9836">TiXmlDeclaration</a> (const std::string &_version, const std::string &_encoding, const std::string &_standalone)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b618d1c30c25e4b7a71f31a595ee298"></a><!-- doxytag: member="TiXmlDeclaration::TiXmlDeclaration" ref="a3b618d1c30c25e4b7a71f31a595ee298" args="(const char *_version, const char *_encoding, const char *_standalone)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a3b618d1c30c25e4b7a71f31a595ee298">TiXmlDeclaration</a> (const char *_version, const char *_encoding, const char *_standalone)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02ee557b1a4545c3219ed377c103ec76"></a><!-- doxytag: member="TiXmlDeclaration::Version" ref="a02ee557b1a4545c3219ed377c103ec76" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76">Version</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Version. Will return an empty string if none was found. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d974231f9e9a2f0542f15f3a46cdb76"></a><!-- doxytag: member="TiXmlDeclaration::Encoding" ref="a5d974231f9e9a2f0542f15f3a46cdb76" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76">Encoding</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Encoding. Will return an empty string if none was found. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ff06afc033d7ef730ec7c6825b97ad9"></a><!-- doxytag: member="TiXmlDeclaration::Standalone" ref="a9ff06afc033d7ef730ec7c6825b97ad9" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9">Standalone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Is this a standalone document? <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7cf459186040141cda7a180a6585ce2e"></a><!-- doxytag: member="TiXmlDeclaration::Clone" ref="a7cf459186040141cda7a180a6585ce2e" args="() const " --> -virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of this Declaration and returns it. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#abf6303db4bd05b5be554036817ff1cb4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e085d3fefd1dbf5ccdbff729931a967"></a><!-- doxytag: member="TiXmlDeclaration::ToDeclaration" ref="a1e085d3fefd1dbf5ccdbff729931a967" args="() const " --> -virtual const <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967">ToDeclaration</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bd3d1daddcaeb9543c24bfd090969ce"></a><!-- doxytag: member="TiXmlDeclaration::ToDeclaration" ref="a6bd3d1daddcaeb9543c24bfd090969ce" args="()" --> -virtual <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a6bd3d1daddcaeb9543c24bfd090969ce">ToDeclaration</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22315a535983b86535cdba3458669e3e"></a><!-- doxytag: member="TiXmlDeclaration::Accept" ref="a22315a535983b86535cdba3458669e3e" args="(TiXmlVisitor *visitor) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *visitor) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>In correct XML the declaration is the first entry in the file. </p> -<div class="fragment"><pre class="fragment"> - <?xml version="1.0" standalone="yes"?> - </pre></div><p>TinyXml will happily read or write files without a declaration, however. There are 3 possible attributes to the declaration: version, encoding, and standalone.</p> -<p>Note: In this version of the code, the attributes are handled as special cases, not generic attributes, simply because there can only be at most 3 and they are always the same. </p> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="abf6303db4bd05b5be554036817ff1cb4"></a><!-- doxytag: member="TiXmlDeclaration::Print" ref="abf6303db4bd05b5be554036817ff1cb4" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlDeclaration::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [inline, virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlDeclaration.png b/shared/tinyxml/docs/classTiXmlDeclaration.png Binary files differdeleted file mode 100644 index c16d71bf..00000000 --- a/shared/tinyxml/docs/classTiXmlDeclaration.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlDocument-members.html b/shared/tinyxml/docs/classTiXmlDocument-members.html deleted file mode 100644 index 02725730..00000000 --- a/shared/tinyxml/docs/classTiXmlDocument-members.html +++ /dev/null @@ -1,128 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlDocument Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a">Accept</a>(TiXmlVisitor *content) const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35">ClearError</a>()</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907">Clone</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [protected, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29">Error</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649">ErrorCol</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e">ErrorDesc</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f">ErrorId</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e">ErrorRow</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>(TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a879cdf5e981b8b2d2ef82f2546dd28fb">LoadFile</a>(const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a41f6fe7200864d1dca663d230caf8db6">LoadFile</a>(FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a18ae6ed34fed7991ebc220862dfac884">LoadFile</a>(const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378">Parse</a>(const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510">Print</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a8701fda1fa31b25abbc9c0df42da10e8">Print</a>(FILE *cfile, int depth=0) const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be">RootElement</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#ae869f5ebf7fc54c4a1d737fb4689fd44">SaveFile</a>(const char *filename) const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#acf1672b4538c6d1d441f9f108aea2bf4">SaveFile</a>(FILE *) const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a3d4fae0463f3f03679ba0b7cf6f2df52">SaveFile</a>(const std::string &filename) const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e">SetTabSize</a>(int _tabsize)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c">TiXmlDocument</a>()</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#ae4508b452d0c3061db085f3db27b8396">TiXmlDocument</a>(const char *documentName)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a2c6e58fb99bfa76cc613f16840022225">TiXmlDocument</a>(const std::string &documentName)</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4">ToDocument</a>() const </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlDocument.html#a1025d942a1f328fd742d545e37efdd42">ToDocument</a>()</td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlDocument.html b/shared/tinyxml/docs/classTiXmlDocument.html deleted file mode 100644 index b46bb27c..00000000 --- a/shared/tinyxml/docs/classTiXmlDocument.html +++ /dev/null @@ -1,437 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlDocument Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlDocument Class Reference</h1><!-- doxytag: class="TiXmlDocument" --><!-- doxytag: inherits="TiXmlNode" --> -<p>Always the top level node. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlDocument:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlDocument.png" usemap="#TiXmlDocument_map" alt=""/> - <map id="TiXmlDocument_map" name="TiXmlDocument_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,99,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,99,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlDocument-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f5e84335708fde98400230f9f12659c"></a><!-- doxytag: member="TiXmlDocument::TiXmlDocument" ref="a9f5e84335708fde98400230f9f12659c" args="()" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c">TiXmlDocument</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an empty document, that has no name. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4508b452d0c3061db085f3db27b8396"></a><!-- doxytag: member="TiXmlDocument::TiXmlDocument" ref="ae4508b452d0c3061db085f3db27b8396" args="(const char *documentName)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#ae4508b452d0c3061db085f3db27b8396">TiXmlDocument</a> (const char *documentName)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a document with a name. The name of the document is also the filename of the xml. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c6e58fb99bfa76cc613f16840022225"></a><!-- doxytag: member="TiXmlDocument::TiXmlDocument" ref="a2c6e58fb99bfa76cc613f16840022225" args="(const std::string &documentName)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a2c6e58fb99bfa76cc613f16840022225">TiXmlDocument</a> (const std::string &documentName)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f">LoadFile</a> (TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Load a file using the current document value. <a href="#a4c852a889c02cf251117fd1d9fe1845f"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21c0aeb0d0a720169ad4ac89523ebe93"></a><!-- doxytag: member="TiXmlDocument::SaveFile" ref="a21c0aeb0d0a720169ad4ac89523ebe93" args="() const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file using the current document value. Returns true if successful. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a879cdf5e981b8b2d2ef82f2546dd28fb"></a><!-- doxytag: member="TiXmlDocument::LoadFile" ref="a879cdf5e981b8b2d2ef82f2546dd28fb" args="(const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)" --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a879cdf5e981b8b2d2ef82f2546dd28fb">LoadFile</a> (const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Load a file using the given filename. Returns true if successful. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae869f5ebf7fc54c4a1d737fb4689fd44"></a><!-- doxytag: member="TiXmlDocument::SaveFile" ref="ae869f5ebf7fc54c4a1d737fb4689fd44" args="(const char *filename) const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#ae869f5ebf7fc54c4a1d737fb4689fd44">SaveFile</a> (const char *filename) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file using the given filename. Returns true if successful. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a41f6fe7200864d1dca663d230caf8db6">LoadFile</a> (FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Load a file using the given FILE*. <a href="#a41f6fe7200864d1dca663d230caf8db6"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf1672b4538c6d1d441f9f108aea2bf4"></a><!-- doxytag: member="TiXmlDocument::SaveFile" ref="acf1672b4538c6d1d441f9f108aea2bf4" args="(FILE *) const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#acf1672b4538c6d1d441f9f108aea2bf4">SaveFile</a> (FILE *) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file using the given FILE*. Returns true if successful. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a18ae6ed34fed7991ebc220862dfac884">LoadFile</a> (const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d4fae0463f3f03679ba0b7cf6f2df52"></a><!-- doxytag: member="TiXmlDocument::SaveFile" ref="a3d4fae0463f3f03679ba0b7cf6f2df52" args="(const std::string &filename) const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a3d4fae0463f3f03679ba0b7cf6f2df52">SaveFile</a> (const std::string &filename) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">< STL std::string version. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378">Parse</a> (const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse the given null terminated block of xml data. <a href="#a17ebabe36926ef398e78dec0d0ad0378"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be">RootElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the root element -- the only top level element -- of the document. <a href="#ad09d17927f908f40efb406af2fb873be"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29">Error</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">If an error occurs, Error will be set to true. <a href="#a6dfc01a6e5d58e56acd537dfd3bdeb29"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d0f689f6e09ea494ea547be8d79c25e"></a><!-- doxytag: member="TiXmlDocument::ErrorDesc" ref="a9d0f689f6e09ea494ea547be8d79c25e" args="() const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e">ErrorDesc</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains a textual (english) description of the error if one occurs. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f">ErrorId</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Generally, you probably want the error string ( <a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e" title="Contains a textual (english) description of the error if one occurs.">ErrorDesc()</a> ). <a href="#af96fc2f3f9ec6422782bfe916c9e778f"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e">ErrorRow</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the location (if known) of the error. <a href="#af30efc75e804aa2e92fb8be3a8cb676e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa90bc630ee5203c6109ca5fad3323649"></a><!-- doxytag: member="TiXmlDocument::ErrorCol" ref="aa90bc630ee5203c6109ca5fad3323649" args="() const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649">ErrorCol</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The column where the error occured. See <a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e" title="Returns the location (if known) of the error.">ErrorRow()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e">SetTabSize</a> (int _tabsize)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">SetTabSize()</a> allows the error reporting functions (<a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e" title="Returns the location (if known) of the error.">ErrorRow()</a> and <a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649" title="The column where the error occured. See ErrorRow().">ErrorCol()</a>) to report the correct values for row and column. <a href="#a51dac56316f89b35bdb7d0d433ba988e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35">ClearError</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">If you have handled the error, it can be reset with this call. <a href="#ac66b8c28db86363315712a3574e87c35"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510">Print</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to standard out using formatted printing ("pretty print"). <a href="#af08389ec70ee9b2de7f800e206a18510"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8701fda1fa31b25abbc9c0df42da10e8"></a><!-- doxytag: member="TiXmlDocument::Print" ref="a8701fda1fa31b25abbc9c0df42da10e8" args="(FILE *cfile, int depth=0) const " --> -virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a8701fda1fa31b25abbc9c0df42da10e8">Print</a> (FILE *cfile, int depth=0) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Print this Document to a FILE stream. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dc977bde3e4fe85a8eb9d88a35ef5a4"></a><!-- doxytag: member="TiXmlDocument::ToDocument" ref="a1dc977bde3e4fe85a8eb9d88a35ef5a4" args="() const " --> -virtual const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4">ToDocument</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1025d942a1f328fd742d545e37efdd42"></a><!-- doxytag: member="TiXmlDocument::ToDocument" ref="a1025d942a1f328fd742d545e37efdd42" args="()" --> -virtual <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a1025d942a1f328fd742d545e37efdd42">ToDocument</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa545aae325d9752ad64120bc4ecf939a"></a><!-- doxytag: member="TiXmlDocument::Accept" ref="aa545aae325d9752ad64120bc4ecf939a" args="(TiXmlVisitor *content) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *content) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an exact duplicate of this node and return it. <a href="#a4968661cab4a1f44a23329c6f8db1907"></a><br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>Always the top level node. </p> -<p>A document binds together all the XML pieces. It can be saved, loaded, and printed to the screen. The 'value' of a document node is the xml file name. </p> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="ac66b8c28db86363315712a3574e87c35"></a><!-- doxytag: member="TiXmlDocument::ClearError" ref="ac66b8c28db86363315712a3574e87c35" args="()" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlDocument::ClearError </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>If you have handled the error, it can be reset with this call. </p> -<p>The error state is automatically cleared if you Parse a new XML block. </p> - -</div> -</div> -<a class="anchor" id="a4968661cab4a1f44a23329c6f8db1907"></a><!-- doxytag: member="TiXmlDocument::Clone" ref="a4968661cab4a1f44a23329c6f8db1907" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlDocument::Clone </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [protected, virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Create an exact duplicate of this node and return it. </p> -<p>The memory must be deleted by the caller. </p> - -<p>Implements <a class="el" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4">TiXmlNode</a>.</p> - -</div> -</div> -<a class="anchor" id="a6dfc01a6e5d58e56acd537dfd3bdeb29"></a><!-- doxytag: member="TiXmlDocument::Error" ref="a6dfc01a6e5d58e56acd537dfd3bdeb29" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool TiXmlDocument::Error </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>If an error occurs, Error will be set to true. </p> -<p>Also,</p> -<ul> -<li>The <a class="el" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f" title="Generally, you probably want the error string ( ErrorDesc() ).">ErrorId()</a> will contain the integer identifier of the error (not generally useful)</li> -<li>The <a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e" title="Contains a textual (english) description of the error if one occurs.">ErrorDesc()</a> method will return the name of the error. (very useful)</li> -<li>The <a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e" title="Returns the location (if known) of the error.">ErrorRow()</a> and <a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649" title="The column where the error occured. See ErrorRow().">ErrorCol()</a> will return the location of the error (if known) </li> -</ul> - -</div> -</div> -<a class="anchor" id="af96fc2f3f9ec6422782bfe916c9e778f"></a><!-- doxytag: member="TiXmlDocument::ErrorId" ref="af96fc2f3f9ec6422782bfe916c9e778f" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlDocument::ErrorId </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Generally, you probably want the error string ( <a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e" title="Contains a textual (english) description of the error if one occurs.">ErrorDesc()</a> ). </p> -<p>But if you prefer the ErrorId, this function will fetch it. </p> - -</div> -</div> -<a class="anchor" id="af30efc75e804aa2e92fb8be3a8cb676e"></a><!-- doxytag: member="TiXmlDocument::ErrorRow" ref="af30efc75e804aa2e92fb8be3a8cb676e" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlDocument::ErrorRow </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Returns the location (if known) of the error. </p> -<p>The first column is column 1, and the first row is row 1. A value of 0 means the row and column wasn't applicable (memory errors, for example, have no row/column) or the parser lost the error. (An error in the error reporting, in that case.)</p> -<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">SetTabSize</a>, <a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853" title="Return the position, in the original source file, of this node or attribute.">Row</a>, <a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003" title="See Row().">Column</a> </dd></dl> - -</div> -</div> -<a class="anchor" id="a18ae6ed34fed7991ebc220862dfac884"></a><!-- doxytag: member="TiXmlDocument::LoadFile" ref="a18ae6ed34fed7991ebc220862dfac884" args="(const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool TiXmlDocument::LoadFile </td> - <td>(</td> - <td class="paramtype">const std::string & </td> - <td class="paramname"> <em>filename</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">TiXmlEncoding </td> - <td class="paramname"> <em>encoding</em> = <code>TIXML_DEFAULT_ENCODING</code></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> -<dl><dt><b>Parameters:</b></dt><dd> - <table border="0" cellspacing="2" cellpadding="0"> - <tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>STL std::string version. </td></tr> - </table> - </dd> -</dl> - -<p>References <a class="el" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f">LoadFile()</a>.</p> - -</div> -</div> -<a class="anchor" id="a41f6fe7200864d1dca663d230caf8db6"></a><!-- doxytag: member="TiXmlDocument::LoadFile" ref="a41f6fe7200864d1dca663d230caf8db6" args="(FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool TiXmlDocument::LoadFile </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname">, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">TiXmlEncoding </td> - <td class="paramname"> <em>encoding</em> = <code>TIXML_DEFAULT_ENCODING</code></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Load a file using the given FILE*. </p> -<p>Returns true if successful. Note that this method doesn't stream - the entire object pointed at by the FILE* will be interpreted as an XML file. TinyXML doesn't stream in XML from the current file location. Streaming may be added in the future. </p> - -</div> -</div> -<a class="anchor" id="a4c852a889c02cf251117fd1d9fe1845f"></a><!-- doxytag: member="TiXmlDocument::LoadFile" ref="a4c852a889c02cf251117fd1d9fe1845f" args="(TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool TiXmlDocument::LoadFile </td> - <td>(</td> - <td class="paramtype">TiXmlEncoding </td> - <td class="paramname"> <em>encoding</em> = <code>TIXML_DEFAULT_ENCODING</code></td> - <td> ) </td> - <td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Load a file using the current document value. </p> -<p>Returns true if successful. Will delete any existing document data before loading. </p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01432">LoadFile()</a>.</p> - -</div> -</div> -<a class="anchor" id="a17ebabe36926ef398e78dec0d0ad0378"></a><!-- doxytag: member="TiXmlDocument::Parse" ref="a17ebabe36926ef398e78dec0d0ad0378" args="(const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual const char* TiXmlDocument::Parse </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>p</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">TiXmlParsingData * </td> - <td class="paramname"> <em>data</em> = <code>0</code>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">TiXmlEncoding </td> - <td class="paramname"> <em>encoding</em> = <code>TIXML_DEFAULT_ENCODING</code></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Parse the given null terminated block of xml data. </p> -<p>Passing in an encoding to this method (either TIXML_ENCODING_LEGACY or TIXML_ENCODING_UTF8 will force TinyXml to use that encoding, regardless of what TinyXml might otherwise try to detect. </p> - -<p>Implements <a class="el" href="classTiXmlBase.html">TiXmlBase</a>.</p> - -</div> -</div> -<a class="anchor" id="af08389ec70ee9b2de7f800e206a18510"></a><!-- doxytag: member="TiXmlDocument::Print" ref="af08389ec70ee9b2de7f800e206a18510" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlDocument::Print </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Write the document to standard out using formatted printing ("pretty print"). </p> - -<p>References <a class="el" href="tinyxml_8h_source.html#l01519">Print()</a>.</p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01519">Print()</a>.</p> - -</div> -</div> -<a class="anchor" id="ad09d17927f908f40efb406af2fb873be"></a><!-- doxytag: member="TiXmlDocument::RootElement" ref="ad09d17927f908f40efb406af2fb873be" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlDocument::RootElement </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Get the root element -- the only top level element -- of the document. </p> -<p>In well formed XML, there should only be one. TinyXml is tolerant of multiple elements at the document level. </p> - -<p>References <a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">TiXmlNode::FirstChildElement()</a>.</p> - -</div> -</div> -<a class="anchor" id="a51dac56316f89b35bdb7d0d433ba988e"></a><!-- doxytag: member="TiXmlDocument::SetTabSize" ref="a51dac56316f89b35bdb7d0d433ba988e" args="(int _tabsize)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlDocument::SetTabSize </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"> <em>_tabsize</em></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p><a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">SetTabSize()</a> allows the error reporting functions (<a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e" title="Returns the location (if known) of the error.">ErrorRow()</a> and <a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649" title="The column where the error occured. See ErrorRow().">ErrorCol()</a>) to report the correct values for row and column. </p> -<p>It does not change the output or input in any way.</p> -<p>By calling this method, with a tab size greater than 0, the row and column of each node and attribute is stored when the file is loaded. Very useful for tracking the DOM back in to the source file.</p> -<p>The tab size is required for calculating the location of nodes. If not set, the default of 4 is used. The tabsize is set per document. Setting the tabsize to 0 disables row/column tracking.</p> -<p>Note that row and column tracking is not supported when using operator>>.</p> -<p>The tab size needs to be enabled before the parse or load. Correct usage: </p> -<div class="fragment"><pre class="fragment"> - TiXmlDocument doc; - doc.SetTabSize( 8 ); - doc.Load( "myfile.xml" ); - </pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853" title="Return the position, in the original source file, of this node or attribute.">Row</a>, <a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003" title="See Row().">Column</a> </dd></dl> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlDocument.png b/shared/tinyxml/docs/classTiXmlDocument.png Binary files differdeleted file mode 100644 index d27aca29..00000000 --- a/shared/tinyxml/docs/classTiXmlDocument.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlElement-members.html b/shared/tinyxml/docs/classTiXmlElement-members.html deleted file mode 100644 index dc8a33be..00000000 --- a/shared/tinyxml/docs/classTiXmlElement-members.html +++ /dev/null @@ -1,129 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlElement Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlElement.html">TiXmlElement</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a71a81b2afb0d42be1543d1c404dee6f5">Accept</a>(TiXmlVisitor *visitor) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>(const char *name) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a0ed8348fdc56b72a6b4900ce5bac1849">Attribute</a>(const char *name, int *i) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#aeaff99d4f0ea5b34f7aee202aad457ba">Attribute</a>(const char *name, double *d) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#aa464535ea1994db337cb6a8ce4b588b5">Clone</a>() const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592">FirstAttribute</a>() const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87">GetText</a>() const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381">LastAttribute</a>() const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#afbf52736e70fc91ec9d760721d6f4fd2">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#af4a1d3f88c28eb0f3115dc39ebd83fff">QueryBoolAttribute</a>(const char *name, bool *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7">QueryDoubleAttribute</a>(const char *name, double *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be">QueryFloatAttribute</a>(const char *name, float *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9">QueryIntAttribute</a>(const char *name, int *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a14321ac360efe906ed449d9db3fd9961">QueryStringAttribute</a>(const char *name, std::string *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#ae48df644f890ab86fa19839ac401f00d">QueryUnsignedAttribute</a>(const char *name, unsigned *_value) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#ae3b9a03b0a56663a40801c7256683576">QueryValueAttribute</a>(const std::string &name, T *outValue) const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a56979767deca794376b1dfa69a525b2a">RemoveAttribute</a>(const char *name)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a1afa6aea716511326a608e4c05df4f3a">RemoveAttribute</a>(const std::string &name)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#abf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a>(const char *name, const char *_value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a80ed65b1d194c71c6c9986ae42337d7d">SetAttribute</a>(const std::string &name, const std::string &_value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a6f18d54fbe25bbc527936ee65363b3c5">SetAttribute</a>(const std::string &name, int _value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#ace6f4be75e373726d4774073d666d1a7">SetAttribute</a>(const char *name, int value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a0d1dd975d75496778177e35abfe0ec0b">SetDoubleAttribute</a>(const char *name, double value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a>(const char *in_value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a40fc2e3c1a955e2f78e1a32350d180e7">TiXmlElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c">ToElement</a>() const </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlElement.html#a9def86337ea7a755eb41cac980f60c7a">ToElement</a>()</td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlElement.html b/shared/tinyxml/docs/classTiXmlElement.html deleted file mode 100644 index 4d6a5e93..00000000 --- a/shared/tinyxml/docs/classTiXmlElement.html +++ /dev/null @@ -1,474 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlElement Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlElement Class Reference</h1><!-- doxytag: class="TiXmlElement" --><!-- doxytag: inherits="TiXmlNode" --> -<p>The element is a container class. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlElement:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlElement.png" usemap="#TiXmlElement_map" alt=""/> - <map id="TiXmlElement_map" name="TiXmlElement_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,87,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,87,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlElement-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01bc3ab372d35da08efcbbe65ad90c60"></a><!-- doxytag: member="TiXmlElement::TiXmlElement" ref="a01bc3ab372d35da08efcbbe65ad90c60" args="(const char *in_value)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a> (const char *in_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40fc2e3c1a955e2f78e1a32350d180e7"></a><!-- doxytag: member="TiXmlElement::TiXmlElement" ref="a40fc2e3c1a955e2f78e1a32350d180e7" args="(const std::string &_value)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a40fc2e3c1a955e2f78e1a32350d180e7">TiXmlElement</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">std::string constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae419a442a9701a62b0c3d8fd1cbdd12d"></a><!-- doxytag: member="TiXmlElement::Attribute" ref="ae419a442a9701a62b0c3d8fd1cbdd12d" args="(const char *name) const " --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a> (const char *name) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Given an attribute name, <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> returns the value for the attribute of that name, or null if none exists. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a0ed8348fdc56b72a6b4900ce5bac1849">Attribute</a> (const char *name, int *i) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Given an attribute name, <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> returns the value for the attribute of that name, or null if none exists. <a href="#a0ed8348fdc56b72a6b4900ce5bac1849"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#aeaff99d4f0ea5b34f7aee202aad457ba">Attribute</a> (const char *name, double *d) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Given an attribute name, <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> returns the value for the attribute of that name, or null if none exists. <a href="#aeaff99d4f0ea5b34f7aee202aad457ba"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9">QueryIntAttribute</a> (const char *name, int *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryIntAttribute examines the attribute - it is an alternative to the <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> method with richer error checking. <a href="#aea0bfe471380f281c5945770ddbf52b9"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae48df644f890ab86fa19839ac401f00d"></a><!-- doxytag: member="TiXmlElement::QueryUnsignedAttribute" ref="ae48df644f890ab86fa19839ac401f00d" args="(const char *name, unsigned *_value) const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#ae48df644f890ab86fa19839ac401f00d">QueryUnsignedAttribute</a> (const char *name, unsigned *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryUnsignedAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#af4a1d3f88c28eb0f3115dc39ebd83fff">QueryBoolAttribute</a> (const char *name, bool *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryBoolAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. <a href="#af4a1d3f88c28eb0f3115dc39ebd83fff"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a898d7730ecc341f0bffc7a9dadbf1ce7"></a><!-- doxytag: member="TiXmlElement::QueryDoubleAttribute" ref="a898d7730ecc341f0bffc7a9dadbf1ce7" args="(const char *name, double *_value) const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7">QueryDoubleAttribute</a> (const char *name, double *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryDoubleAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa04d3af11601ef5a5f88295203a843be"></a><!-- doxytag: member="TiXmlElement::QueryFloatAttribute" ref="aa04d3af11601ef5a5f88295203a843be" args="(const char *name, float *_value) const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be">QueryFloatAttribute</a> (const char *name, float *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryFloatAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14321ac360efe906ed449d9db3fd9961"></a><!-- doxytag: member="TiXmlElement::QueryStringAttribute" ref="a14321ac360efe906ed449d9db3fd9961" args="(const char *name, std::string *_value) const " --> -int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a14321ac360efe906ed449d9db3fd9961">QueryStringAttribute</a> (const char *name, std::string *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">QueryStringAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. <br/></td></tr> -<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr> -<tr><td class="memTemplItemLeft" align="right" valign="top">int </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#ae3b9a03b0a56663a40801c7256683576">QueryValueAttribute</a> (const std::string &name, T *outValue) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Template form of the attribute query which will try to read the attribute into the specified type. <a href="#ae3b9a03b0a56663a40801c7256683576"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#abf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a> (const char *name, const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets an attribute of name to a given value. <a href="#abf0b3bd7f0e4c746a89ec6e7f101fc32"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a80ed65b1d194c71c6c9986ae42337d7d">SetAttribute</a> (const std::string &name, const std::string &_value)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f18d54fbe25bbc527936ee65363b3c5"></a><!-- doxytag: member="TiXmlElement::SetAttribute" ref="a6f18d54fbe25bbc527936ee65363b3c5" args="(const std::string &name, int _value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a6f18d54fbe25bbc527936ee65363b3c5">SetAttribute</a> (const std::string &name, int _value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#ace6f4be75e373726d4774073d666d1a7">SetAttribute</a> (const char *name, int value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets an attribute of name to a given value. <a href="#ace6f4be75e373726d4774073d666d1a7"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a0d1dd975d75496778177e35abfe0ec0b">SetDoubleAttribute</a> (const char *name, double value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets an attribute of name to a given value. <a href="#a0d1dd975d75496778177e35abfe0ec0b"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56979767deca794376b1dfa69a525b2a"></a><!-- doxytag: member="TiXmlElement::RemoveAttribute" ref="a56979767deca794376b1dfa69a525b2a" args="(const char *name)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a56979767deca794376b1dfa69a525b2a">RemoveAttribute</a> (const char *name)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes an attribute with the given name. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1afa6aea716511326a608e4c05df4f3a"></a><!-- doxytag: member="TiXmlElement::RemoveAttribute" ref="a1afa6aea716511326a608e4c05df4f3a" args="(const std::string &name)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a1afa6aea716511326a608e4c05df4f3a">RemoveAttribute</a> (const std::string &name)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a516054c9073647d6cb29b6abe9fa0592"></a><!-- doxytag: member="TiXmlElement::FirstAttribute" ref="a516054c9073647d6cb29b6abe9fa0592" args="() const " --> -const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592">FirstAttribute</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the first attribute in this element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86191b49f9177be132b85b14655f1381"></a><!-- doxytag: member="TiXmlElement::LastAttribute" ref="a86191b49f9177be132b85b14655f1381" args="() const " --> -const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381">LastAttribute</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the last attribute in this element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87">GetText</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function for easy access to the text inside an element. <a href="#af3282294986cdb216646ea1f67af2c87"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa464535ea1994db337cb6a8ce4b588b5"></a><!-- doxytag: member="TiXmlElement::Clone" ref="aa464535ea1994db337cb6a8ce4b588b5" args="() const " --> -virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#aa464535ea1994db337cb6a8ce4b588b5">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new Element and returns it - the returned element is a copy. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#afbf52736e70fc91ec9d760721d6f4fd2">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#afbf52736e70fc91ec9d760721d6f4fd2"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5b8d0e25fa23fd9acbb6d146082901c"></a><!-- doxytag: member="TiXmlElement::ToElement" ref="ac5b8d0e25fa23fd9acbb6d146082901c" args="() const " --> -virtual const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c">ToElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9def86337ea7a755eb41cac980f60c7a"></a><!-- doxytag: member="TiXmlElement::ToElement" ref="a9def86337ea7a755eb41cac980f60c7a" args="()" --> -virtual <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a9def86337ea7a755eb41cac980f60c7a">ToElement</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71a81b2afb0d42be1543d1c404dee6f5"></a><!-- doxytag: member="TiXmlElement::Accept" ref="a71a81b2afb0d42be1543d1c404dee6f5" args="(TiXmlVisitor *visitor) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlElement.html#a71a81b2afb0d42be1543d1c404dee6f5">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *visitor) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>The element is a container class. </p> -<p>It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes. </p> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="aeaff99d4f0ea5b34f7aee202aad457ba"></a><!-- doxytag: member="TiXmlElement::Attribute" ref="aeaff99d4f0ea5b34f7aee202aad457ba" args="(const char *name, double *d) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const char* TiXmlElement::Attribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">double * </td> - <td class="paramname"> <em>d</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Given an attribute name, <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> returns the value for the attribute of that name, or null if none exists. </p> -<p>If the attribute exists and can be converted to an double, the double value will be put in the return 'd', if 'd' is non-null. </p> - -</div> -</div> -<a class="anchor" id="a0ed8348fdc56b72a6b4900ce5bac1849"></a><!-- doxytag: member="TiXmlElement::Attribute" ref="a0ed8348fdc56b72a6b4900ce5bac1849" args="(const char *name, int *i) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const char* TiXmlElement::Attribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int * </td> - <td class="paramname"> <em>i</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Given an attribute name, <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> returns the value for the attribute of that name, or null if none exists. </p> -<p>If the attribute exists and can be converted to an integer, the integer value will be put in the return 'i', if 'i' is non-null. </p> - -</div> -</div> -<a class="anchor" id="af3282294986cdb216646ea1f67af2c87"></a><!-- doxytag: member="TiXmlElement::GetText" ref="af3282294986cdb216646ea1f67af2c87" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const char* TiXmlElement::GetText </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Convenience function for easy access to the text inside an element. </p> -<p>Although easy and concise, <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87" title="Convenience function for easy access to the text inside an element.">GetText()</a> is limited compared to getting the <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a> child and accessing it directly.</p> -<p>If the first child of 'this' is a <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>, the <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87" title="Convenience function for easy access to the text inside an element.">GetText()</a> returns the character string of the Text node, else null is returned.</p> -<p>This is a convenient method for getting the text of simple contained text: </p> -<div class="fragment"><pre class="fragment"> - <foo>This is text</foo> - const char* str = fooElement->GetText(); - </pre></div><p>'str' will be a pointer to "This is text".</p> -<p>Note that this function can be misleading. If the element foo was created from this XML: </p> -<div class="fragment"><pre class="fragment"> - <foo><b>This is text</b></foo> - </pre></div><p>then the value of str would be null. The first child node isn't a text node, it is another element. From this XML: </p> -<div class="fragment"><pre class="fragment"> - <foo>This is <b>text</b></foo> - </pre></div><p> <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87" title="Convenience function for easy access to the text inside an element.">GetText()</a> will return "This is ".</p> -<p>WARNING: <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87" title="Convenience function for easy access to the text inside an element.">GetText()</a> accesses a child node - don't become confused with the similarly named <a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">TiXmlHandle::Text()</a> and <a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03" title="Cast to a more defined type. Will return null if not of the requested type.">TiXmlNode::ToText()</a> which are safe type casts on the referenced node. </p> - -</div> -</div> -<a class="anchor" id="afbf52736e70fc91ec9d760721d6f4fd2"></a><!-- doxytag: member="TiXmlElement::Print" ref="afbf52736e70fc91ec9d760721d6f4fd2" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlElement::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<a class="anchor" id="af4a1d3f88c28eb0f3115dc39ebd83fff"></a><!-- doxytag: member="TiXmlElement::QueryBoolAttribute" ref="af4a1d3f88c28eb0f3115dc39ebd83fff" args="(const char *name, bool *_value) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlElement::QueryBoolAttribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">bool * </td> - <td class="paramname"> <em>_value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>QueryBoolAttribute examines the attribute - see <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute()</a>. </p> -<p>Note that '1', 'true', or 'yes' are considered true, while '0', 'false' and 'no' are considered false. </p> - -</div> -</div> -<a class="anchor" id="aea0bfe471380f281c5945770ddbf52b9"></a><!-- doxytag: member="TiXmlElement::QueryIntAttribute" ref="aea0bfe471380f281c5945770ddbf52b9" args="(const char *name, int *_value) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlElement::QueryIntAttribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int * </td> - <td class="paramname"> <em>_value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>QueryIntAttribute examines the attribute - it is an alternative to the <a class="el" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute()</a> method with richer error checking. </p> -<p>If the attribute is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE. If the attribute does not exist, then TIXML_NO_ATTRIBUTE is returned. </p> - -</div> -</div> -<a class="anchor" id="ae3b9a03b0a56663a40801c7256683576"></a><!-- doxytag: member="TiXmlElement::QueryValueAttribute" ref="ae3b9a03b0a56663a40801c7256683576" args="(const std::string &name, T *outValue) const " --> -<div class="memitem"> -<div class="memproto"> -<div class="memtemplate"> -template<typename T > </div> - <table class="memname"> - <tr> - <td class="memname">int TiXmlElement::QueryValueAttribute </td> - <td>(</td> - <td class="paramtype">const std::string & </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">T * </td> - <td class="paramname"> <em>outValue</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Template form of the attribute query which will try to read the attribute into the specified type. </p> -<p>Very easy, very powerful, but be careful to make sure to call this with the correct type.</p> -<p>NOTE: This method doesn't work correctly for 'string' types that contain spaces.</p> -<dl class="return"><dt><b>Returns:</b></dt><dd>TIXML_SUCCESS, TIXML_WRONG_TYPE, or TIXML_NO_ATTRIBUTE </dd></dl> - -<p>References <a class="el" href="tinyxml_8h_source.html#l00814">TiXmlAttribute::ValueStr()</a>.</p> - -</div> -</div> -<a class="anchor" id="ace6f4be75e373726d4774073d666d1a7"></a><!-- doxytag: member="TiXmlElement::SetAttribute" ref="ace6f4be75e373726d4774073d666d1a7" args="(const char *name, int value)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlElement::SetAttribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Sets an attribute of name to a given value. </p> -<p>The attribute will be created if it does not exist, or changed if it does. </p> - -</div> -</div> -<a class="anchor" id="a80ed65b1d194c71c6c9986ae42337d7d"></a><!-- doxytag: member="TiXmlElement::SetAttribute" ref="a80ed65b1d194c71c6c9986ae42337d7d" args="(const std::string &name, const std::string &_value)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlElement::SetAttribute </td> - <td>(</td> - <td class="paramtype">const std::string & </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const std::string & </td> - <td class="paramname"> <em>_value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> -<p>STL std::string form. </p> - -</div> -</div> -<a class="anchor" id="abf0b3bd7f0e4c746a89ec6e7f101fc32"></a><!-- doxytag: member="TiXmlElement::SetAttribute" ref="abf0b3bd7f0e4c746a89ec6e7f101fc32" args="(const char *name, const char *_value)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlElement::SetAttribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>_value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Sets an attribute of name to a given value. </p> -<p>The attribute will be created if it does not exist, or changed if it does. </p> - -</div> -</div> -<a class="anchor" id="a0d1dd975d75496778177e35abfe0ec0b"></a><!-- doxytag: member="TiXmlElement::SetDoubleAttribute" ref="a0d1dd975d75496778177e35abfe0ec0b" args="(const char *name, double value)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlElement::SetDoubleAttribute </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>name</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">double </td> - <td class="paramname"> <em>value</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Sets an attribute of name to a given value. </p> -<p>The attribute will be created if it does not exist, or changed if it does. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlElement.png b/shared/tinyxml/docs/classTiXmlElement.png Binary files differdeleted file mode 100644 index 21e8c8f9..00000000 --- a/shared/tinyxml/docs/classTiXmlElement.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlHandle-members.html b/shared/tinyxml/docs/classTiXmlHandle-members.html deleted file mode 100644 index 91fd69c3..00000000 --- a/shared/tinyxml/docs/classTiXmlHandle-members.html +++ /dev/null @@ -1,53 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlHandle Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlHandle.html">TiXmlHandle</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4">Child</a>(const char *value, int index) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#af9cf6a7d08a5da94a8924425ad0cd5ac">Child</a>(int index) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d">ChildElement</a>(const char *value, int index) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a8786475b9d1f1518492e3a46704c7ef0">ChildElement</a>(int index) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">Element</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a8c61f64ae9365d89c264f289085541f8">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#af0aea751320f5e430fac6f8fff3b8dd4">FirstChildElement</a>(const char *value) const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">Node</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">Text</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#aba18fd7bdefb942ecdea4bf4b8e29ec8">TiXmlHandle</a>(TiXmlNode *_node)</td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7">TiXmlHandle</a>(const TiXmlHandle &ref)</td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e">ToElement</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3">ToNode</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586">ToText</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">Unknown</a>() const </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlHandle.html b/shared/tinyxml/docs/classTiXmlHandle.html deleted file mode 100644 index 59ee217c..00000000 --- a/shared/tinyxml/docs/classTiXmlHandle.html +++ /dev/null @@ -1,412 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlHandle Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlHandle Class Reference</h1><!-- doxytag: class="TiXmlHandle" --> -<p>A <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> is a class that wraps a node pointer with null checks; this is an incredibly useful thing. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> - -<p><a href="classTiXmlHandle-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba18fd7bdefb942ecdea4bf4b8e29ec8"></a><!-- doxytag: member="TiXmlHandle::TiXmlHandle" ref="aba18fd7bdefb942ecdea4bf4b8e29ec8" args="(TiXmlNode *_node)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#aba18fd7bdefb942ecdea4bf4b8e29ec8">TiXmlHandle</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *_node)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a handle from any node (at any depth of the tree.) This can be a null pointer. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a236d7855e1e56ccc7b980630c48c7fd7"></a><!-- doxytag: member="TiXmlHandle::TiXmlHandle" ref="a236d7855e1e56ccc7b980630c48c7fd7" args="(const TiXmlHandle &ref)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7">TiXmlHandle</a> (const <a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> &ref)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdb1faaf88a700b40ca2c8d9aee21139"></a><!-- doxytag: member="TiXmlHandle::FirstChild" ref="acdb1faaf88a700b40ca2c8d9aee21139" args="() const " --> -<a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the first child node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c61f64ae9365d89c264f289085541f8"></a><!-- doxytag: member="TiXmlHandle::FirstChild" ref="a8c61f64ae9365d89c264f289085541f8" args="(const char *value) const " --> -<a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a8c61f64ae9365d89c264f289085541f8">FirstChild</a> (const char *value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the first child node with the given name. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24d1112e995e937e4dddb202d4113d4a"></a><!-- doxytag: member="TiXmlHandle::FirstChildElement" ref="a24d1112e995e937e4dddb202d4113d4a" args="() const " --> -<a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the first child element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0aea751320f5e430fac6f8fff3b8dd4"></a><!-- doxytag: member="TiXmlHandle::FirstChildElement" ref="af0aea751320f5e430fac6f8fff3b8dd4" args="(const char *value) const " --> -<a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#af0aea751320f5e430fac6f8fff3b8dd4">FirstChildElement</a> (const char *value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the first child element with the given name. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4">Child</a> (const char *value, int index) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the "index" child with the given name. <a href="#a072492b4be1acdb0db2d03cd8f71ccc4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#af9cf6a7d08a5da94a8924425ad0cd5ac">Child</a> (int index) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the "index" child. <a href="#af9cf6a7d08a5da94a8924425ad0cd5ac"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d">ChildElement</a> (const char *value, int index) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the "index" child element with the given name. <a href="#a979a3f850984a176ee884e394c7eed2d"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a8786475b9d1f1518492e3a46704c7ef0">ChildElement</a> (int index) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a handle to the "index" child element. <a href="#a8786475b9d1f1518492e3a46704c7ef0"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3">ToNode</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the handle as a <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. <a href="#af678e5088e83be67baf76f699756f2c3"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e">ToElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the handle as a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>. <a href="#abc6e7ed383a5fe1e52b0c0004b457b9e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586">ToText</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the handle as a <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>. <a href="#a4ac53a652296203a5b5e13854d923586"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674">ToUnknown</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the handle as a <a class="el" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn't recognize is saved as an unknown.">TiXmlUnknown</a>. <a href="#a1381c17507a130767b1e23afc93b3674"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">Node</a> () const </td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">Element</a> () const </td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">Text</a> () const </td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">Unknown</a> () const </td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>A <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> is a class that wraps a node pointer with null checks; this is an incredibly useful thing. </p> -<p>Note that <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> is not part of the TinyXml DOM structure. It is a separate utility class.</p> -<p>Take an example: </p> -<div class="fragment"><pre class="fragment"> - <Document> - <Element attributeA = "valueA"> - <Child attributeB = "value1" /> - <Child attributeB = "value2" /> - </Element> - <Document> - </pre></div><p>Assuming you want the value of "attributeB" in the 2nd "Child" element, it's very easy to write a *lot* of code that looks like:</p> -<div class="fragment"><pre class="fragment"> - TiXmlElement* root = document.FirstChildElement( "Document" ); - if ( root ) - { - TiXmlElement* element = root->FirstChildElement( "Element" ); - if ( element ) - { - TiXmlElement* child = element->FirstChildElement( "Child" ); - if ( child ) - { - TiXmlElement* child2 = child->NextSiblingElement( "Child" ); - if ( child2 ) - { - // Finally do something useful. - </pre></div><p>And that doesn't even cover "else" cases. <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> addresses the verbosity of such code. A <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> checks for null pointers so it is perfectly safe and correct to use:</p> -<div class="fragment"><pre class="fragment"> - TiXmlHandle docHandle( &document ); - TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement(); - if ( child2 ) - { - // do something useful - </pre></div><p>Which is MUCH more concise and useful.</p> -<p>It is also safe to copy handles - internally they are nothing more than node pointers. </p> -<div class="fragment"><pre class="fragment"> - TiXmlHandle handleCopy = handle; - </pre></div><p>What they should not be used for is iteration:</p> -<div class="fragment"><pre class="fragment"> - int i=0; - while ( true ) - { - TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement(); - if ( !child ) - break; - // do something - ++i; - } - </pre></div><p>It seems reasonable, but it is in fact two embedded while loops. The Child method is a linear walk to find the element, so this code would iterate much more than it needs to. Instead, prefer:</p> -<div class="fragment"><pre class="fragment"> - TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement(); - - for( child; child; child=child->NextSiblingElement() ) - { - // do something - } - </pre></div> <hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="af9cf6a7d08a5da94a8924425ad0cd5ac"></a><!-- doxytag: member="TiXmlHandle::Child" ref="af9cf6a7d08a5da94a8924425ad0cd5ac" args="(int index) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> TiXmlHandle::Child </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"> <em>index</em></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return a handle to the "index" child. </p> -<p>The first child is 0, the second 1, etc. </p> - -</div> -</div> -<a class="anchor" id="a072492b4be1acdb0db2d03cd8f71ccc4"></a><!-- doxytag: member="TiXmlHandle::Child" ref="a072492b4be1acdb0db2d03cd8f71ccc4" args="(const char *value, int index) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> TiXmlHandle::Child </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>value</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>index</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return a handle to the "index" child with the given name. </p> -<p>The first child is 0, the second 1, etc. </p> - -</div> -</div> -<a class="anchor" id="a8786475b9d1f1518492e3a46704c7ef0"></a><!-- doxytag: member="TiXmlHandle::ChildElement" ref="a8786475b9d1f1518492e3a46704c7ef0" args="(int index) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> TiXmlHandle::ChildElement </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"> <em>index</em></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return a handle to the "index" child element. </p> -<p>The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted. </p> - -</div> -</div> -<a class="anchor" id="a979a3f850984a176ee884e394c7eed2d"></a><!-- doxytag: member="TiXmlHandle::ChildElement" ref="a979a3f850984a176ee884e394c7eed2d" args="(const char *value, int index) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> TiXmlHandle::ChildElement </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>value</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>index</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return a handle to the "index" child element with the given name. </p> -<p>The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted. </p> - -</div> -</div> -<a class="anchor" id="acb5fe8388a526289ea65e817a51e05e7"></a><!-- doxytag: member="TiXmlHandle::Element" ref="acb5fe8388a526289ea65e817a51e05e7" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlHandle::Element </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> -<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>use ToElement. Return the handle as a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>. This may return null. </dd></dl> - -<p>References <a class="el" href="tinyxml_8h_source.html#l01688">ToElement()</a>.</p> - -</div> -</div> -<a class="anchor" id="ab44b723a8dc9af72838a303c079d0376"></a><!-- doxytag: member="TiXmlHandle::Node" ref="ab44b723a8dc9af72838a303c079d0376" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlHandle::Node </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> -<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>use ToNode. Return the handle as a <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. This may return null. </dd></dl> - -<p>References <a class="el" href="tinyxml_8h_source.html#l01685">ToNode()</a>.</p> - -</div> -</div> -<a class="anchor" id="a9fc739c8a18d160006f82572fc143d13"></a><!-- doxytag: member="TiXmlHandle::Text" ref="a9fc739c8a18d160006f82572fc143d13" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlText.html">TiXmlText</a>* TiXmlHandle::Text </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> -<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>use <a class="el" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586" title="Return the handle as a TiXmlText.">ToText()</a> Return the handle as a <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>. This may return null. </dd></dl> - -<p>References <a class="el" href="tinyxml_8h_source.html#l01691">ToText()</a>.</p> - -</div> -</div> -<a class="anchor" id="abc6e7ed383a5fe1e52b0c0004b457b9e"></a><!-- doxytag: member="TiXmlHandle::ToElement" ref="abc6e7ed383a5fe1e52b0c0004b457b9e" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlHandle::ToElement </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return the handle as a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>. </p> -<p>This may return null. </p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01703">Element()</a>.</p> - -</div> -</div> -<a class="anchor" id="af678e5088e83be67baf76f699756f2c3"></a><!-- doxytag: member="TiXmlHandle::ToNode" ref="af678e5088e83be67baf76f699756f2c3" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlHandle::ToNode </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return the handle as a <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. </p> -<p>This may return null. </p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01699">Node()</a>.</p> - -</div> -</div> -<a class="anchor" id="a4ac53a652296203a5b5e13854d923586"></a><!-- doxytag: member="TiXmlHandle::ToText" ref="a4ac53a652296203a5b5e13854d923586" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlText.html">TiXmlText</a>* TiXmlHandle::ToText </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return the handle as a <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>. </p> -<p>This may return null. </p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01707">Text()</a>.</p> - -</div> -</div> -<a class="anchor" id="a1381c17507a130767b1e23afc93b3674"></a><!-- doxytag: member="TiXmlHandle::ToUnknown" ref="a1381c17507a130767b1e23afc93b3674" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a>* TiXmlHandle::ToUnknown </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return the handle as a <a class="el" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn't recognize is saved as an unknown.">TiXmlUnknown</a>. </p> -<p>This may return null. </p> - -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01711">Unknown()</a>.</p> - -</div> -</div> -<a class="anchor" id="a49675b74357ba2aae124657a9a1ef465"></a><!-- doxytag: member="TiXmlHandle::Unknown" ref="a49675b74357ba2aae124657a9a1ef465" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a>* TiXmlHandle::Unknown </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> -<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>use <a class="el" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674" title="Return the handle as a TiXmlUnknown.">ToUnknown()</a> Return the handle as a <a class="el" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn't recognize is saved as an unknown.">TiXmlUnknown</a>. This may return null. </dd></dl> - -<p>References <a class="el" href="tinyxml_8h_source.html#l01694">ToUnknown()</a>.</p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlNode-members.html b/shared/tinyxml/docs/classTiXmlNode-members.html deleted file mode 100644 index 3151b699..00000000 --- a/shared/tinyxml/docs/classTiXmlNode-members.html +++ /dev/null @@ -1,107 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlNode Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlNode.html">TiXmlNode</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86">Accept</a>(TiXmlVisitor *visitor) const =0</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [pure virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4">Clone</a>() const =0</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [pure virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">Print</a>(FILE *cfile, int depth) const =0</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [pure virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlNode.html b/shared/tinyxml/docs/classTiXmlNode.html deleted file mode 100644 index 5ba4bcf3..00000000 --- a/shared/tinyxml/docs/classTiXmlNode.html +++ /dev/null @@ -1,718 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlNode Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlNode Class Reference</h1><!-- doxytag: class="TiXmlNode" --><!-- doxytag: inherits="TiXmlBase" --> -<p>The parent class for everything in the Document Object Model. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlNode:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlNode.png" usemap="#TiXmlNode_map" alt=""/> - <map id="TiXmlNode_map" name="TiXmlNode_map"> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="295,0,403,24"/> -<area href="classTiXmlComment.html" alt="TiXmlComment" shape="rect" coords="0,112,108,136"/> -<area href="classTiXmlDeclaration.html" alt="TiXmlDeclaration" shape="rect" coords="118,112,226,136"/> -<area href="classTiXmlDocument.html" alt="TiXmlDocument" shape="rect" coords="236,112,344,136"/> -<area href="classTiXmlElement.html" alt="TiXmlElement" shape="rect" coords="354,112,462,136"/> -<area href="classTiXmlText.html" alt="TiXmlText" shape="rect" coords="472,112,580,136"/> -<area href="classTiXmlUnknown.html" alt="TiXmlUnknown" shape="rect" coords="590,112,698,136"/> -</map> - </div> -</div> - -<p><a href="classTiXmlNode-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Types</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight"><p>The types of XML nodes supported by TinyXml. </p> - <a href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">More...</a><br/></td></tr> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The meaning of 'value' changes for the specific type of <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. <a href="#a77943eb90d12c2892b1337a9f5918b41"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return <a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41" title="The meaning of 'value' changes for the specific type of TiXmlNode.">Value()</a> as a std::string. <a href="#a6d9e505619d39bf50bfd9609c9169ea5"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a> (const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the value of the node. <a href="#a2a38329ca5d3f28f98ce932b8299ae90"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2598d5f448042c1abbeae4503dd45ff2"></a><!-- doxytag: member="TiXmlNode::SetValue" ref="a2598d5f448042c1abbeae4503dd45ff2" args="(const std::string &_value)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a708e7f953df61d4d2d12f73171550a4b"></a><!-- doxytag: member="TiXmlNode::Clear" ref="a708e7f953df61d4d2d12f73171550a4b" args="()" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete all the children of this node. Does not affect 'this'. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab643043132ffd794f8602685d34a982e"></a><!-- doxytag: member="TiXmlNode::Parent" ref="ab643043132ffd794f8602685d34a982e" args="()" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">One step up the DOM. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44c8eee26bbe2d1b2762038df9dde2f0"></a><!-- doxytag: member="TiXmlNode::FirstChild" ref="a44c8eee26bbe2d1b2762038df9dde2f0" args="() const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The first child of this node. Will be null if there are no children. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a> (const char *value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The first child of this node with the matching 'value'. <a href="#a1f05828d023150706eeb16d6fb3f6355"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc8bf32be6419ec453a731868de19554"></a><!-- doxytag: member="TiXmlNode::FirstChild" ref="abc8bf32be6419ec453a731868de19554" args="(const char *_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a> (const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The first child of this node with the matching 'value'. Will be null if none found. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6432d2b2495f6caf9cb4278df706a031"></a><!-- doxytag: member="TiXmlNode::LastChild" ref="a6432d2b2495f6caf9cb4278df706a031" args="()" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The last child of this node. Will be null if there are no children. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abad5bf1059c48127b958711ef89e8e5d"></a><!-- doxytag: member="TiXmlNode::LastChild" ref="abad5bf1059c48127b958711ef89e8e5d" args="(const char *_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a> (const char *_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The last child of this node matching 'value'. Will be null if there are no children. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07f6200a5956c723c5b52d70f29c46f6"></a><!-- doxytag: member="TiXmlNode::FirstChild" ref="a07f6200a5956c723c5b52d70f29c46f6" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10d2669ccb5e29e02fcb0e4408685ef6"></a><!-- doxytag: member="TiXmlNode::FirstChild" ref="a10d2669ccb5e29e02fcb0e4408685ef6" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a256d0cdbfcfeccae83f3a1c9747a8b63"></a><!-- doxytag: member="TiXmlNode::LastChild" ref="a256d0cdbfcfeccae83f3a1c9747a8b63" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69772c9202f70553f940b15c06b07be3"></a><!-- doxytag: member="TiXmlNode::LastChild" ref="a69772c9202f70553f940b15c06b07be3" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a> (const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> *previous) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">An alternate way to walk the children of a node. <a href="#a8621196ba3705fa226bef4a761cc51b6"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfaef35a076b9343adc1420757376c39"></a><!-- doxytag: member="TiXmlNode::IterateChildren" ref="adfaef35a076b9343adc1420757376c39" args="(const char *value, const TiXmlNode *previous) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a> (const char *value, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> *previous) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This flavor of IterateChildren searches for children with a particular 'value'. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cbaaf8e82c09ad763d52616d75724df"></a><!-- doxytag: member="TiXmlNode::IterateChildren" ref="a1cbaaf8e82c09ad763d52616d75724df" args="(const std::string &_value, const TiXmlNode *previous) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a> (const std::string &_value, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> *previous) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16e9ad53e2f5445b14bf325c90aa862c"></a><!-- doxytag: member="TiXmlNode::IterateChildren" ref="a16e9ad53e2f5445b14bf325c90aa862c" args="(const std::string &_value, const TiXmlNode *previous)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a> (const std::string &_value, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> *previous)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a> (const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &addThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new node related to this. <a href="#ad7d4630e1a2a916edda16be22448a8ba"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *addThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new node related to this. <a href="#a5d29442ae46de6d0168429156197bfc6"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *beforeThis, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &addThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new node related to this. <a href="#a0c146fa2fff0157b681594102f48cbc7"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *afterThis, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &addThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new node related to this. <a href="#ad9b75e54ec19301c8b4d5ff583d0b3d5"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *replaceThis, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &withThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace a child of this node. <a href="#a0c49e739a17b9938050c22cd89617fbd"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae19d8510efc90596552f4feeac9a8fbf"></a><!-- doxytag: member="TiXmlNode::RemoveChild" ref="ae19d8510efc90596552f4feeac9a8fbf" args="(TiXmlNode *removeThis)" --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a> (<a class="el" href="classTiXmlNode.html">TiXmlNode</a> *removeThis)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a child of this node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2cd892768726270e511b2ab32de4d10"></a><!-- doxytag: member="TiXmlNode::PreviousSibling" ref="ac2cd892768726270e511b2ab32de4d10" args="() const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Navigate to a sibling node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bdd49327eec1e609b7d22af706b8316"></a><!-- doxytag: member="TiXmlNode::PreviousSibling" ref="a5bdd49327eec1e609b7d22af706b8316" args="(const char *) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a> (const char *) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Navigate to a sibling node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a658276f57d35d5d4256d1dc1a2c398ab"></a><!-- doxytag: member="TiXmlNode::PreviousSibling" ref="a658276f57d35d5d4256d1dc1a2c398ab" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc8a0434c7f401d4a3b6dee77c1a5912"></a><!-- doxytag: member="TiXmlNode::PreviousSibling" ref="acc8a0434c7f401d4a3b6dee77c1a5912" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b94d2f7fa7ab25a5a8e8d4340c449c9"></a><!-- doxytag: member="TiXmlNode::NextSibling" ref="a1b94d2f7fa7ab25a5a8e8d4340c449c9" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1757c1f4d01e8c9596ffdbd561c76aea"></a><!-- doxytag: member="TiXmlNode::NextSibling" ref="a1757c1f4d01e8c9596ffdbd561c76aea" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af854baeba384f5fe9859f5aee03b548e"></a><!-- doxytag: member="TiXmlNode::NextSibling" ref="af854baeba384f5fe9859f5aee03b548e" args="() const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Navigate to a sibling node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e61c0b89a77e36a0e8c60490003cb46"></a><!-- doxytag: member="TiXmlNode::NextSibling" ref="a2e61c0b89a77e36a0e8c60490003cb46" args="(const char *) const " --> -const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a> (const char *) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Navigate to a sibling node with the given 'value'. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function to get through elements. <a href="#a73acf929d49d10bd0e5fb3d31b0372d1"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a> (const char *) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function to get through elements. <a href="#a071ba77fd7ab79402fa84b7e9b8607b3"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7572d0af9d1e696ee3f05d8bb5ebb463"></a><!-- doxytag: member="TiXmlNode::NextSiblingElement" ref="a7572d0af9d1e696ee3f05d8bb5ebb463" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a506958e34406729a4e4c5326ea39d081"></a><!-- doxytag: member="TiXmlNode::NextSiblingElement" ref="a506958e34406729a4e4c5326ea39d081" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4fb652f6bd79ae0d5ce7d0f7d3c0fba"></a><!-- doxytag: member="TiXmlNode::FirstChildElement" ref="af4fb652f6bd79ae0d5ce7d0f7d3c0fba" args="() const " --> -const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function to get through elements. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="accda2c6b45c25bb5a6f9c3407a644e61"></a><!-- doxytag: member="TiXmlNode::FirstChildElement" ref="accda2c6b45c25bb5a6f9c3407a644e61" args="(const char *_value) const " --> -const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a> (const char *_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function to get through elements. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a327ad4bbd90073c5dfc931b07314f5f7"></a><!-- doxytag: member="TiXmlNode::FirstChildElement" ref="a327ad4bbd90073c5dfc931b07314f5f7" args="(const std::string &_value) const " --> -const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a> (const std::string &_value) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f1d7291880534c1e5cdeb392d8c1f45"></a><!-- doxytag: member="TiXmlNode::FirstChildElement" ref="a7f1d7291880534c1e5cdeb392d8c1f45" args="(const std::string &_value)" --> -<a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a> (const std::string &_value)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">STL std::string form. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Query the type (as an enumerated value, above) of this node. <a href="#a57b99d5c97d67a42b9752f5210a1ba5e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the Document this node lives in. <a href="#a80e397fa973cf5323e33b07154b024f3"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeed21ad30630ef6e7faf096127edc9f3"></a><!-- doxytag: member="TiXmlNode::NoChildren" ref="aeed21ad30630ef6e7faf096127edc9f3" args="() const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this node has no children. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a4cda4b15c29f64cff419309aebed08"></a><!-- doxytag: member="TiXmlNode::ToDocument" ref="a8a4cda4b15c29f64cff419309aebed08" args="() const " --> -virtual const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72abed96dc9667ab9e0a2a275301bb1c"></a><!-- doxytag: member="TiXmlNode::ToElement" ref="a72abed96dc9667ab9e0a2a275301bb1c" args="() const " --> -virtual const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0a5086f9eaee910bbfdc7f975e26574"></a><!-- doxytag: member="TiXmlNode::ToComment" ref="aa0a5086f9eaee910bbfdc7f975e26574" args="() const " --> -virtual const <a class="el" href="classTiXmlComment.html">TiXmlComment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd7205cf31d7a376929f8a36930627a2"></a><!-- doxytag: member="TiXmlNode::ToUnknown" ref="afd7205cf31d7a376929f8a36930627a2" args="() const " --> -virtual const <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95a46a52c525992d6b4ee08beb14cd69"></a><!-- doxytag: member="TiXmlNode::ToText" ref="a95a46a52c525992d6b4ee08beb14cd69" args="() const " --> -virtual const <a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f43e6984fc7d4afd6eb32714c6b7b72"></a><!-- doxytag: member="TiXmlNode::ToDeclaration" ref="a9f43e6984fc7d4afd6eb32714c6b7b72" args="() const " --> -virtual const <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a4c8ac28ee7a745d059db6691e03bae"></a><!-- doxytag: member="TiXmlNode::ToDocument" ref="a6a4c8ac28ee7a745d059db6691e03bae" args="()" --> -virtual <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa65d000223187d22a4dcebd7479e9ebc"></a><!-- doxytag: member="TiXmlNode::ToElement" ref="aa65d000223187d22a4dcebd7479e9ebc" args="()" --> -virtual <a class="el" href="classTiXmlElement.html">TiXmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a383e06a0787f7063953934867990f849"></a><!-- doxytag: member="TiXmlNode::ToComment" ref="a383e06a0787f7063953934867990f849" args="()" --> -virtual <a class="el" href="classTiXmlComment.html">TiXmlComment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06de5af852668c7e4af0d09c205f0b0d"></a><!-- doxytag: member="TiXmlNode::ToUnknown" ref="a06de5af852668c7e4af0d09c205f0b0d" args="()" --> -virtual <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ddfbcac78fbea041fad57e5c6d60a03"></a><!-- doxytag: member="TiXmlNode::ToText" ref="a3ddfbcac78fbea041fad57e5c6d60a03" args="()" --> -virtual <a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4027136ca820ff4a636b607231b6a6df"></a><!-- doxytag: member="TiXmlNode::ToDeclaration" ref="a4027136ca820ff4a636b607231b6a6df" args="()" --> -virtual <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null if not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4">Clone</a> () const =0</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an exact duplicate of this node and return it. <a href="#a4508cc3a2d7a98e96a54cc09c37a78a4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *visitor) const =0</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Accept a hierchical visit the nodes in the TinyXML DOM. <a href="#acc0f88b7462c6cb73809d410a4f5bb86"></a><br/></td></tr> -<tr><td colspan="2"><h2>Friends</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a173617f6dfe902cf484ce5552b950475"></a><!-- doxytag: member="TiXmlNode::TiXmlDocument" ref="a173617f6dfe902cf484ce5552b950475" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a173617f6dfe902cf484ce5552b950475">TiXmlDocument</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6592e32cb9132be517cc12a70564c4b"></a><!-- doxytag: member="TiXmlNode::TiXmlElement" ref="ab6592e32cb9132be517cc12a70564c4b" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ab6592e32cb9132be517cc12a70564c4b">TiXmlElement</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">std::istream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a> (std::istream &in, <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &base)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">An input stream operator, for every class. <a href="#ab57bd426563c926844f65a78412e18b9"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a> (std::ostream &out, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &base)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">An output stream operator, for every class. <a href="#a86cd49cfb17a844c0010b3136ac966c7"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52ef17e7080df2490cf87bde380685ab"></a><!-- doxytag: member="TiXmlNode::operator<<" ref="a52ef17e7080df2490cf87bde380685ab" args="(std::string &out, const TiXmlNode &base)" --> -std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a> (std::string &out, const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> &base)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Appends the XML node or attribute to a std::string. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>The parent class for everything in the Document Object Model. </p> -<p>(Except for attributes). Nodes have siblings, a parent, and children. A node can be in a document, or stand on its own. The type of a <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> can be queried, and it can be cast to its more defined type. </p> -<hr/><h2>Member Enumeration Documentation</h2> -<a class="anchor" id="a836eded4920ab9e9ef28496f48cd95a2"></a><!-- doxytag: member="TiXmlNode::NodeType" ref="a836eded4920ab9e9ef28496f48cd95a2" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">enum <a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">TiXmlNode::NodeType</a></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>The types of XML nodes supported by TinyXml. </p> -<p>(All the unsupported types are picked up by UNKNOWN.) </p> - -</div> -</div> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="acc0f88b7462c6cb73809d410a4f5bb86"></a><!-- doxytag: member="TiXmlNode::Accept" ref="acc0f88b7462c6cb73809d410a4f5bb86" args="(TiXmlVisitor *visitor) const =0" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual bool TiXmlNode::Accept </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> * </td> - <td class="paramname"> <em>visitor</em></td> - <td> ) </td> - <td> const<code> [pure virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Accept a hierchical visit the nodes in the TinyXML DOM. </p> -<p>Every node in the XML tree will be conditionally visited and the host will be called back via the <a class="el" href="classTiXmlVisitor.html" title="Implements the interface to the "Visitor pattern" (see the Accept() method...">TiXmlVisitor</a> interface.</p> -<p>This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML is unchanged by using this interface versus any other.)</p> -<p>The interface has been based on ideas from:</p> -<ul> -<li><a href="http://www.saxproject.org/">http://www.saxproject.org/</a></li> -<li><a href="http://c2.com/cgi/wiki?HierarchicalVisitorPattern">http://c2.com/cgi/wiki?HierarchicalVisitorPattern</a></li> -</ul> -<p>Which are both good references for "visiting".</p> -<p>An example of using <a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86" title="Accept a hierchical visit the nodes in the TinyXML DOM.">Accept()</a>: </p> -<div class="fragment"><pre class="fragment"> - TiXmlPrinter printer; - tinyxmlDoc.Accept( &printer ); - const char* xmlcstr = printer.CStr(); - </pre></div> -<p>Implemented in <a class="el" href="classTiXmlElement.html#a71a81b2afb0d42be1543d1c404dee6f5">TiXmlElement</a>, <a class="el" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e">TiXmlComment</a>, <a class="el" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6">TiXmlText</a>, <a class="el" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e">TiXmlDeclaration</a>, <a class="el" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93">TiXmlUnknown</a>, and <a class="el" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a">TiXmlDocument</a>.</p> - -</div> -</div> -<a class="anchor" id="a4508cc3a2d7a98e96a54cc09c37a78a4"></a><!-- doxytag: member="TiXmlNode::Clone" ref="a4508cc3a2d7a98e96a54cc09c37a78a4" args="() const =0" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::Clone </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [pure virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Create an exact duplicate of this node and return it. </p> -<p>The memory must be deleted by the caller. </p> - -<p>Implemented in <a class="el" href="classTiXmlElement.html#aa464535ea1994db337cb6a8ce4b588b5">TiXmlElement</a>, <a class="el" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028">TiXmlComment</a>, <a class="el" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b">TiXmlText</a>, <a class="el" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e">TiXmlDeclaration</a>, <a class="el" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73">TiXmlUnknown</a>, and <a class="el" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907">TiXmlDocument</a>.</p> - -</div> -</div> -<a class="anchor" id="a1f05828d023150706eeb16d6fb3f6355"></a><!-- doxytag: member="TiXmlNode::FirstChild" ref="a1f05828d023150706eeb16d6fb3f6355" args="(const char *value) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::FirstChild </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>value</em></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>The first child of this node with the matching 'value'. </p> -<p>Will be null if none found. </p> - -</div> -</div> -<a class="anchor" id="a80e397fa973cf5323e33b07154b024f3"></a><!-- doxytag: member="TiXmlNode::GetDocument" ref="a80e397fa973cf5323e33b07154b024f3" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a>* TiXmlNode::GetDocument </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return a pointer to the Document this node lives in. </p> -<p>Returns null if not in a document. </p> - -</div> -</div> -<a class="anchor" id="ad9b75e54ec19301c8b4d5ff583d0b3d5"></a><!-- doxytag: member="TiXmlNode::InsertAfterChild" ref="ad9b75e54ec19301c8b4d5ff583d0b3d5" args="(TiXmlNode *afterThis, const TiXmlNode &addThis)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::InsertAfterChild </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td> - <td class="paramname"> <em>afterThis</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>addThis</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Add a new node related to this. </p> -<p>Adds a child after the specified child. Returns a pointer to the new object or NULL if an error occured. </p> - -</div> -</div> -<a class="anchor" id="a0c146fa2fff0157b681594102f48cbc7"></a><!-- doxytag: member="TiXmlNode::InsertBeforeChild" ref="a0c146fa2fff0157b681594102f48cbc7" args="(TiXmlNode *beforeThis, const TiXmlNode &addThis)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::InsertBeforeChild </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td> - <td class="paramname"> <em>beforeThis</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>addThis</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Add a new node related to this. </p> -<p>Adds a child before the specified child. Returns a pointer to the new object or NULL if an error occured. </p> - -</div> -</div> -<a class="anchor" id="ad7d4630e1a2a916edda16be22448a8ba"></a><!-- doxytag: member="TiXmlNode::InsertEndChild" ref="ad7d4630e1a2a916edda16be22448a8ba" args="(const TiXmlNode &addThis)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::InsertEndChild </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>addThis</em></td> - <td> ) </td> - <td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Add a new node related to this. </p> -<p>Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured. </p> - -</div> -</div> -<a class="anchor" id="a8621196ba3705fa226bef4a761cc51b6"></a><!-- doxytag: member="TiXmlNode::IterateChildren" ref="a8621196ba3705fa226bef4a761cc51b6" args="(const TiXmlNode *previous) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::IterateChildren </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td> - <td class="paramname"> <em>previous</em></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>An alternate way to walk the children of a node. </p> -<p>One way to iterate over nodes is: </p> -<div class="fragment"><pre class="fragment"> - for( child = parent->FirstChild(); child; child = child->NextSibling() ) - </pre></div><p>IterateChildren does the same thing with the syntax: </p> -<div class="fragment"><pre class="fragment"> - child = 0; - while( child = parent->IterateChildren( child ) ) - </pre></div><p>IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done. </p> - -</div> -</div> -<a class="anchor" id="a5d29442ae46de6d0168429156197bfc6"></a><!-- doxytag: member="TiXmlNode::LinkEndChild" ref="a5d29442ae46de6d0168429156197bfc6" args="(TiXmlNode *addThis)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::LinkEndChild </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td> - <td class="paramname"> <em>addThis</em></td> - <td> ) </td> - <td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Add a new node related to this. </p> -<p>Adds a child past the LastChild.</p> -<p>NOTE: the node to be added is passed by pointer, and will be henceforth owned (and deleted) by tinyXml. This method is efficient and avoids an extra copy, but should be used with care as it uses a different memory model than the other insert functions.</p> -<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba" title="Add a new node related to this.">InsertEndChild</a> </dd></dl> - -</div> -</div> -<a class="anchor" id="a071ba77fd7ab79402fa84b7e9b8607b3"></a><!-- doxytag: member="TiXmlNode::NextSiblingElement" ref="a071ba77fd7ab79402fa84b7e9b8607b3" args="(const char *) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlNode::NextSiblingElement </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Convenience function to get through elements. </p> -<p>Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. </p> - -</div> -</div> -<a class="anchor" id="a73acf929d49d10bd0e5fb3d31b0372d1"></a><!-- doxytag: member="TiXmlNode::NextSiblingElement" ref="a73acf929d49d10bd0e5fb3d31b0372d1" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const <a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlNode::NextSiblingElement </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const</td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Convenience function to get through elements. </p> -<p>Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. </p> - -</div> -</div> -<a class="anchor" id="a0c49e739a17b9938050c22cd89617fbd"></a><!-- doxytag: member="TiXmlNode::ReplaceChild" ref="a0c49e739a17b9938050c22cd89617fbd" args="(TiXmlNode *replaceThis, const TiXmlNode &withThis)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classTiXmlNode.html">TiXmlNode</a>* TiXmlNode::ReplaceChild </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td> - <td class="paramname"> <em>replaceThis</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>withThis</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Replace a child of this node. </p> -<p>Returns a pointer to the new object or NULL if an error occured. </p> - -</div> -</div> -<a class="anchor" id="a2a38329ca5d3f28f98ce932b8299ae90"></a><!-- doxytag: member="TiXmlNode::SetValue" ref="a2a38329ca5d3f28f98ce932b8299ae90" args="(const char *_value)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlNode::SetValue </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>_value</em></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Changes the value of the node. </p> -<p>Defined as: </p> -<div class="fragment"><pre class="fragment"> - Document: filename of the xml file - Element: name of the element - Comment: the comment text - Unknown: the tag contents - Text: the text string - </pre></div> -<p>Referenced by <a class="el" href="tinyxml_8h_source.html#l01168">TiXmlComment::TiXmlComment()</a>, and <a class="el" href="tinyxml_8h_source.html#l01220">TiXmlText::TiXmlText()</a>.</p> - -</div> -</div> -<a class="anchor" id="a57b99d5c97d67a42b9752f5210a1ba5e"></a><!-- doxytag: member="TiXmlNode::Type" ref="a57b99d5c97d67a42b9752f5210a1ba5e" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int TiXmlNode::Type </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Query the type (as an enumerated value, above) of this node. </p> -<p>The possible types are: TINYXML_DOCUMENT, TINYXML_ELEMENT, TINYXML_COMMENT, TINYXML_UNKNOWN, TINYXML_TEXT, and TINYXML_DECLARATION. </p> - -</div> -</div> -<a class="anchor" id="a77943eb90d12c2892b1337a9f5918b41"></a><!-- doxytag: member="TiXmlNode::Value" ref="a77943eb90d12c2892b1337a9f5918b41" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const char* TiXmlNode::Value </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>The meaning of 'value' changes for the specific type of <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. </p> -<div class="fragment"><pre class="fragment"> - Document: filename of the xml file - Element: name of the element - Comment: the comment text - Unknown: the tag contents - Text: the text string - </pre></div><p>The subclasses will wrap this function. </p> - -</div> -</div> -<a class="anchor" id="a6d9e505619d39bf50bfd9609c9169ea5"></a><!-- doxytag: member="TiXmlNode::ValueStr" ref="a6d9e505619d39bf50bfd9609c9169ea5" args="() const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const std::string& TiXmlNode::ValueStr </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td> const<code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Return <a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41" title="The meaning of 'value' changes for the specific type of TiXmlNode.">Value()</a> as a std::string. </p> -<p>If you only use STL, this is more efficient than calling <a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41" title="The meaning of 'value' changes for the specific type of TiXmlNode.">Value()</a>. Only available in STL mode. </p> - -</div> -</div> -<hr/><h2>Friends And Related Function Documentation</h2> -<a class="anchor" id="a86cd49cfb17a844c0010b3136ac966c7"></a><!-- doxytag: member="TiXmlNode::operator<<" ref="a86cd49cfb17a844c0010b3136ac966c7" args="(std::ostream &out, const TiXmlNode &base)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">std::ostream& operator<< </td> - <td>(</td> - <td class="paramtype">std::ostream & </td> - <td class="paramname"> <em>out</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>base</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [friend]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>An output stream operator, for every class. </p> -<p>Note that this outputs without any newlines or formatting, as opposed to <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print()</a>, which includes tabs and new lines.</p> -<p>The operator<< and operator>> are not completely symmetric. Writing a node to a stream is very well defined. You'll get a nice stream of output, without any extra whitespace or newlines.</p> -<p>But reading is not as well defined. (As it always is.) If you create a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a> (for example) and read that from an input stream, the text needs to define an element or junk will result. This is true of all input streams, but it's worth keeping in mind.</p> -<p>A <a class="el" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a> will read nodes until it reads a root element, and all the children of that root element. </p> - -</div> -</div> -<a class="anchor" id="ab57bd426563c926844f65a78412e18b9"></a><!-- doxytag: member="TiXmlNode::operator>>" ref="ab57bd426563c926844f65a78412e18b9" args="(std::istream &in, TiXmlNode &base)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">std::istream& operator>> </td> - <td>(</td> - <td class="paramtype">std::istream & </td> - <td class="paramname"> <em>in</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype"><a class="el" href="classTiXmlNode.html">TiXmlNode</a> & </td> - <td class="paramname"> <em>base</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [friend]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>An input stream operator, for every class. </p> -<p>Tolerant of newlines and formatting, but doesn't expect them. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlNode.png b/shared/tinyxml/docs/classTiXmlNode.png Binary files differdeleted file mode 100644 index 77ef876b..00000000 --- a/shared/tinyxml/docs/classTiXmlNode.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlPrinter-members.html b/shared/tinyxml/docs/classTiXmlPrinter-members.html deleted file mode 100644 index b1e6f75d..00000000 --- a/shared/tinyxml/docs/classTiXmlPrinter-members.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlPrinter Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e">CStr</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d">Indent</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d">LineBreak</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e">SetIndent</a>(const char *_indent)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6">SetLineBreak</a>(const char *_lineBreak)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19">SetStreamPrinting</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d">Size</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9">Str</a>()</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38">Visit</a>(const TiXmlDeclaration &declaration)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a711e7d65d4af9ec70977568d2451fb1c">Visit</a>(const TiXmlText &text)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a83c13d6b980064b30f989f9a35498979">Visit</a>(const TiXmlComment &comment)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#ad2dca6dd106e8982fd3c7db1f3330970">Visit</a>(const TiXmlUnknown &unknown)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a799f4f0388570cbb54c0d3c345fef7c1">VisitEnter</a>(const TiXmlDocument &doc)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a0c5e7bf8622838417a0d0bfb8f433854">VisitEnter</a>(const TiXmlElement &element, const TiXmlAttribute *firstAttribute)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2">VisitExit</a>(const TiXmlDocument &doc)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlPrinter.html#a1853cf2f6e63ad4b4232b4835e0acaf0">VisitExit</a>(const TiXmlElement &element)</td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></td><td><code> [virtual]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlPrinter.html b/shared/tinyxml/docs/classTiXmlPrinter.html deleted file mode 100644 index 28be1e88..00000000 --- a/shared/tinyxml/docs/classTiXmlPrinter.html +++ /dev/null @@ -1,181 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlPrinter Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlPrinter Class Reference</h1><!-- doxytag: class="TiXmlPrinter" --><!-- doxytag: inherits="TiXmlVisitor" --> -<p>Print to memory functionality. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlPrinter:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlPrinter.png" usemap="#TiXmlPrinter_map" alt=""/> - <map id="TiXmlPrinter_map" name="TiXmlPrinter_map"> -<area href="classTiXmlVisitor.html" alt="TiXmlVisitor" shape="rect" coords="0,0,81,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlPrinter-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a799f4f0388570cbb54c0d3c345fef7c1"></a><!-- doxytag: member="TiXmlPrinter::VisitEnter" ref="a799f4f0388570cbb54c0d3c345fef7c1" args="(const TiXmlDocument &doc)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a799f4f0388570cbb54c0d3c345fef7c1">VisitEnter</a> (const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> &doc)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a document. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66b33edd76c538b462f789b797a4fdf2"></a><!-- doxytag: member="TiXmlPrinter::VisitExit" ref="a66b33edd76c538b462f789b797a4fdf2" args="(const TiXmlDocument &doc)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2">VisitExit</a> (const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> &doc)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a document. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c5e7bf8622838417a0d0bfb8f433854"></a><!-- doxytag: member="TiXmlPrinter::VisitEnter" ref="a0c5e7bf8622838417a0d0bfb8f433854" args="(const TiXmlElement &element, const TiXmlAttribute *firstAttribute)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a0c5e7bf8622838417a0d0bfb8f433854">VisitEnter</a> (const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> &element, const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> *firstAttribute)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1853cf2f6e63ad4b4232b4835e0acaf0"></a><!-- doxytag: member="TiXmlPrinter::VisitExit" ref="a1853cf2f6e63ad4b4232b4835e0acaf0" args="(const TiXmlElement &element)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a1853cf2f6e63ad4b4232b4835e0acaf0">VisitExit</a> (const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> &element)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace1b14d33eede2575c0743e2350f6a38"></a><!-- doxytag: member="TiXmlPrinter::Visit" ref="ace1b14d33eede2575c0743e2350f6a38" args="(const TiXmlDeclaration &declaration)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38">Visit</a> (const <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> &declaration)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a declaration. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a711e7d65d4af9ec70977568d2451fb1c"></a><!-- doxytag: member="TiXmlPrinter::Visit" ref="a711e7d65d4af9ec70977568d2451fb1c" args="(const TiXmlText &text)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a711e7d65d4af9ec70977568d2451fb1c">Visit</a> (const <a class="el" href="classTiXmlText.html">TiXmlText</a> &text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a text node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83c13d6b980064b30f989f9a35498979"></a><!-- doxytag: member="TiXmlPrinter::Visit" ref="a83c13d6b980064b30f989f9a35498979" args="(const TiXmlComment &comment)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a83c13d6b980064b30f989f9a35498979">Visit</a> (const <a class="el" href="classTiXmlComment.html">TiXmlComment</a> &comment)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a comment node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2dca6dd106e8982fd3c7db1f3330970"></a><!-- doxytag: member="TiXmlPrinter::Visit" ref="ad2dca6dd106e8982fd3c7db1f3330970" args="(const TiXmlUnknown &unknown)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#ad2dca6dd106e8982fd3c7db1f3330970">Visit</a> (const <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> &unknown)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an unknown node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e">SetIndent</a> (const char *_indent)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the indent characters for printing. <a href="#a213377a4070c7e625bae59716b089e5e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb33ec7d4bad6aaeb57f4304394b133d"></a><!-- doxytag: member="TiXmlPrinter::Indent" ref="abb33ec7d4bad6aaeb57f4304394b133d" args="()" --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d">Indent</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Query the indention string. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6">SetLineBreak</a> (const char *_lineBreak)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the line breaking string. <a href="#a4be1e37e69e3858c59635aa947174fe6"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11f1b4804a460b175ec244eb5724d96d"></a><!-- doxytag: member="TiXmlPrinter::LineBreak" ref="a11f1b4804a460b175ec244eb5724d96d" args="()" --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d">LineBreak</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Query the current line breaking string. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19">SetStreamPrinting</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Switch over to "stream printing" which is the most dense formatting without linebreaks. <a href="#ab23a90629e374cb1cadca090468bbd19"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a859eede9597d3e0355b77757be48735e"></a><!-- doxytag: member="TiXmlPrinter::CStr" ref="a859eede9597d3e0355b77757be48735e" args="()" --> -const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e">CStr</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the result. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad01375ae9199bd2f48252eaddce3039d"></a><!-- doxytag: member="TiXmlPrinter::Size" ref="ad01375ae9199bd2f48252eaddce3039d" args="()" --> -size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d">Size</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the length of the result string. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3bd4daf44309b41f5813a833caa0d1c9"></a><!-- doxytag: member="TiXmlPrinter::Str" ref="a3bd4daf44309b41f5813a833caa0d1c9" args="()" --> -const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9">Str</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the result. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>Print to memory functionality. </p> -<p>The <a class="el" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a> is useful when you need to:</p> -<ol type="1"> -<li>Print to memory (especially in non-STL mode)</li> -<li>Control formatting (line endings, etc.)</li> -</ol> -<p>When constructed, the <a class="el" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a> is in its default "pretty printing" mode. Before calling Accept() you can call methods to control the printing of the XML document. After <a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86" title="Accept a hierchical visit the nodes in the TinyXML DOM.">TiXmlNode::Accept()</a> is called, the printed document can be accessed via the <a class="el" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e" title="Return the result.">CStr()</a>, <a class="el" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9" title="Return the result.">Str()</a>, and <a class="el" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d" title="Return the length of the result string.">Size()</a> methods.</p> -<p><a class="el" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a> uses the Visitor API. </p> -<div class="fragment"><pre class="fragment"> - TiXmlPrinter printer; - printer.SetIndent( "\t" ); - - doc.Accept( &printer ); - fprintf( stdout, "%s", printer.CStr() ); - </pre></div> <hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="a213377a4070c7e625bae59716b089e5e"></a><!-- doxytag: member="TiXmlPrinter::SetIndent" ref="a213377a4070c7e625bae59716b089e5e" args="(const char *_indent)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlPrinter::SetIndent </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>_indent</em></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Set the indent characters for printing. </p> -<p>By default 4 spaces but tab () is also useful, or null/empty string for no indentation. </p> - -</div> -</div> -<a class="anchor" id="a4be1e37e69e3858c59635aa947174fe6"></a><!-- doxytag: member="TiXmlPrinter::SetLineBreak" ref="a4be1e37e69e3858c59635aa947174fe6" args="(const char *_lineBreak)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlPrinter::SetLineBreak </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>_lineBreak</em></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Set the line breaking string. </p> -<p>By default set to newline (<br/> -). Some operating systems prefer other characters, or can be set to the null/empty string for no indenation. </p> - -</div> -</div> -<a class="anchor" id="ab23a90629e374cb1cadca090468bbd19"></a><!-- doxytag: member="TiXmlPrinter::SetStreamPrinting" ref="ab23a90629e374cb1cadca090468bbd19" args="()" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void TiXmlPrinter::SetStreamPrinting </td> - <td>(</td> - <td class="paramname"></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Switch over to "stream printing" which is the most dense formatting without linebreaks. </p> -<p>Common when the XML is needed for network transmission. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlPrinter.png b/shared/tinyxml/docs/classTiXmlPrinter.png Binary files differdeleted file mode 100644 index 6a5ff8e5..00000000 --- a/shared/tinyxml/docs/classTiXmlPrinter.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlText-members.html b/shared/tinyxml/docs/classTiXmlText-members.html deleted file mode 100644 index 11f7ef66..00000000 --- a/shared/tinyxml/docs/classTiXmlText-members.html +++ /dev/null @@ -1,111 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlText Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlText.html">TiXmlText</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6">Accept</a>(TiXmlVisitor *content) const </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586">CDATA</a>() const </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b">Clone</a>() const </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [protected, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9">SetCDATA</a>(bool _cdata)</td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960">TiXmlText</a>(const char *initValue)</td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#a439792f6183a3d3fb6f2bc2b16fa5691">TiXmlText</a>(const std::string &initValue)</td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648">ToText</a>() const </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b">ToText</a>()</td><td><a class="el" href="classTiXmlText.html">TiXmlText</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">ToUnknown</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlText.html b/shared/tinyxml/docs/classTiXmlText.html deleted file mode 100644 index fe311540..00000000 --- a/shared/tinyxml/docs/classTiXmlText.html +++ /dev/null @@ -1,149 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlText Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlText Class Reference</h1><!-- doxytag: class="TiXmlText" --><!-- doxytag: inherits="TiXmlNode" --> -<p>XML text. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlText:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlText.png" usemap="#TiXmlText_map" alt=""/> - <map id="TiXmlText_map" name="TiXmlText_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,73,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,73,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlText-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960">TiXmlText</a> (const char *initValue)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for text element. <a href="#af659e77c6b87d684827f35a8f4895960"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a439792f6183a3d3fb6f2bc2b16fa5691"></a><!-- doxytag: member="TiXmlText::TiXmlText" ref="a439792f6183a3d3fb6f2bc2b16fa5691" args="(const std::string &initValue)" --> - </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#a439792f6183a3d3fb6f2bc2b16fa5691">TiXmlText</a> (const std::string &initValue)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#a0cafbf6f236c7f02d12b2bffc2b7976b"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1a6a6b83fa2271022dd97c072a2b586"></a><!-- doxytag: member="TiXmlText::CDATA" ref="ad1a6a6b83fa2271022dd97c072a2b586" args="() const " --> -bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586">CDATA</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries whether this represents text using a CDATA section. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb17ff7c5d09b2c839393445a3de5ea9"></a><!-- doxytag: member="TiXmlText::SetCDATA" ref="acb17ff7c5d09b2c839393445a3de5ea9" args="(bool _cdata)" --> -void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9">SetCDATA</a> (bool _cdata)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Turns on or off a CDATA representation of text. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a895bf34ffad17f7439ab2a52b9651648"></a><!-- doxytag: member="TiXmlText::ToText" ref="a895bf34ffad17f7439ab2a52b9651648" args="() const " --> -virtual const <a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648">ToText</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7c3a8fd3e4dbf6c0c4363a943d72f5b"></a><!-- doxytag: member="TiXmlText::ToText" ref="ae7c3a8fd3e4dbf6c0c4363a943d72f5b" args="()" --> -virtual <a class="el" href="classTiXmlText.html">TiXmlText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b">ToText</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8483d4415ce9de6c4fa8f63d067d5de6"></a><!-- doxytag: member="TiXmlText::Accept" ref="a8483d4415ce9de6c4fa8f63d067d5de6" args="(TiXmlVisitor *content) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *content) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c411e93a27537369479d034cc82da3b"></a><!-- doxytag: member="TiXmlText::Clone" ref="a0c411e93a27537369479d034cc82da3b" args="() const " --> -virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">[internal use] Creates a new Element and returns it. <br/></td></tr> -<tr><td colspan="2"><h2>Friends</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6592e32cb9132be517cc12a70564c4b"></a><!-- doxytag: member="TiXmlText::TiXmlElement" ref="ab6592e32cb9132be517cc12a70564c4b" args="" --> -class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlText.html#ab6592e32cb9132be517cc12a70564c4b">TiXmlElement</a></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>XML text. </p> -<p>A text node can have 2 ways to output the next. "normal" output and CDATA. It will default to the mode it was parsed from the XML file and you generally want to leave it alone, but you can change the output mode with <a class="el" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9" title="Turns on or off a CDATA representation of text.">SetCDATA()</a> and query it with <a class="el" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586" title="Queries whether this represents text using a CDATA section.">CDATA()</a>. </p> -<hr/><h2>Constructor & Destructor Documentation</h2> -<a class="anchor" id="af659e77c6b87d684827f35a8f4895960"></a><!-- doxytag: member="TiXmlText::TiXmlText" ref="af659e77c6b87d684827f35a8f4895960" args="(const char *initValue)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">TiXmlText::TiXmlText </td> - <td>(</td> - <td class="paramtype">const char * </td> - <td class="paramname"> <em>initValue</em></td> - <td> ) </td> - <td><code> [inline]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Constructor for text element. </p> -<p>By default, it is treated as normal, encoded text. If you want it be output as a CDATA text element, set the parameter _cdata to 'true' </p> - -<p>References <a class="el" href="tinyxml_8h_source.html#l00508">TiXmlNode::SetValue()</a>.</p> - -</div> -</div> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="a0cafbf6f236c7f02d12b2bffc2b7976b"></a><!-- doxytag: member="TiXmlText::Print" ref="a0cafbf6f236c7f02d12b2bffc2b7976b" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlText::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlText.png b/shared/tinyxml/docs/classTiXmlText.png Binary files differdeleted file mode 100644 index ccd1c343..00000000 --- a/shared/tinyxml/docs/classTiXmlText.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlUnknown-members.html b/shared/tinyxml/docs/classTiXmlUnknown-members.html deleted file mode 100644 index 512d4ae5..00000000 --- a/shared/tinyxml/docs/classTiXmlUnknown-members.html +++ /dev/null @@ -1,107 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlUnknown Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93">Accept</a>(TiXmlVisitor *content) const </td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">Clear</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73">Clone</a>() const </td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">Column</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">EncodeString</a>(const TIXML_STRING &str, TIXML_STRING *out)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1f05828d023150706eeb16d6fb3f6355">FirstChild</a>(const char *value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">FirstChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">FirstChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">FirstChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#accda2c6b45c25bb5a6f9c3407a644e61">FirstChildElement</a>(const char *_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">FirstChildElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">FirstChildElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">GetDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">GetUserData</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>(TiXmlNode *afterThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>(TiXmlNode *beforeThis, const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>(const TiXmlNode &addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>()</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>(const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">IterateChildren</a>(const char *value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">IterateChildren</a>(const std::string &_value, const TiXmlNode *previous)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">LastChild</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">LastChild</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">LastChild</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">LastChild</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>(TiXmlNode *addThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">NextSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">NextSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">NextSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2e61c0b89a77e36a0e8c60490003cb46">NextSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">NextSiblingElement</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">NextSiblingElement</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">NextSiblingElement</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">NoChildren</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">NodeType</a> enum name</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">operator<<</a>(std::ostream &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a52ef17e7080df2490cf87bde380685ab">operator<<</a>(std::string &out, const TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">operator>></a>(std::istream &in, TiXmlNode &base)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [friend]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">Parent</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a5bdd49327eec1e609b7d22af706b8316">PreviousSibling</a>(const char *) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">PreviousSibling</a>(const std::string &_value) const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">PreviousSibling</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb">Print</a>(FILE *cfile, int depth) const </td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>(TiXmlNode *removeThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>(TiXmlNode *replaceThis, const TiXmlNode &withThis)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">Row</a>() const </td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>(bool condense)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline, static]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">SetUserData</a>(void *user)</td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(const char *_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">SetValue</a>(const std::string &_value)</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">ToComment</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">ToDeclaration</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">ToDocument</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">ToElement</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">ToText</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">ToText</a>()</td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d">ToUnknown</a>() const </td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlUnknown.html#a67c9fd22940e8c47f706a72cdd2e332c">ToUnknown</a>()</td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">Type</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">userData</a></td><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a></td><td><code> [protected]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">Value</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>() const </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a></td><td><code> [inline]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlUnknown.html b/shared/tinyxml/docs/classTiXmlUnknown.html deleted file mode 100644 index 17b3870b..00000000 --- a/shared/tinyxml/docs/classTiXmlUnknown.html +++ /dev/null @@ -1,111 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlUnknown Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlUnknown Class Reference</h1><!-- doxytag: class="TiXmlUnknown" --><!-- doxytag: inherits="TiXmlNode" --> -<p>Any tag that tinyXml doesn't recognize is saved as an unknown. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlUnknown:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlUnknown.png" usemap="#TiXmlUnknown_map" alt=""/> - <map id="TiXmlUnknown_map" name="TiXmlUnknown_map"> -<area href="classTiXmlNode.html" alt="TiXmlNode" shape="rect" coords="0,56,94,80"/> -<area href="classTiXmlBase.html" alt="TiXmlBase" shape="rect" coords="0,0,94,24"/> -</map> - </div> -</div> - -<p><a href="classTiXmlUnknown-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0960bb7428b3f341da46244229604d73"></a><!-- doxytag: member="TiXmlUnknown::Clone" ref="a0960bb7428b3f341da46244229604d73" args="() const " --> -virtual <a class="el" href="classTiXmlNode.html">TiXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73">Clone</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of this Unknown and returns it. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb">Print</a> (FILE *cfile, int depth) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. <a href="#a31ba089a40fb5a1869750fce09b0bacb"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0313e5fe77987d746ac1a97a254419d"></a><!-- doxytag: member="TiXmlUnknown::ToUnknown" ref="ab0313e5fe77987d746ac1a97a254419d" args="() const " --> -virtual const <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d">ToUnknown</a> () const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67c9fd22940e8c47f706a72cdd2e332c"></a><!-- doxytag: member="TiXmlUnknown::ToUnknown" ref="a67c9fd22940e8c47f706a72cdd2e332c" args="()" --> -virtual <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlUnknown.html#a67c9fd22940e8c47f706a72cdd2e332c">ToUnknown</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a more defined type. Will return null not of the requested type. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7122e5135581b3c832a1a3217760a93"></a><!-- doxytag: member="TiXmlUnknown::Accept" ref="ad7122e5135581b3c832a1a3217760a93" args="(TiXmlVisitor *content) const " --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93">Accept</a> (<a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> *content) const </td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the XML tree visiting this node and all of its children. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>Any tag that tinyXml doesn't recognize is saved as an unknown. </p> -<p>It is a tag of text, but should not be modified. It will be written back to the XML, unchanged, when the file is saved.</p> -<p>DTD tags get thrown into TiXmlUnknowns. </p> -<hr/><h2>Member Function Documentation</h2> -<a class="anchor" id="a31ba089a40fb5a1869750fce09b0bacb"></a><!-- doxytag: member="TiXmlUnknown::Print" ref="a31ba089a40fb5a1869750fce09b0bacb" args="(FILE *cfile, int depth) const " --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">virtual void TiXmlUnknown::Print </td> - <td>(</td> - <td class="paramtype">FILE * </td> - <td class="paramname"> <em>cfile</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"> <em>depth</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td> const<code> [virtual]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. </p> -<p>) Either or both cfile and str can be null.</p> -<p>This is a formatted print, and will insert tabs and newlines.</p> -<p>(For an unformatted stream, use the << operator.) </p> - -<p>Implements <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a>.</p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlUnknown.png b/shared/tinyxml/docs/classTiXmlUnknown.png Binary files differdeleted file mode 100644 index caa0c235..00000000 --- a/shared/tinyxml/docs/classTiXmlUnknown.png +++ /dev/null diff --git a/shared/tinyxml/docs/classTiXmlVisitor-members.html b/shared/tinyxml/docs/classTiXmlVisitor-members.html deleted file mode 100644 index 78f0439f..00000000 --- a/shared/tinyxml/docs/classTiXmlVisitor-members.html +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlVisitor Member List</h1>This is the complete list of members for <a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19">Visit</a>(const TiXmlDeclaration &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5">Visit</a>(const TiXmlText &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2">Visit</a>(const TiXmlComment &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#a7e284d607d275c51dac1adb58159ce28">Visit</a>(const TiXmlUnknown &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0">VisitEnter</a>(const TiXmlDocument &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff">VisitEnter</a>(const TiXmlElement &, const TiXmlAttribute *)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad">VisitExit</a>(const TiXmlDocument &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c">VisitExit</a>(const TiXmlElement &)</td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a></td><td><code> [inline, virtual]</code></td></tr> -</table></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlVisitor.html b/shared/tinyxml/docs/classTiXmlVisitor.html deleted file mode 100644 index 60c6a27d..00000000 --- a/shared/tinyxml/docs/classTiXmlVisitor.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TiXmlVisitor Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TiXmlVisitor Class Reference</h1><!-- doxytag: class="TiXmlVisitor" --> -<p>Implements the interface to the "Visitor pattern" (see the Accept() method. -<a href="#_details">More...</a></p> - -<p><code>#include <<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TiXmlVisitor:</div> -<div class="dynsection"> - <div class="center"> - <img src="classTiXmlVisitor.png" usemap="#TiXmlVisitor_map" alt=""/> - <map id="TiXmlVisitor_map" name="TiXmlVisitor_map"> -<area href="classTiXmlPrinter.html" alt="TiXmlPrinter" shape="rect" coords="0,56,81,80"/> -</map> - </div> -</div> - -<p><a href="classTiXmlVisitor-members.html">List of all members.</a></p> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07baecb52dd7d8716ae2a48ad0956ee0"></a><!-- doxytag: member="TiXmlVisitor::VisitEnter" ref="a07baecb52dd7d8716ae2a48ad0956ee0" args="(const TiXmlDocument &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0">VisitEnter</a> (const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a document. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0ade4f27087447e93974e975c3246ad"></a><!-- doxytag: member="TiXmlVisitor::VisitExit" ref="aa0ade4f27087447e93974e975c3246ad" args="(const TiXmlDocument &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad">VisitExit</a> (const <a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a document. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6c6178ffa517bbdba95d70490875fff"></a><!-- doxytag: member="TiXmlVisitor::VisitEnter" ref="af6c6178ffa517bbdba95d70490875fff" args="(const TiXmlElement &, const TiXmlAttribute *)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff">VisitEnter</a> (const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> &, const <a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> *)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec2b1f8116226d52f3a1b95dafd3a32c"></a><!-- doxytag: member="TiXmlVisitor::VisitExit" ref="aec2b1f8116226d52f3a1b95dafd3a32c" args="(const TiXmlElement &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c">VisitExit</a> (const <a class="el" href="classTiXmlElement.html">TiXmlElement</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an element. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afad71c71ce6473fb9b4b64cd92de4a19"></a><!-- doxytag: member="TiXmlVisitor::Visit" ref="afad71c71ce6473fb9b4b64cd92de4a19" args="(const TiXmlDeclaration &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19">Visit</a> (const <a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a declaration. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a399b8ebca5cd14664974a32d2ce029e5"></a><!-- doxytag: member="TiXmlVisitor::Visit" ref="a399b8ebca5cd14664974a32d2ce029e5" args="(const TiXmlText &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5">Visit</a> (const <a class="el" href="classTiXmlText.html">TiXmlText</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a text node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53a60e7a528627b31af3161972cc7fa2"></a><!-- doxytag: member="TiXmlVisitor::Visit" ref="a53a60e7a528627b31af3161972cc7fa2" args="(const TiXmlComment &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2">Visit</a> (const <a class="el" href="classTiXmlComment.html">TiXmlComment</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit a comment node. <br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e284d607d275c51dac1adb58159ce28"></a><!-- doxytag: member="TiXmlVisitor::Visit" ref="a7e284d607d275c51dac1adb58159ce28" args="(const TiXmlUnknown &)" --> -virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTiXmlVisitor.html#a7e284d607d275c51dac1adb58159ce28">Visit</a> (const <a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> &)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Visit an unknown node. <br/></td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>Implements the interface to the "Visitor pattern" (see the Accept() method. </p> -<p>) If you call the Accept() method, it requires being passed a <a class="el" href="classTiXmlVisitor.html" title="Implements the interface to the "Visitor pattern" (see the Accept() method...">TiXmlVisitor</a> class to handle callbacks. For nodes that contain other nodes (Document, Element) you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves are simply called with <a class="el" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19" title="Visit a declaration.">Visit()</a>.</p> -<p>If you return 'true' from a Visit method, recursive parsing will continue. If you return false, <b>no children of this node or its sibilings</b> will be Visited.</p> -<p>All flavors of Visit methods have a default implementation that returns 'true' (continue visiting). You need to only override methods that are interesting to you.</p> -<p>Generally Accept() is called on the <a class="el" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>, although all nodes suppert Visiting.</p> -<p>You should never change the document from a callback.</p> -<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86" title="Accept a hierchical visit the nodes in the TinyXML DOM.">TiXmlNode::Accept()</a> </dd></dl> -<hr/>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/classTiXmlVisitor.png b/shared/tinyxml/docs/classTiXmlVisitor.png Binary files differdeleted file mode 100644 index b47e145d..00000000 --- a/shared/tinyxml/docs/classTiXmlVisitor.png +++ /dev/null diff --git a/shared/tinyxml/docs/classes.html b/shared/tinyxml/docs/classes.html deleted file mode 100644 index 8e24e1bf..00000000 --- a/shared/tinyxml/docs/classes.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Alphabetical List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>Class Index</h1><div class="qindex"><a class="qindex" href="#letter_T">T</a></div> -<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0"> -<tr><td><a name="letter_T"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> T </div></td></tr></table> -</td><td><a class="el" href="classTiXmlComment.html">TiXmlComment</a> </td><td><a class="el" href="classTiXmlElement.html">TiXmlElement</a> </td><td><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a> </td><td><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a> </td></tr><tr><td><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a> </td><td><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> </td><td><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a> </td><td><a class="el" href="classTiXmlText.html">TiXmlText</a> </td><td><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a> </td></tr><tr><td><a class="el" href="classTiXmlBase.html">TiXmlBase</a> </td><td><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a> </td><td><a class="el" href="classTiXmlNode.html">TiXmlNode</a> </td></tr></table><div class="qindex"><a class="qindex" href="#letter_T">T</a></div> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/deprecated.html b/shared/tinyxml/docs/deprecated.html deleted file mode 100644 index 2104c126..00000000 --- a/shared/tinyxml/docs/deprecated.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Deprecated List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h1><a class="anchor" id="deprecated">Deprecated List </a></h1><p><a class="anchor" id="_deprecated000002"></a> </p> -<dl> -<dt>Member <a class="el" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">TiXmlHandle::Element</a> () const </dt> -<dd>use ToElement. Return the handle as a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>. This may return null. </dd> -</dl> -<p><a class="anchor" id="_deprecated000001"></a> </p> -<dl> -<dt>Member <a class="el" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">TiXmlHandle::Node</a> () const </dt> -<dd>use ToNode. Return the handle as a <a class="el" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>. This may return null. </dd> -</dl> -<p><a class="anchor" id="_deprecated000003"></a> </p> -<dl> -<dt>Member <a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">TiXmlHandle::Text</a> () const </dt> -<dd>use ToText() Return the handle as a <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>. This may return null. </dd> -</dl> -<p><a class="anchor" id="_deprecated000004"></a> </p> -<dl> -<dt>Member <a class="el" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">TiXmlHandle::Unknown</a> () const </dt> -<dd>use ToUnknown() Return the handle as a <a class="el" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn't recognize is saved as an unknown.">TiXmlUnknown</a>. This may return null. </dd> -</dl> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/doxygen.css b/shared/tinyxml/docs/doxygen.css deleted file mode 100644 index b057a928..00000000 --- a/shared/tinyxml/docs/doxygen.css +++ /dev/null @@ -1,532 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - text-align: center; - font-size: 150%; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #153788; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #1b77c5; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #3030f0; -} - -a.codeRef { - color: #3030f0; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} - -td.indexkey { - background-color: #e8eef2; - font-weight: bold; - border: 1px solid #CCCCCC; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #e8eef2; - border: 1px solid #CCCCCC; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #f0f0f0; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; -} - -th.dirtab { - background: #e8eef2; - font-weight: bold; -} - -hr { - height: 0; - border: none; - border-top: 1px solid #666; -} - -/* @group Member Descriptions */ - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #FAFAFA; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #ccc; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memTemplParams { - color: #606060; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; - margin-left: 3px; -} - -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.memitem { - padding: 0; - margin-bottom: 10px; -} - -.memname { - white-space: nowrap; - font-weight: bold; -} - -.memproto, .memdoc { - border: 1px solid #84b0c7; -} - -.memproto { - padding: 0; - background-color: #d5e1e8; - font-weight: bold; - -webkit-border-top-left-radius: 8px; - -webkit-border-top-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -moz-border-radius-topleft: 8px; - -moz-border-radius-topright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -} - -.memdoc { - padding: 2px 5px; - background-color: #eef3f5; - border-top-width: 0; - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0.5em; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -address { - font-style: normal; - color: #333; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #153788; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #254798; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - diff --git a/shared/tinyxml/docs/doxygen.png b/shared/tinyxml/docs/doxygen.png Binary files differdeleted file mode 100644 index f0a274bb..00000000 --- a/shared/tinyxml/docs/doxygen.png +++ /dev/null diff --git a/shared/tinyxml/docs/files.html b/shared/tinyxml/docs/files.html deleted file mode 100644 index 00cc413b..00000000 --- a/shared/tinyxml/docs/files.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: File Index</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li class="current"><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="files.html"><span>File List</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>File List</h1>Here is a list of all documented files with brief descriptions:<table> - <tr><td class="indexkey"><b>tinystr.h</b> <a href="tinystr_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr> - <tr><td class="indexkey"><b>tinyxml.h</b> <a href="tinyxml_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr> -</table> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions.html b/shared/tinyxml/docs/functions.html deleted file mode 100644 index 66d97a61..00000000 --- a/shared/tinyxml/docs/functions.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_a">- a -</a></h3><ul> -<li>Accept() -: <a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86">TiXmlNode</a> -, <a class="el" href="classTiXmlElement.html#a71a81b2afb0d42be1543d1c404dee6f5">TiXmlElement</a> -, <a class="el" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6">TiXmlText</a> -, <a class="el" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e">TiXmlDeclaration</a> -, <a class="el" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a">TiXmlDocument</a> -, <a class="el" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93">TiXmlUnknown</a> -, <a class="el" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e">TiXmlComment</a> -</li> -<li>Attribute() -: <a class="el" href="classTiXmlElement.html#aeaff99d4f0ea5b34f7aee202aad457ba">TiXmlElement</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x63.html b/shared/tinyxml/docs/functions_0x63.html deleted file mode 100644 index aeeb7e9d..00000000 --- a/shared/tinyxml/docs/functions_0x63.html +++ /dev/null @@ -1,98 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li class="current"><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_c">- c -</a></h3><ul> -<li>CDATA() -: <a class="el" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586">TiXmlText</a> -</li> -<li>Child() -: <a class="el" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4">TiXmlHandle</a> -</li> -<li>ChildElement() -: <a class="el" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d">TiXmlHandle</a> -</li> -<li>Clear() -: <a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">TiXmlNode</a> -</li> -<li>ClearError() -: <a class="el" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35">TiXmlDocument</a> -</li> -<li>Clone() -: <a class="el" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028">TiXmlComment</a> -, <a class="el" href="classTiXmlElement.html#aa464535ea1994db337cb6a8ce4b588b5">TiXmlElement</a> -, <a class="el" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73">TiXmlUnknown</a> -, <a class="el" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4">TiXmlNode</a> -, <a class="el" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e">TiXmlDeclaration</a> -, <a class="el" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907">TiXmlDocument</a> -, <a class="el" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b">TiXmlText</a> -</li> -<li>Column() -: <a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">TiXmlBase</a> -</li> -<li>CStr() -: <a class="el" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e">TiXmlPrinter</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x64.html b/shared/tinyxml/docs/functions_0x64.html deleted file mode 100644 index d969d855..00000000 --- a/shared/tinyxml/docs/functions_0x64.html +++ /dev/null @@ -1,71 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li class="current"><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_d">- d -</a></h3><ul> -<li>DoubleValue() -: <a class="el" href="classTiXmlAttribute.html#a2880ddef53fc7522c99535273954d230">TiXmlAttribute</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x65.html b/shared/tinyxml/docs/functions_0x65.html deleted file mode 100644 index 556f57d8..00000000 --- a/shared/tinyxml/docs/functions_0x65.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li class="current"><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_e">- e -</a></h3><ul> -<li>Element() -: <a class="el" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">TiXmlHandle</a> -</li> -<li>EncodeString() -: <a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">TiXmlBase</a> -</li> -<li>Encoding() -: <a class="el" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76">TiXmlDeclaration</a> -</li> -<li>Error() -: <a class="el" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29">TiXmlDocument</a> -</li> -<li>ErrorCol() -: <a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649">TiXmlDocument</a> -</li> -<li>ErrorDesc() -: <a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e">TiXmlDocument</a> -</li> -<li>ErrorId() -: <a class="el" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f">TiXmlDocument</a> -</li> -<li>ErrorRow() -: <a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e">TiXmlDocument</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x66.html b/shared/tinyxml/docs/functions_0x66.html deleted file mode 100644 index 6c343d00..00000000 --- a/shared/tinyxml/docs/functions_0x66.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li class="current"><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_f">- f -</a></h3><ul> -<li>FirstAttribute() -: <a class="el" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592">TiXmlElement</a> -</li> -<li>FirstChild() -: <a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a8c61f64ae9365d89c264f289085541f8">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139">TiXmlHandle</a> -</li> -<li>FirstChildElement() -: <a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x67.html b/shared/tinyxml/docs/functions_0x67.html deleted file mode 100644 index 80308b92..00000000 --- a/shared/tinyxml/docs/functions_0x67.html +++ /dev/null @@ -1,77 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li class="current"><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_g">- g -</a></h3><ul> -<li>GetDocument() -: <a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">TiXmlNode</a> -</li> -<li>GetText() -: <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87">TiXmlElement</a> -</li> -<li>GetUserData() -: <a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x69.html b/shared/tinyxml/docs/functions_0x69.html deleted file mode 100644 index c247d90b..00000000 --- a/shared/tinyxml/docs/functions_0x69.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li class="current"><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_i">- i -</a></h3><ul> -<li>Indent() -: <a class="el" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d">TiXmlPrinter</a> -</li> -<li>InsertAfterChild() -: <a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">TiXmlNode</a> -</li> -<li>InsertBeforeChild() -: <a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">TiXmlNode</a> -</li> -<li>InsertEndChild() -: <a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">TiXmlNode</a> -</li> -<li>IntValue() -: <a class="el" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f">TiXmlAttribute</a> -</li> -<li>IsWhiteSpaceCondensed() -: <a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">TiXmlBase</a> -</li> -<li>IterateChildren() -: <a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x6c.html b/shared/tinyxml/docs/functions_0x6c.html deleted file mode 100644 index 95e429cf..00000000 --- a/shared/tinyxml/docs/functions_0x6c.html +++ /dev/null @@ -1,83 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li class="current"><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_l">- l -</a></h3><ul> -<li>LastAttribute() -: <a class="el" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381">TiXmlElement</a> -</li> -<li>LastChild() -: <a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">TiXmlNode</a> -</li> -<li>LineBreak() -: <a class="el" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d">TiXmlPrinter</a> -</li> -<li>LinkEndChild() -: <a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">TiXmlNode</a> -</li> -<li>LoadFile() -: <a class="el" href="classTiXmlDocument.html#a41f6fe7200864d1dca663d230caf8db6">TiXmlDocument</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x6e.html b/shared/tinyxml/docs/functions_0x6e.html deleted file mode 100644 index 2a501e95..00000000 --- a/shared/tinyxml/docs/functions_0x6e.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li class="current"><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_n">- n -</a></h3><ul> -<li>Name() -: <a class="el" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d">TiXmlAttribute</a> -</li> -<li>Next() -: <a class="el" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67">TiXmlAttribute</a> -</li> -<li>NextSibling() -: <a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">TiXmlNode</a> -</li> -<li>NextSiblingElement() -: <a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">TiXmlNode</a> -</li> -<li>NoChildren() -: <a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">TiXmlNode</a> -</li> -<li>Node() -: <a class="el" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">TiXmlHandle</a> -</li> -<li>NodeType -: <a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x6f.html b/shared/tinyxml/docs/functions_0x6f.html deleted file mode 100644 index c60a9e9f..00000000 --- a/shared/tinyxml/docs/functions_0x6f.html +++ /dev/null @@ -1,74 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li class="current"><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_o">- o -</a></h3><ul> -<li>operator<< -: <a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">TiXmlNode</a> -</li> -<li>operator>> -: <a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x70.html b/shared/tinyxml/docs/functions_0x70.html deleted file mode 100644 index 88375a93..00000000 --- a/shared/tinyxml/docs/functions_0x70.html +++ /dev/null @@ -1,91 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li class="current"><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_p">- p -</a></h3><ul> -<li>Parent() -: <a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">TiXmlNode</a> -</li> -<li>Parse() -: <a class="el" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378">TiXmlDocument</a> -</li> -<li>Previous() -: <a class="el" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf">TiXmlAttribute</a> -</li> -<li>PreviousSibling() -: <a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">TiXmlNode</a> -</li> -<li>Print() -: <a class="el" href="classTiXmlElement.html#afbf52736e70fc91ec9d760721d6f4fd2">TiXmlElement</a> -, <a class="el" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">TiXmlAttribute</a> -, <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a> -, <a class="el" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b">TiXmlText</a> -, <a class="el" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510">TiXmlDocument</a> -, <a class="el" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb">TiXmlUnknown</a> -, <a class="el" href="classTiXmlDocument.html#a8701fda1fa31b25abbc9c0df42da10e8">TiXmlDocument</a> -, <a class="el" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f">TiXmlComment</a> -, <a class="el" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">TiXmlDeclaration</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x71.html b/shared/tinyxml/docs/functions_0x71.html deleted file mode 100644 index d2fd5c60..00000000 --- a/shared/tinyxml/docs/functions_0x71.html +++ /dev/null @@ -1,95 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li class="current"><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_q">- q -</a></h3><ul> -<li>QueryBoolAttribute() -: <a class="el" href="classTiXmlElement.html#af4a1d3f88c28eb0f3115dc39ebd83fff">TiXmlElement</a> -</li> -<li>QueryDoubleAttribute() -: <a class="el" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7">TiXmlElement</a> -</li> -<li>QueryDoubleValue() -: <a class="el" href="classTiXmlAttribute.html#ac87b2a8489906a5d7aa2875f20be3513">TiXmlAttribute</a> -</li> -<li>QueryFloatAttribute() -: <a class="el" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be">TiXmlElement</a> -</li> -<li>QueryIntAttribute() -: <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9">TiXmlElement</a> -</li> -<li>QueryIntValue() -: <a class="el" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344">TiXmlAttribute</a> -</li> -<li>QueryStringAttribute() -: <a class="el" href="classTiXmlElement.html#a14321ac360efe906ed449d9db3fd9961">TiXmlElement</a> -</li> -<li>QueryUnsignedAttribute() -: <a class="el" href="classTiXmlElement.html#ae48df644f890ab86fa19839ac401f00d">TiXmlElement</a> -</li> -<li>QueryValueAttribute() -: <a class="el" href="classTiXmlElement.html#ae3b9a03b0a56663a40801c7256683576">TiXmlElement</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x72.html b/shared/tinyxml/docs/functions_0x72.html deleted file mode 100644 index 499cc00e..00000000 --- a/shared/tinyxml/docs/functions_0x72.html +++ /dev/null @@ -1,83 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li class="current"><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_r">- r -</a></h3><ul> -<li>RemoveAttribute() -: <a class="el" href="classTiXmlElement.html#a56979767deca794376b1dfa69a525b2a">TiXmlElement</a> -</li> -<li>RemoveChild() -: <a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">TiXmlNode</a> -</li> -<li>ReplaceChild() -: <a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">TiXmlNode</a> -</li> -<li>RootElement() -: <a class="el" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be">TiXmlDocument</a> -</li> -<li>Row() -: <a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x73.html b/shared/tinyxml/docs/functions_0x73.html deleted file mode 100644 index c788c5ad..00000000 --- a/shared/tinyxml/docs/functions_0x73.html +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li class="current"><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_s">- s -</a></h3><ul> -<li>SaveFile() -: <a class="el" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93">TiXmlDocument</a> -</li> -<li>SetAttribute() -: <a class="el" href="classTiXmlElement.html#ace6f4be75e373726d4774073d666d1a7">TiXmlElement</a> -</li> -<li>SetCDATA() -: <a class="el" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9">TiXmlText</a> -</li> -<li>SetCondenseWhiteSpace() -: <a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">TiXmlBase</a> -</li> -<li>SetDoubleAttribute() -: <a class="el" href="classTiXmlElement.html#a0d1dd975d75496778177e35abfe0ec0b">TiXmlElement</a> -</li> -<li>SetDoubleValue() -: <a class="el" href="classTiXmlAttribute.html#a0316da31373496c4368ad549bf711394">TiXmlAttribute</a> -</li> -<li>SetIndent() -: <a class="el" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e">TiXmlPrinter</a> -</li> -<li>SetIntValue() -: <a class="el" href="classTiXmlAttribute.html#a7e065df640116a62ea4f4b7da5449cc8">TiXmlAttribute</a> -</li> -<li>SetLineBreak() -: <a class="el" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6">TiXmlPrinter</a> -</li> -<li>SetName() -: <a class="el" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99">TiXmlAttribute</a> -</li> -<li>SetStreamPrinting() -: <a class="el" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19">TiXmlPrinter</a> -</li> -<li>SetTabSize() -: <a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e">TiXmlDocument</a> -</li> -<li>SetUserData() -: <a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">TiXmlBase</a> -</li> -<li>SetValue() -: <a class="el" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0">TiXmlAttribute</a> -, <a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">TiXmlNode</a> -, <a class="el" href="classTiXmlAttribute.html#ab43f67a0cc3ec1d80e62606500f0925f">TiXmlAttribute</a> -</li> -<li>Size() -: <a class="el" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d">TiXmlPrinter</a> -</li> -<li>Standalone() -: <a class="el" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9">TiXmlDeclaration</a> -</li> -<li>Str() -: <a class="el" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9">TiXmlPrinter</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x74.html b/shared/tinyxml/docs/functions_0x74.html deleted file mode 100644 index 0b28df1f..00000000 --- a/shared/tinyxml/docs/functions_0x74.html +++ /dev/null @@ -1,127 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li class="current"><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_t">- t -</a></h3><ul> -<li>Text() -: <a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">TiXmlHandle</a> -</li> -<li>TiXmlAttribute() -: <a class="el" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a> -</li> -<li>TiXmlComment() -: <a class="el" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a> -</li> -<li>TiXmlDeclaration() -: <a class="el" href="classTiXmlDeclaration.html#acd5556007c3c72209465081de39d9836">TiXmlDeclaration</a> -</li> -<li>TiXmlDocument() -: <a class="el" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c">TiXmlDocument</a> -</li> -<li>TiXmlElement() -: <a class="el" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a> -</li> -<li>TiXmlHandle() -: <a class="el" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7">TiXmlHandle</a> -</li> -<li>TiXmlText() -: <a class="el" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960">TiXmlText</a> -</li> -<li>ToComment() -: <a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">TiXmlNode</a> -, <a class="el" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0">TiXmlComment</a> -</li> -<li>ToDeclaration() -: <a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">TiXmlNode</a> -, <a class="el" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967">TiXmlDeclaration</a> -</li> -<li>ToDocument() -: <a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">TiXmlNode</a> -, <a class="el" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4">TiXmlDocument</a> -</li> -<li>ToElement() -: <a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">TiXmlNode</a> -, <a class="el" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c">TiXmlElement</a> -, <a class="el" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e">TiXmlHandle</a> -</li> -<li>ToNode() -: <a class="el" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3">TiXmlHandle</a> -</li> -<li>ToText() -: <a class="el" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b">TiXmlText</a> -, <a class="el" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">TiXmlNode</a> -, <a class="el" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648">TiXmlText</a> -</li> -<li>ToUnknown() -: <a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">TiXmlNode</a> -, <a class="el" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d">TiXmlUnknown</a> -, <a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674">TiXmlHandle</a> -</li> -<li>Type() -: <a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x75.html b/shared/tinyxml/docs/functions_0x75.html deleted file mode 100644 index ce91f08b..00000000 --- a/shared/tinyxml/docs/functions_0x75.html +++ /dev/null @@ -1,74 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li class="current"><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_u">- u -</a></h3><ul> -<li>Unknown() -: <a class="el" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">TiXmlHandle</a> -</li> -<li>userData -: <a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_0x76.html b/shared/tinyxml/docs/functions_0x76.html deleted file mode 100644 index bc6b15d8..00000000 --- a/shared/tinyxml/docs/functions_0x76.html +++ /dev/null @@ -1,97 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html#index_a"><span>a</span></a></li> - <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> - <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> - <li class="current"><a href="functions_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -Here is a list of all documented class members with links to the class documentation for each member: - -<h3><a class="anchor" id="index_v">- v -</a></h3><ul> -<li>Value() -: <a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">TiXmlNode</a> -, <a class="el" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3">TiXmlAttribute</a> -</li> -<li>ValueStr() -: <a class="el" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33">TiXmlAttribute</a> -, <a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">TiXmlNode</a> -</li> -<li>Version() -: <a class="el" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76">TiXmlDeclaration</a> -</li> -<li>Visit() -: <a class="el" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a83c13d6b980064b30f989f9a35498979">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5">TiXmlVisitor</a> -</li> -<li>VisitEnter() -: <a class="el" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a0c5e7bf8622838417a0d0bfb8f433854">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff">TiXmlVisitor</a> -</li> -<li>VisitExit() -: <a class="el" href="classTiXmlPrinter.html#a1853cf2f6e63ad4b4232b4835e0acaf0">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c">TiXmlVisitor</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_enum.html b/shared/tinyxml/docs/functions_enum.html deleted file mode 100644 index c9a7002b..00000000 --- a/shared/tinyxml/docs/functions_enum.html +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Enumerations</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li class="current"><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - <ul> -<li>NodeType -: <a class="el" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func.html b/shared/tinyxml/docs/functions_func.html deleted file mode 100644 index 85ac2d81..00000000 --- a/shared/tinyxml/docs/functions_func.html +++ /dev/null @@ -1,79 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li class="current"><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_a">- a -</a></h3><ul> -<li>Accept() -: <a class="el" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86">TiXmlNode</a> -, <a class="el" href="classTiXmlElement.html#a71a81b2afb0d42be1543d1c404dee6f5">TiXmlElement</a> -, <a class="el" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6">TiXmlText</a> -, <a class="el" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e">TiXmlDeclaration</a> -, <a class="el" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a">TiXmlDocument</a> -, <a class="el" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93">TiXmlUnknown</a> -, <a class="el" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e">TiXmlComment</a> -</li> -<li>Attribute() -: <a class="el" href="classTiXmlElement.html#aeaff99d4f0ea5b34f7aee202aad457ba">TiXmlElement</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x63.html b/shared/tinyxml/docs/functions_func_0x63.html deleted file mode 100644 index d2eaf207..00000000 --- a/shared/tinyxml/docs/functions_func_0x63.html +++ /dev/null @@ -1,97 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li class="current"><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_c">- c -</a></h3><ul> -<li>CDATA() -: <a class="el" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586">TiXmlText</a> -</li> -<li>Child() -: <a class="el" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4">TiXmlHandle</a> -</li> -<li>ChildElement() -: <a class="el" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d">TiXmlHandle</a> -</li> -<li>Clear() -: <a class="el" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b">TiXmlNode</a> -</li> -<li>ClearError() -: <a class="el" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35">TiXmlDocument</a> -</li> -<li>Clone() -: <a class="el" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028">TiXmlComment</a> -, <a class="el" href="classTiXmlElement.html#aa464535ea1994db337cb6a8ce4b588b5">TiXmlElement</a> -, <a class="el" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73">TiXmlUnknown</a> -, <a class="el" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4">TiXmlNode</a> -, <a class="el" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e">TiXmlDeclaration</a> -, <a class="el" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907">TiXmlDocument</a> -, <a class="el" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b">TiXmlText</a> -</li> -<li>Column() -: <a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">TiXmlBase</a> -</li> -<li>CStr() -: <a class="el" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e">TiXmlPrinter</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x64.html b/shared/tinyxml/docs/functions_func_0x64.html deleted file mode 100644 index 836021f3..00000000 --- a/shared/tinyxml/docs/functions_func_0x64.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li class="current"><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_d">- d -</a></h3><ul> -<li>DoubleValue() -: <a class="el" href="classTiXmlAttribute.html#a2880ddef53fc7522c99535273954d230">TiXmlAttribute</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x65.html b/shared/tinyxml/docs/functions_func_0x65.html deleted file mode 100644 index 71a993a2..00000000 --- a/shared/tinyxml/docs/functions_func_0x65.html +++ /dev/null @@ -1,91 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li class="current"><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_e">- e -</a></h3><ul> -<li>Element() -: <a class="el" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">TiXmlHandle</a> -</li> -<li>EncodeString() -: <a class="el" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948">TiXmlBase</a> -</li> -<li>Encoding() -: <a class="el" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76">TiXmlDeclaration</a> -</li> -<li>Error() -: <a class="el" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29">TiXmlDocument</a> -</li> -<li>ErrorCol() -: <a class="el" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649">TiXmlDocument</a> -</li> -<li>ErrorDesc() -: <a class="el" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e">TiXmlDocument</a> -</li> -<li>ErrorId() -: <a class="el" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f">TiXmlDocument</a> -</li> -<li>ErrorRow() -: <a class="el" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e">TiXmlDocument</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x66.html b/shared/tinyxml/docs/functions_func_0x66.html deleted file mode 100644 index 17e35e94..00000000 --- a/shared/tinyxml/docs/functions_func_0x66.html +++ /dev/null @@ -1,81 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li class="current"><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_f">- f -</a></h3><ul> -<li>FirstAttribute() -: <a class="el" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592">TiXmlElement</a> -</li> -<li>FirstChild() -: <a class="el" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a8c61f64ae9365d89c264f289085541f8">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139">TiXmlHandle</a> -</li> -<li>FirstChildElement() -: <a class="el" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x67.html b/shared/tinyxml/docs/functions_func_0x67.html deleted file mode 100644 index 4401b4c6..00000000 --- a/shared/tinyxml/docs/functions_func_0x67.html +++ /dev/null @@ -1,76 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li class="current"><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_g">- g -</a></h3><ul> -<li>GetDocument() -: <a class="el" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3">TiXmlNode</a> -</li> -<li>GetText() -: <a class="el" href="classTiXmlElement.html#af3282294986cdb216646ea1f67af2c87">TiXmlElement</a> -</li> -<li>GetUserData() -: <a class="el" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x69.html b/shared/tinyxml/docs/functions_func_0x69.html deleted file mode 100644 index c8793bf1..00000000 --- a/shared/tinyxml/docs/functions_func_0x69.html +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li class="current"><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_i">- i -</a></h3><ul> -<li>Indent() -: <a class="el" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d">TiXmlPrinter</a> -</li> -<li>InsertAfterChild() -: <a class="el" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5">TiXmlNode</a> -</li> -<li>InsertBeforeChild() -: <a class="el" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7">TiXmlNode</a> -</li> -<li>InsertEndChild() -: <a class="el" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba">TiXmlNode</a> -</li> -<li>IntValue() -: <a class="el" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f">TiXmlAttribute</a> -</li> -<li>IsWhiteSpaceCondensed() -: <a class="el" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">TiXmlBase</a> -</li> -<li>IterateChildren() -: <a class="el" href="classTiXmlNode.html#adfaef35a076b9343adc1420757376c39">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x6c.html b/shared/tinyxml/docs/functions_func_0x6c.html deleted file mode 100644 index 4f665a53..00000000 --- a/shared/tinyxml/docs/functions_func_0x6c.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li class="current"><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_l">- l -</a></h3><ul> -<li>LastAttribute() -: <a class="el" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381">TiXmlElement</a> -</li> -<li>LastChild() -: <a class="el" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">TiXmlNode</a> -</li> -<li>LineBreak() -: <a class="el" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d">TiXmlPrinter</a> -</li> -<li>LinkEndChild() -: <a class="el" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6">TiXmlNode</a> -</li> -<li>LoadFile() -: <a class="el" href="classTiXmlDocument.html#a41f6fe7200864d1dca663d230caf8db6">TiXmlDocument</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x6e.html b/shared/tinyxml/docs/functions_func_0x6e.html deleted file mode 100644 index 84b2641f..00000000 --- a/shared/tinyxml/docs/functions_func_0x6e.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li class="current"><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_n">- n -</a></h3><ul> -<li>Name() -: <a class="el" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d">TiXmlAttribute</a> -</li> -<li>Next() -: <a class="el" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67">TiXmlAttribute</a> -</li> -<li>NextSibling() -: <a class="el" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">TiXmlNode</a> -</li> -<li>NextSiblingElement() -: <a class="el" href="classTiXmlNode.html#a071ba77fd7ab79402fa84b7e9b8607b3">TiXmlNode</a> -</li> -<li>NoChildren() -: <a class="el" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">TiXmlNode</a> -</li> -<li>Node() -: <a class="el" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">TiXmlHandle</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x70.html b/shared/tinyxml/docs/functions_func_0x70.html deleted file mode 100644 index 1e8e9da4..00000000 --- a/shared/tinyxml/docs/functions_func_0x70.html +++ /dev/null @@ -1,90 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li class="current"><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_p">- p -</a></h3><ul> -<li>Parent() -: <a class="el" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">TiXmlNode</a> -</li> -<li>Parse() -: <a class="el" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378">TiXmlDocument</a> -</li> -<li>Previous() -: <a class="el" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf">TiXmlAttribute</a> -</li> -<li>PreviousSibling() -: <a class="el" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">TiXmlNode</a> -</li> -<li>Print() -: <a class="el" href="classTiXmlElement.html#afbf52736e70fc91ec9d760721d6f4fd2">TiXmlElement</a> -, <a class="el" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">TiXmlAttribute</a> -, <a class="el" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512">TiXmlBase</a> -, <a class="el" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b">TiXmlText</a> -, <a class="el" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510">TiXmlDocument</a> -, <a class="el" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb">TiXmlUnknown</a> -, <a class="el" href="classTiXmlDocument.html#a8701fda1fa31b25abbc9c0df42da10e8">TiXmlDocument</a> -, <a class="el" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f">TiXmlComment</a> -, <a class="el" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">TiXmlDeclaration</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x71.html b/shared/tinyxml/docs/functions_func_0x71.html deleted file mode 100644 index 4d236d2a..00000000 --- a/shared/tinyxml/docs/functions_func_0x71.html +++ /dev/null @@ -1,94 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li class="current"><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_q">- q -</a></h3><ul> -<li>QueryBoolAttribute() -: <a class="el" href="classTiXmlElement.html#af4a1d3f88c28eb0f3115dc39ebd83fff">TiXmlElement</a> -</li> -<li>QueryDoubleAttribute() -: <a class="el" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7">TiXmlElement</a> -</li> -<li>QueryDoubleValue() -: <a class="el" href="classTiXmlAttribute.html#ac87b2a8489906a5d7aa2875f20be3513">TiXmlAttribute</a> -</li> -<li>QueryFloatAttribute() -: <a class="el" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be">TiXmlElement</a> -</li> -<li>QueryIntAttribute() -: <a class="el" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9">TiXmlElement</a> -</li> -<li>QueryIntValue() -: <a class="el" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344">TiXmlAttribute</a> -</li> -<li>QueryStringAttribute() -: <a class="el" href="classTiXmlElement.html#a14321ac360efe906ed449d9db3fd9961">TiXmlElement</a> -</li> -<li>QueryUnsignedAttribute() -: <a class="el" href="classTiXmlElement.html#ae48df644f890ab86fa19839ac401f00d">TiXmlElement</a> -</li> -<li>QueryValueAttribute() -: <a class="el" href="classTiXmlElement.html#ae3b9a03b0a56663a40801c7256683576">TiXmlElement</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x72.html b/shared/tinyxml/docs/functions_func_0x72.html deleted file mode 100644 index 1500d1e4..00000000 --- a/shared/tinyxml/docs/functions_func_0x72.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li class="current"><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_r">- r -</a></h3><ul> -<li>RemoveAttribute() -: <a class="el" href="classTiXmlElement.html#a56979767deca794376b1dfa69a525b2a">TiXmlElement</a> -</li> -<li>RemoveChild() -: <a class="el" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf">TiXmlNode</a> -</li> -<li>ReplaceChild() -: <a class="el" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd">TiXmlNode</a> -</li> -<li>RootElement() -: <a class="el" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be">TiXmlDocument</a> -</li> -<li>Row() -: <a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x73.html b/shared/tinyxml/docs/functions_func_0x73.html deleted file mode 100644 index 14064fa0..00000000 --- a/shared/tinyxml/docs/functions_func_0x73.html +++ /dev/null @@ -1,120 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li class="current"><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_s">- s -</a></h3><ul> -<li>SaveFile() -: <a class="el" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93">TiXmlDocument</a> -</li> -<li>SetAttribute() -: <a class="el" href="classTiXmlElement.html#ace6f4be75e373726d4774073d666d1a7">TiXmlElement</a> -</li> -<li>SetCDATA() -: <a class="el" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9">TiXmlText</a> -</li> -<li>SetCondenseWhiteSpace() -: <a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">TiXmlBase</a> -</li> -<li>SetDoubleAttribute() -: <a class="el" href="classTiXmlElement.html#a0d1dd975d75496778177e35abfe0ec0b">TiXmlElement</a> -</li> -<li>SetDoubleValue() -: <a class="el" href="classTiXmlAttribute.html#a0316da31373496c4368ad549bf711394">TiXmlAttribute</a> -</li> -<li>SetIndent() -: <a class="el" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e">TiXmlPrinter</a> -</li> -<li>SetIntValue() -: <a class="el" href="classTiXmlAttribute.html#a7e065df640116a62ea4f4b7da5449cc8">TiXmlAttribute</a> -</li> -<li>SetLineBreak() -: <a class="el" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6">TiXmlPrinter</a> -</li> -<li>SetName() -: <a class="el" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99">TiXmlAttribute</a> -</li> -<li>SetStreamPrinting() -: <a class="el" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19">TiXmlPrinter</a> -</li> -<li>SetTabSize() -: <a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e">TiXmlDocument</a> -</li> -<li>SetUserData() -: <a class="el" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">TiXmlBase</a> -</li> -<li>SetValue() -: <a class="el" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0">TiXmlAttribute</a> -, <a class="el" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">TiXmlNode</a> -, <a class="el" href="classTiXmlAttribute.html#ab43f67a0cc3ec1d80e62606500f0925f">TiXmlAttribute</a> -</li> -<li>Size() -: <a class="el" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d">TiXmlPrinter</a> -</li> -<li>Standalone() -: <a class="el" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9">TiXmlDeclaration</a> -</li> -<li>Str() -: <a class="el" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9">TiXmlPrinter</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x74.html b/shared/tinyxml/docs/functions_func_0x74.html deleted file mode 100644 index 3d934631..00000000 --- a/shared/tinyxml/docs/functions_func_0x74.html +++ /dev/null @@ -1,126 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li class="current"><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_t">- t -</a></h3><ul> -<li>Text() -: <a class="el" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">TiXmlHandle</a> -</li> -<li>TiXmlAttribute() -: <a class="el" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a> -</li> -<li>TiXmlComment() -: <a class="el" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a> -</li> -<li>TiXmlDeclaration() -: <a class="el" href="classTiXmlDeclaration.html#acd5556007c3c72209465081de39d9836">TiXmlDeclaration</a> -</li> -<li>TiXmlDocument() -: <a class="el" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c">TiXmlDocument</a> -</li> -<li>TiXmlElement() -: <a class="el" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a> -</li> -<li>TiXmlHandle() -: <a class="el" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7">TiXmlHandle</a> -</li> -<li>TiXmlText() -: <a class="el" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960">TiXmlText</a> -</li> -<li>ToComment() -: <a class="el" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">TiXmlNode</a> -, <a class="el" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0">TiXmlComment</a> -</li> -<li>ToDeclaration() -: <a class="el" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">TiXmlNode</a> -, <a class="el" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967">TiXmlDeclaration</a> -</li> -<li>ToDocument() -: <a class="el" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">TiXmlNode</a> -, <a class="el" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4">TiXmlDocument</a> -</li> -<li>ToElement() -: <a class="el" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">TiXmlNode</a> -, <a class="el" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c">TiXmlElement</a> -, <a class="el" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e">TiXmlHandle</a> -</li> -<li>ToNode() -: <a class="el" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3">TiXmlHandle</a> -</li> -<li>ToText() -: <a class="el" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b">TiXmlText</a> -, <a class="el" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586">TiXmlHandle</a> -, <a class="el" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">TiXmlNode</a> -, <a class="el" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648">TiXmlText</a> -</li> -<li>ToUnknown() -: <a class="el" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">TiXmlNode</a> -, <a class="el" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d">TiXmlUnknown</a> -, <a class="el" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">TiXmlNode</a> -, <a class="el" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674">TiXmlHandle</a> -</li> -<li>Type() -: <a class="el" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x75.html b/shared/tinyxml/docs/functions_func_0x75.html deleted file mode 100644 index 073ad1bf..00000000 --- a/shared/tinyxml/docs/functions_func_0x75.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li class="current"><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_u">- u -</a></h3><ul> -<li>Unknown() -: <a class="el" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">TiXmlHandle</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_func_0x76.html b/shared/tinyxml/docs/functions_func_0x76.html deleted file mode 100644 index 84cc2746..00000000 --- a/shared/tinyxml/docs/functions_func_0x76.html +++ /dev/null @@ -1,96 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions_func.html#index_a"><span>a</span></a></li> - <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> - <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> - <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> - <li><a href="functions_func_0x66.html#index_f"><span>f</span></a></li> - <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> - <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> - <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> - <li><a href="functions_func_0x6e.html#index_n"><span>n</span></a></li> - <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> - <li><a href="functions_func_0x71.html#index_q"><span>q</span></a></li> - <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> - <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> - <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> - <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> - <li class="current"><a href="functions_func_0x76.html#index_v"><span>v</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - - -<h3><a class="anchor" id="index_v">- v -</a></h3><ul> -<li>Value() -: <a class="el" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">TiXmlNode</a> -, <a class="el" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3">TiXmlAttribute</a> -</li> -<li>ValueStr() -: <a class="el" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33">TiXmlAttribute</a> -, <a class="el" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">TiXmlNode</a> -</li> -<li>Version() -: <a class="el" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76">TiXmlDeclaration</a> -</li> -<li>Visit() -: <a class="el" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a83c13d6b980064b30f989f9a35498979">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5">TiXmlVisitor</a> -</li> -<li>VisitEnter() -: <a class="el" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a0c5e7bf8622838417a0d0bfb8f433854">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff">TiXmlVisitor</a> -</li> -<li>VisitExit() -: <a class="el" href="classTiXmlPrinter.html#a1853cf2f6e63ad4b4232b4835e0acaf0">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad">TiXmlVisitor</a> -, <a class="el" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2">TiXmlPrinter</a> -, <a class="el" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c">TiXmlVisitor</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_rela.html b/shared/tinyxml/docs/functions_rela.html deleted file mode 100644 index aa909d81..00000000 --- a/shared/tinyxml/docs/functions_rela.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Related Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li class="current"><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - <ul> -<li>operator<< -: <a class="el" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7">TiXmlNode</a> -</li> -<li>operator>> -: <a class="el" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9">TiXmlNode</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/functions_vars.html b/shared/tinyxml/docs/functions_vars.html deleted file mode 100644 index 1811bc77..00000000 --- a/shared/tinyxml/docs/functions_vars.html +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Class Members - Variables</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li class="current"><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="functions.html"><span>All</span></a></li> - <li><a href="functions_func.html"><span>Functions</span></a></li> - <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li> - <li><a href="functions_enum.html"><span>Enumerations</span></a></li> - <li><a href="functions_rela.html"><span>Related Functions</span></a></li> - </ul> - </div> -</div> -<div class="contents"> - <ul> -<li>userData -: <a class="el" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">TiXmlBase</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/hierarchy.html b/shared/tinyxml/docs/hierarchy.html deleted file mode 100644 index 367bedd3..00000000 --- a/shared/tinyxml/docs/hierarchy.html +++ /dev/null @@ -1,54 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Hierarchical Index</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li class="current"><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="annotated.html"><span>Class List</span></a></li> - <li class="current"><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class Members</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul> -<li><a class="el" href="classTiXmlBase.html">TiXmlBase</a><ul> -<li><a class="el" href="classTiXmlAttribute.html">TiXmlAttribute</a></li> -<li><a class="el" href="classTiXmlNode.html">TiXmlNode</a><ul> -<li><a class="el" href="classTiXmlComment.html">TiXmlComment</a></li> -<li><a class="el" href="classTiXmlDeclaration.html">TiXmlDeclaration</a></li> -<li><a class="el" href="classTiXmlDocument.html">TiXmlDocument</a></li> -<li><a class="el" href="classTiXmlElement.html">TiXmlElement</a></li> -<li><a class="el" href="classTiXmlText.html">TiXmlText</a></li> -<li><a class="el" href="classTiXmlUnknown.html">TiXmlUnknown</a></li> -</ul> -</li> -</ul> -</li> -<li><a class="el" href="classTiXmlHandle.html">TiXmlHandle</a></li> -<li><a class="el" href="classTiXmlVisitor.html">TiXmlVisitor</a><ul> -<li><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a></li> -</ul> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/index.html b/shared/tinyxml/docs/index.html deleted file mode 100644 index d89b21a7..00000000 --- a/shared/tinyxml/docs/index.html +++ /dev/null @@ -1,275 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Main Page</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li class="current"><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>TinyXml Documentation</h1><h3 class="version">2.6.2 </h3><h1>TinyXML </h1> -<p>TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.</p> -<h2>What it does. </h2> -<p>In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.</p> -<p>XML stands for "eXtensible Markup Language." It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a "to do" list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.</p> -<p>The best place for the complete, correct, and quite frankly hard to read spec is at <a href="http://www.w3.org/TR/2004/REC-xml-20040204/">http://www.w3.org/TR/2004/REC-xml-20040204/</a>. An intro to XML (that I really like) can be found at <a href="http://skew.org/xml/tutorial/">http://skew.org/xml/tutorial</a>.</p> -<p>There are different ways to access and interact with XML data. TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream.</p> -<p>TinyXML is designed to be easy and fast to learn. It is two headers and four cpp files. Simply add these to your project and off you go. There is an example file - xmltest.cpp - to get you started.</p> -<p>TinyXML is released under the ZLib license, so you can use it in open source or commercial code. The details of the license are at the top of every source file.</p> -<p>TinyXML attempts to be a flexible parser, but with truly correct and compliant XML output. TinyXML should compile on any reasonably C++ compliant system. It does not rely on exceptions or RTTI. It can be compiled with or without STL support. TinyXML fully supports the UTF-8 encoding, and the first 64k character entities.</p> -<h2>What it doesn't do. </h2> -<p>TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there (check out www.sourceforge.org, search for XML) that are much more fully featured. But they are also much bigger, take longer to set up in your project, have a higher learning curve, and often have a more restrictive license. If you are working with browsers or have more complete XML needs, TinyXML is not the parser for you.</p> -<p>The following DTD syntax will not parse at this time in TinyXML:</p> -<div class="fragment"><pre class="fragment"> - <!DOCTYPE Archiv [ - <!ELEMENT Comment (#PCDATA)> - ]> -</pre></div><p>because TinyXML sees this as a !DOCTYPE node with an illegally embedded !ELEMENT node. This may be addressed in the future.</p> -<h2>Tutorials. </h2> -<p>For the impatient, here is a tutorial to get you going. A great way to get started, but it is worth your time to read this (very short) manual completely.</p> -<ul> -<li><a class="el" href="tutorial0.html">TinyXML Tutorial</a></li> -</ul> -<h2>Code Status. </h2> -<p>TinyXML is mature, tested code. It is very stable. If you find bugs, please file a bug report on the sourceforge web site (www.sourceforge.net/projects/tinyxml). We'll get them straightened out as soon as possible.</p> -<p>There are some areas of improvement; please check sourceforge if you are interested in working on TinyXML.</p> -<h2>Related Projects </h2> -<p>TinyXML projects you may find useful! (Descriptions provided by the projects.)</p> -<ul> -<li> -<b>TinyXPath</b> (<a href="http://tinyxpath.sourceforge.net">http://tinyxpath.sourceforge.net</a>). TinyXPath is a small footprint XPath syntax decoder, written in C++. </li> -<li> -<b>TinyXML++</b> (<a href="http://code.google.com/p/ticpp/">http://code.google.com/p/ticpp/</a>). TinyXML++ is a completely new interface to TinyXML that uses MANY of the C++ strengths. Templates, exceptions, and much better error handling. </li> -</ul> -<h2>Features </h2> -<h3>Using STL </h3> -<p>TinyXML can be compiled to use or not use STL. When using STL, TinyXML uses the std::string class, and fully supports std::istream, std::ostream, operator<<, and operator>>. Many API methods have both 'const char*' and 'const std::string&' forms.</p> -<p>When STL support is compiled out, no STL files are included whatsoever. All the string classes are implemented by TinyXML itself. API methods all use the 'const char*' form for input.</p> -<p>Use the compile time define:</p> -<p>TIXML_USE_STL</p> -<p>to compile one version or the other. This can be passed by the compiler, or set as the first line of "tinyxml.h".</p> -<p>Note: If compiling the test code in Linux, setting the environment variable TINYXML_USE_STL=YES/NO will control STL compilation. In the Windows project file, STL and non STL targets are provided. In your project, It's probably easiest to add the line "#define TIXML_USE_STL" as the first line of <a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>.</p> -<h3>UTF-8 </h3> -<p>TinyXML supports UTF-8 allowing to manipulate XML files in any language. TinyXML also supports "legacy mode" - the encoding used before UTF-8 support and probably best described as "extended ascii".</p> -<p>Normally, TinyXML will try to detect the correct encoding and use it. However, by setting the value of TIXML_DEFAULT_ENCODING in the header file, TinyXML can be forced to always use one encoding.</p> -<p>TinyXML will assume Legacy Mode until one of the following occurs: </p> -<ol> -<li> -If the non-standard but common "UTF-8 lead bytes" (0xef 0xbb 0xbf) begin the file or data stream, TinyXML will read it as UTF-8. </li> -<li> -If the declaration tag is read, and it has an encoding="UTF-8", then TinyXML will read it as UTF-8. </li> -<li> -If the declaration tag is read, and it has no encoding specified, then TinyXML will read it as UTF-8. </li> -<li> -If the declaration tag is read, and it has an encoding="something else", then TinyXML will read it as Legacy Mode. In legacy mode, TinyXML will work as it did before. It's not clear what that mode does exactly, but old content should keep working. </li> -<li> -Until one of the above criteria is met, TinyXML runs in Legacy Mode. </li> -</ol> -<p>What happens if the encoding is incorrectly set or detected? TinyXML will try to read and pass through text seen as improperly encoded. You may get some strange results or mangled characters. You may want to force TinyXML to the correct mode.</p> -<p>You may force TinyXML to Legacy Mode by using LoadFile( TIXML_ENCODING_LEGACY ) or LoadFile( filename, TIXML_ENCODING_LEGACY ). You may force it to use legacy mode all the time by setting TIXML_DEFAULT_ENCODING = TIXML_ENCODING_LEGACY. Likewise, you may force it to TIXML_ENCODING_UTF8 with the same technique.</p> -<p>For English users, using English XML, UTF-8 is the same as low-ASCII. You don't need to be aware of UTF-8 or change your code in any way. You can think of UTF-8 as a "superset" of ASCII.</p> -<p>UTF-8 is not a double byte format - but it is a standard encoding of Unicode! TinyXML does not use or directly support wchar, TCHAR, or Microsoft's _UNICODE at this time. It is common to see the term "Unicode" improperly refer to UTF-16, a wide byte encoding of unicode. This is a source of confusion.</p> -<p>For "high-ascii" languages - everything not English, pretty much - TinyXML can handle all languages, at the same time, as long as the XML is encoded in UTF-8. That can be a little tricky, older programs and operating systems tend to use the "default" or "traditional" code page. Many apps (and almost all modern ones) can output UTF-8, but older or stubborn (or just broken) ones still output text in the default code page.</p> -<p>For example, Japanese systems traditionally use SHIFT-JIS encoding. Text encoded as SHIFT-JIS can not be read by TinyXML. A good text editor can import SHIFT-JIS and then save as UTF-8.</p> -<p>The <a href="http://skew.org/xml/tutorial/">Skew.org link</a> does a great job covering the encoding issue.</p> -<p>The test file "utf8test.xml" is an XML containing English, Spanish, Russian, and Simplified Chinese. (Hopefully they are translated correctly). The file "utf8test.gif" is a screen capture of the XML file, rendered in IE. Note that if you don't have the correct fonts (Simplified Chinese or Russian) on your system, you won't see output that matches the GIF file even if you can parse it correctly. Also note that (at least on my Windows machine) console output is in a Western code page, so that Print() or printf() cannot correctly display the file. This is not a bug in TinyXML - just an OS issue. No data is lost or destroyed by TinyXML. The console just doesn't render UTF-8.</p> -<h3>Entities </h3> -<p>TinyXML recognizes the pre-defined "character entities", meaning special characters. Namely:</p> -<div class="fragment"><pre class="fragment"> - &amp; & - &lt; < - &gt; > - &quot; " - &apos; ' -</pre></div><p>These are recognized when the XML document is read, and translated to there UTF-8 equivalents. For instance, text with the XML of:</p> -<div class="fragment"><pre class="fragment"> - Far &amp; Away -</pre></div><p>will have the Value() of "Far & Away" when queried from the <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a> object, and will be written back to the XML stream/file as an ampersand. Older versions of TinyXML "preserved" character entities, but the newer versions will translate them into characters.</p> -<p>Additionally, any character can be specified by its Unicode code point: The syntax "&#xA0;" or "&#160;" are both to the non-breaking space characher.</p> -<h3>Printing </h3> -<p>TinyXML can print output in several different ways that all have strengths and limitations.</p> -<ul> -<li>Print( FILE* ). Output to a std-C stream, which includes all C files as well as stdout.<ul> -<li>"Pretty prints", but you don't have control over printing options.</li> -<li>The output is streamed directly to the FILE object, so there is no memory overhead in the TinyXML code.</li> -<li>used by Print() and SaveFile()</li> -</ul> -</li> -</ul> -<ul> -<li>operator<<. Output to a c++ stream.<ul> -<li>Integrates with standart C++ iostreams.</li> -<li>Outputs in "network printing" mode without line breaks. Good for network transmission and moving XML between C++ objects, but hard for a human to read.</li> -</ul> -</li> -</ul> -<ul> -<li><a class="el" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a>. Output to a std::string or memory buffer.<ul> -<li>API is less concise</li> -<li>Future printing options will be put here.</li> -<li>Printing may change slightly in future versions as it is refined and expanded.</li> -</ul> -</li> -</ul> -<h3>Streams </h3> -<p>With TIXML_USE_STL on TinyXML supports C++ streams (operator <<,>>) streams as well as C (FILE*) streams. There are some differences that you may need to be aware of.</p> -<p>C style output:</p> -<ul> -<li>based on FILE*</li> -<li>the Print() and SaveFile() methods</li> -</ul> -<p>Generates formatted output, with plenty of white space, intended to be as human-readable as possible. They are very fast, and tolerant of ill formed XML documents. For example, an XML document that contains 2 root elements and 2 declarations, will still print.</p> -<p>C style input:</p> -<ul> -<li>based on FILE*</li> -<li>the Parse() and LoadFile() methods</li> -</ul> -<p>A fast, tolerant read. Use whenever you don't need the C++ streams.</p> -<p>C++ style output:</p> -<ul> -<li>based on std::ostream</li> -<li>operator<<</li> -</ul> -<p>Generates condensed output, intended for network transmission rather than readability. Depending on your system's implementation of the ostream class, these may be somewhat slower. (Or may not.) Not tolerant of ill formed XML: a document should contain the correct one root element. Additional root level elements will not be streamed out.</p> -<p>C++ style input:</p> -<ul> -<li>based on std::istream</li> -<li>operator>></li> -</ul> -<p>Reads XML from a stream, making it useful for network transmission. The tricky part is knowing when the XML document is complete, since there will almost certainly be other data in the stream. TinyXML will assume the XML data is complete after it reads the root element. Put another way, documents that are ill-constructed with more than one root element will not read correctly. Also note that operator>> is somewhat slower than Parse, due to both implementation of the STL and limitations of TinyXML.</p> -<h3>White space </h3> -<p>The world simply does not agree on whether white space should be kept, or condensed. For example, pretend the '_' is a space, and look at "Hello____world". HTML, and at least some XML parsers, will interpret this as "Hello_world". They condense white space. Some XML parsers do not, and will leave it as "Hello____world". (Remember to keep pretending the _ is a space.) Others suggest that __Hello___world__ should become Hello___world.</p> -<p>It's an issue that hasn't been resolved to my satisfaction. TinyXML supports the first 2 approaches. Call <a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1" title="The world does not agree on whether white space should be kept or not.">TiXmlBase::SetCondenseWhiteSpace( bool )</a> to set the desired behavior. The default is to condense white space.</p> -<p>If you change the default, you should call <a class="el" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1" title="The world does not agree on whether white space should be kept or not.">TiXmlBase::SetCondenseWhiteSpace( bool )</a> before making any calls to Parse XML data, and I don't recommend changing it after it has been set.</p> -<h3>Handles </h3> -<p>Where browsing an XML document in a robust way, it is important to check for null returns from method calls. An error safe implementation can generate a lot of code like:</p> -<div class="fragment"><pre class="fragment"> -TiXmlElement* root = document.FirstChildElement( "Document" ); -if ( root ) -{ - TiXmlElement* element = root->FirstChildElement( "Element" ); - if ( element ) - { - TiXmlElement* child = element->FirstChildElement( "Child" ); - if ( child ) - { - TiXmlElement* child2 = child->NextSiblingElement( "Child" ); - if ( child2 ) - { - // Finally do something useful. -</pre></div><p>Handles have been introduced to clean this up. Using the <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> class, the previous code reduces to:</p> -<div class="fragment"><pre class="fragment"> -TiXmlHandle docHandle( &document ); -TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement(); -if ( child2 ) -{ - // do something useful -</pre></div><p>Which is much easier to deal with. See <a class="el" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> for more information.</p> -<h3>Row and Column tracking </h3> -<p>Being able to track nodes and attributes back to their origin location in source files can be very important for some applications. Additionally, knowing where parsing errors occured in the original source can be very time saving.</p> -<p>TinyXML can tracks the row and column origin of all nodes and attributes in a text file. The <a class="el" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853" title="Return the position, in the original source file, of this node or attribute.">TiXmlBase::Row()</a> and <a class="el" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003" title="See Row().">TiXmlBase::Column()</a> methods return the origin of the node in the source text. The correct tabs can be configured in <a class="el" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">TiXmlDocument::SetTabSize()</a>.</p> -<h2>Using and Installing </h2> -<p>To Compile and Run xmltest:</p> -<p>A Linux Makefile and a Windows Visual C++ .dsw file is provided. Simply compile and run. It will write the file demotest.xml to your disk and generate output on the screen. It also tests walking the DOM by printing out the number of nodes found using different techniques.</p> -<p>The Linux makefile is very generic and runs on many systems - it is currently tested on mingw and MacOSX. You do not need to run 'make depend'. The dependecies have been hard coded.</p> -<h3>Windows project file for VC6</h3> -<ul> -<li> -tinyxml: tinyxml library, non-STL </li> -<li> -tinyxmlSTL: tinyxml library, STL </li> -<li> -tinyXmlTest: test app, non-STL </li> -<li> -tinyXmlTestSTL: test app, STL </li> -</ul> -<h3>Makefile</h3> -<p>At the top of the makefile you can set:</p> -<p>PROFILE, DEBUG, and TINYXML_USE_STL. Details (such that they are) are in the makefile.</p> -<p>In the tinyxml directory, type "make clean" then "make". The executable file 'xmltest' will be created.</p> -<h3>To Use in an Application:</h3> -<p>Add tinyxml.cpp, <a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>, tinyxmlerror.cpp, tinyxmlparser.cpp, tinystr.cpp, and <a class="el" href="tinystr_8h_source.html">tinystr.h</a> to your project or make file. That's it! It should compile on any reasonably compliant C++ system. You do not need to enable exceptions or RTTI for TinyXML.</p> -<h2>How TinyXML works. </h2> -<p>An example is probably the best way to go. Take: </p> -<div class="fragment"><pre class="fragment"> - <?xml version="1.0" standalone=no> - <!-- Our to do list data --> - <ToDo> - <Item priority="1"> Go to the <bold>Toy store!</bold></Item> - <Item priority="2"> Do bills</Item> - </ToDo> -</pre></div><p>Its not much of a To Do list, but it will do. To read this file (say "demo.xml") you would create a document, and parse it in: </p> -<div class="fragment"><pre class="fragment"> - TiXmlDocument doc( "demo.xml" ); - doc.LoadFile(); -</pre></div><p>And its ready to go. Now lets look at some lines and how they relate to the DOM.</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" standalone=no> -</pre></div><p>The first line is a declaration, and gets turned into the <a class="el" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a> class. It will be the first child of the document node.</p> -<p>This is the only directive/special tag parsed by TinyXML. Generally directive tags are stored in <a class="el" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn't recognize is saved as an unknown.">TiXmlUnknown</a> so the commands wont be lost when it is saved back to disk.</p> -<div class="fragment"><pre class="fragment"> -<!-- Our to do list data --> -</pre></div><p>A comment. Will become a <a class="el" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a> object.</p> -<div class="fragment"><pre class="fragment"> -<ToDo> -</pre></div><p>The "ToDo" tag defines a <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a> object. This one does not have any attributes, but does contain 2 other elements.</p> -<div class="fragment"><pre class="fragment"> -<Item priority="1"> -</pre></div><p>Creates another <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a> which is a child of the "ToDo" element. This element has 1 attribute, with the name "priority" and the value "1".</p> -<div class="fragment"><pre class="fragment"> -Go to the -</pre></div><p>A <a class="el" href="classTiXmlText.html" title="XML text.">TiXmlText</a>. This is a leaf node and cannot contain other nodes. It is a child of the "Item" <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>.</p> -<div class="fragment"><pre class="fragment"> -<bold> -</pre></div><p>Another <a class="el" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>, this one a child of the "Item" element.</p> -<p>Etc.</p> -<p>Looking at the entire object tree, you end up with: </p> -<div class="fragment"><pre class="fragment"> -TiXmlDocument "demo.xml" - TiXmlDeclaration "version='1.0'" "standalone=no" - TiXmlComment " Our to do list data" - TiXmlElement "ToDo" - TiXmlElement "Item" Attribtutes: priority = 1 - TiXmlText "Go to the " - TiXmlElement "bold" - TiXmlText "Toy store!" - TiXmlElement "Item" Attributes: priority=2 - TiXmlText "Do bills" -</pre></div><h2>Documentation </h2> -<p>The documentation is build with Doxygen, using the 'dox' configuration file.</p> -<h2>License </h2> -<p>TinyXML is released under the zlib license:</p> -<p>This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.</p> -<p>Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:</p> -<p>1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.</p> -<p>2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.</p> -<p>3. This notice may not be removed or altered from any source distribution.</p> -<h2>References </h2> -<p>The World Wide Web Consortium is the definitive standard body for XML, and their web pages contain huge amounts of information.</p> -<p>The definitive spec: <a href="http://www.w3.org/TR/2004/REC-xml-20040204/">http://www.w3.org/TR/2004/REC-xml-20040204/</a></p> -<p>I also recommend "XML Pocket Reference" by Robert Eckstein and published by OReilly...the book that got the whole thing started.</p> -<h2>Contributors, Contacts, and a Brief History </h2> -<p>Thanks very much to everyone who sends suggestions, bugs, ideas, and encouragement. It all helps, and makes this project fun. A special thanks to the contributors on the web pages that keep it lively.</p> -<p>So many people have sent in bugs and ideas, that rather than list here we try to give credit due in the "changes.txt" file.</p> -<p>TinyXML was originally written by Lee Thomason. (Often the "I" still in the documentation.) Lee reviews changes and releases new versions, with the help of Yves Berquin, Andrew Ellerton, and the tinyXml community.</p> -<p>We appreciate your suggestions, and would love to know if you use TinyXML. Hopefully you will enjoy it and find it useful. Please post questions, comments, file bugs, or contact us at:</p> -<p>www.sourceforge.net/projects/tinyxml</p> -<p>Lee Thomason, Yves Berquin, Andrew Ellerton </p> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/pages.html b/shared/tinyxml/docs/pages.html deleted file mode 100644 index 14a96596..00000000 --- a/shared/tinyxml/docs/pages.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: Page Index</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>Related Pages</h1>Here is a list of all related documentation pages:<ul> -<li><a class="el" href="deprecated.html">Deprecated List</a> -</li> -</ul> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/tab_b.gif b/shared/tinyxml/docs/tab_b.gif Binary files differdeleted file mode 100644 index 0d623483..00000000 --- a/shared/tinyxml/docs/tab_b.gif +++ /dev/null diff --git a/shared/tinyxml/docs/tab_l.gif b/shared/tinyxml/docs/tab_l.gif Binary files differdeleted file mode 100644 index 9b1e6337..00000000 --- a/shared/tinyxml/docs/tab_l.gif +++ /dev/null diff --git a/shared/tinyxml/docs/tab_r.gif b/shared/tinyxml/docs/tab_r.gif Binary files differdeleted file mode 100644 index ce9dd9f5..00000000 --- a/shared/tinyxml/docs/tab_r.gif +++ /dev/null diff --git a/shared/tinyxml/docs/tabs.css b/shared/tinyxml/docs/tabs.css deleted file mode 100644 index a4441634..00000000 --- a/shared/tinyxml/docs/tabs.css +++ /dev/null @@ -1,105 +0,0 @@ -/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ - -DIV.tabs -{ - float : left; - width : 100%; - background : url("tab_b.gif") repeat-x bottom; - margin-bottom : 4px; -} - -DIV.tabs UL -{ - margin : 0px; - padding-left : 10px; - list-style : none; -} - -DIV.tabs LI, DIV.tabs FORM -{ - display : inline; - margin : 0px; - padding : 0px; -} - -DIV.tabs FORM -{ - float : right; -} - -DIV.tabs A -{ - float : left; - background : url("tab_r.gif") no-repeat right top; - border-bottom : 1px solid #84B0C7; - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - -DIV.tabs A:hover -{ - background-position: 100% -150px; -} - -DIV.tabs A:link, DIV.tabs A:visited, -DIV.tabs A:active, DIV.tabs A:hover -{ - color: #1A419D; -} - -DIV.tabs SPAN -{ - float : left; - display : block; - background : url("tab_l.gif") no-repeat left top; - padding : 5px 9px; - white-space : nowrap; -} - -DIV.tabs #MSearchBox -{ - float : right; - display : inline; - font-size : 1em; -} - -DIV.tabs TD -{ - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - - - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -DIV.tabs SPAN {float : none;} -/* End IE5-Mac hack */ - -DIV.tabs A:hover SPAN -{ - background-position: 0% -150px; -} - -DIV.tabs LI.current A -{ - background-position: 100% -150px; - border-width : 0px; -} - -DIV.tabs LI.current SPAN -{ - background-position: 0% -150px; - padding-bottom : 6px; -} - -DIV.navpath -{ - background : none; - border : none; - border-bottom : 1px solid #84B0C7; - text-align : center; - margin : 2px; - padding : 2px; -} diff --git a/shared/tinyxml/docs/tinystr_8h_source.html b/shared/tinyxml/docs/tinystr_8h_source.html deleted file mode 100644 index 579a90e0..00000000 --- a/shared/tinyxml/docs/tinystr_8h_source.html +++ /dev/null @@ -1,335 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: tinystr.h Source File</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li class="current"><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="files.html"><span>File List</span></a></li> - </ul> - </div> -<h1>tinystr.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> -<a name="l00002"></a>00002 <span class="comment">www.sourceforge.net/projects/tinyxml</span> -<a name="l00003"></a>00003 <span class="comment"></span> -<a name="l00004"></a>00004 <span class="comment">This software is provided 'as-is', without any express or implied</span> -<a name="l00005"></a>00005 <span class="comment">warranty. In no event will the authors be held liable for any</span> -<a name="l00006"></a>00006 <span class="comment">damages arising from the use of this software.</span> -<a name="l00007"></a>00007 <span class="comment"></span> -<a name="l00008"></a>00008 <span class="comment">Permission is granted to anyone to use this software for any</span> -<a name="l00009"></a>00009 <span class="comment">purpose, including commercial applications, and to alter it and</span> -<a name="l00010"></a>00010 <span class="comment">redistribute it freely, subject to the following restrictions:</span> -<a name="l00011"></a>00011 <span class="comment"></span> -<a name="l00012"></a>00012 <span class="comment">1. The origin of this software must not be misrepresented; you must</span> -<a name="l00013"></a>00013 <span class="comment">not claim that you wrote the original software. If you use this</span> -<a name="l00014"></a>00014 <span class="comment">software in a product, an acknowledgment in the product documentation</span> -<a name="l00015"></a>00015 <span class="comment">would be appreciated but is not required.</span> -<a name="l00016"></a>00016 <span class="comment"></span> -<a name="l00017"></a>00017 <span class="comment">2. Altered source versions must be plainly marked as such, and</span> -<a name="l00018"></a>00018 <span class="comment">must not be misrepresented as being the original software.</span> -<a name="l00019"></a>00019 <span class="comment"></span> -<a name="l00020"></a>00020 <span class="comment">3. This notice may not be removed or altered from any source</span> -<a name="l00021"></a>00021 <span class="comment">distribution.</span> -<a name="l00022"></a>00022 <span class="comment">*/</span> -<a name="l00023"></a>00023 -<a name="l00024"></a>00024 -<a name="l00025"></a>00025 <span class="preprocessor">#ifndef TIXML_USE_STL</span> -<a name="l00026"></a>00026 <span class="preprocessor"></span> -<a name="l00027"></a>00027 <span class="preprocessor">#ifndef TIXML_STRING_INCLUDED</span> -<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define TIXML_STRING_INCLUDED</span> -<a name="l00029"></a>00029 <span class="preprocessor"></span> -<a name="l00030"></a>00030 <span class="preprocessor">#include <assert.h></span> -<a name="l00031"></a>00031 <span class="preprocessor">#include <string.h></span> -<a name="l00032"></a>00032 -<a name="l00033"></a>00033 <span class="comment">/* The support for explicit isn't that universal, and it isn't really</span> -<a name="l00034"></a>00034 <span class="comment"> required - it is used to check that the TiXmlString class isn't incorrectly</span> -<a name="l00035"></a>00035 <span class="comment"> used. Be nice to old compilers and macro it here:</span> -<a name="l00036"></a>00036 <span class="comment">*/</span> -<a name="l00037"></a>00037 <span class="preprocessor">#if defined(_MSC_VER) && (_MSC_VER >= 1200 )</span> -<a name="l00038"></a>00038 <span class="preprocessor"></span> <span class="comment">// Microsoft visual studio, version 6 and higher.</span> -<a name="l00039"></a>00039 <span class="preprocessor"> #define TIXML_EXPLICIT explicit</span> -<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#elif defined(__GNUC__) && (__GNUC__ >= 3 )</span> -<a name="l00041"></a>00041 <span class="preprocessor"></span> <span class="comment">// GCC version 3 and higher.s</span> -<a name="l00042"></a>00042 <span class="preprocessor"> #define TIXML_EXPLICIT explicit</span> -<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#else</span> -<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_EXPLICIT</span> -<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00046"></a>00046 <span class="preprocessor"></span> -<a name="l00047"></a>00047 -<a name="l00048"></a>00048 <span class="comment">/*</span> -<a name="l00049"></a>00049 <span class="comment"> TiXmlString is an emulation of a subset of the std::string template.</span> -<a name="l00050"></a>00050 <span class="comment"> Its purpose is to allow compiling TinyXML on compilers with no or poor STL support.</span> -<a name="l00051"></a>00051 <span class="comment"> Only the member functions relevant to the TinyXML project have been implemented.</span> -<a name="l00052"></a>00052 <span class="comment"> The buffer allocation is made by a simplistic power of 2 like mechanism : if we increase</span> -<a name="l00053"></a>00053 <span class="comment"> a string and there's no more room, we allocate a buffer twice as big as we need.</span> -<a name="l00054"></a>00054 <span class="comment">*/</span> -<a name="l00055"></a>00055 <span class="keyword">class </span>TiXmlString -<a name="l00056"></a>00056 { -<a name="l00057"></a>00057 <span class="keyword">public</span> : -<a name="l00058"></a>00058 <span class="comment">// The size type used</span> -<a name="l00059"></a>00059 <span class="keyword">typedef</span> <span class="keywordtype">size_t</span> size_type; -<a name="l00060"></a>00060 -<a name="l00061"></a>00061 <span class="comment">// Error value for find primitive</span> -<a name="l00062"></a>00062 <span class="keyword">static</span> <span class="keyword">const</span> size_type npos; <span class="comment">// = -1;</span> -<a name="l00063"></a>00063 -<a name="l00064"></a>00064 -<a name="l00065"></a>00065 <span class="comment">// TiXmlString empty constructor</span> -<a name="l00066"></a>00066 TiXmlString () : rep_(&nullrep_) -<a name="l00067"></a>00067 { -<a name="l00068"></a>00068 } -<a name="l00069"></a>00069 -<a name="l00070"></a>00070 <span class="comment">// TiXmlString copy constructor</span> -<a name="l00071"></a>00071 TiXmlString ( <span class="keyword">const</span> TiXmlString & copy) : rep_(0) -<a name="l00072"></a>00072 { -<a name="l00073"></a>00073 init(copy.length()); -<a name="l00074"></a>00074 memcpy(start(), copy.data(), length()); -<a name="l00075"></a>00075 } -<a name="l00076"></a>00076 -<a name="l00077"></a>00077 <span class="comment">// TiXmlString constructor, based on a string</span> -<a name="l00078"></a>00078 TIXML_EXPLICIT TiXmlString ( <span class="keyword">const</span> <span class="keywordtype">char</span> * copy) : rep_(0) -<a name="l00079"></a>00079 { -<a name="l00080"></a>00080 init( static_cast<size_type>( strlen(copy) )); -<a name="l00081"></a>00081 memcpy(start(), copy, length()); -<a name="l00082"></a>00082 } -<a name="l00083"></a>00083 -<a name="l00084"></a>00084 <span class="comment">// TiXmlString constructor, based on a string</span> -<a name="l00085"></a>00085 TIXML_EXPLICIT TiXmlString ( <span class="keyword">const</span> <span class="keywordtype">char</span> * str, size_type len) : rep_(0) -<a name="l00086"></a>00086 { -<a name="l00087"></a>00087 init(len); -<a name="l00088"></a>00088 memcpy(start(), str, len); -<a name="l00089"></a>00089 } -<a name="l00090"></a>00090 -<a name="l00091"></a>00091 <span class="comment">// TiXmlString destructor</span> -<a name="l00092"></a>00092 ~TiXmlString () -<a name="l00093"></a>00093 { -<a name="l00094"></a>00094 quit(); -<a name="l00095"></a>00095 } -<a name="l00096"></a>00096 -<a name="l00097"></a>00097 TiXmlString& operator = (<span class="keyword">const</span> <span class="keywordtype">char</span> * copy) -<a name="l00098"></a>00098 { -<a name="l00099"></a>00099 <span class="keywordflow">return</span> assign( copy, (size_type)strlen(copy)); -<a name="l00100"></a>00100 } -<a name="l00101"></a>00101 -<a name="l00102"></a>00102 TiXmlString& operator = (<span class="keyword">const</span> TiXmlString & copy) -<a name="l00103"></a>00103 { -<a name="l00104"></a>00104 <span class="keywordflow">return</span> assign(copy.start(), copy.length()); -<a name="l00105"></a>00105 } -<a name="l00106"></a>00106 -<a name="l00107"></a>00107 -<a name="l00108"></a>00108 <span class="comment">// += operator. Maps to append</span> -<a name="l00109"></a>00109 TiXmlString& operator += (<span class="keyword">const</span> <span class="keywordtype">char</span> * suffix) -<a name="l00110"></a>00110 { -<a name="l00111"></a>00111 <span class="keywordflow">return</span> append(suffix, static_cast<size_type>( strlen(suffix) )); -<a name="l00112"></a>00112 } -<a name="l00113"></a>00113 -<a name="l00114"></a>00114 <span class="comment">// += operator. Maps to append</span> -<a name="l00115"></a>00115 TiXmlString& operator += (<span class="keywordtype">char</span> single) -<a name="l00116"></a>00116 { -<a name="l00117"></a>00117 <span class="keywordflow">return</span> append(&single, 1); -<a name="l00118"></a>00118 } -<a name="l00119"></a>00119 -<a name="l00120"></a>00120 <span class="comment">// += operator. Maps to append</span> -<a name="l00121"></a>00121 TiXmlString& operator += (<span class="keyword">const</span> TiXmlString & suffix) -<a name="l00122"></a>00122 { -<a name="l00123"></a>00123 <span class="keywordflow">return</span> append(suffix.data(), suffix.length()); -<a name="l00124"></a>00124 } -<a name="l00125"></a>00125 -<a name="l00126"></a>00126 -<a name="l00127"></a>00127 <span class="comment">// Convert a TiXmlString into a null-terminated char *</span> -<a name="l00128"></a>00128 <span class="keyword">const</span> <span class="keywordtype">char</span> * c_str ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->str; } -<a name="l00129"></a>00129 -<a name="l00130"></a>00130 <span class="comment">// Convert a TiXmlString into a char * (need not be null terminated).</span> -<a name="l00131"></a>00131 <span class="keyword">const</span> <span class="keywordtype">char</span> * data ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->str; } -<a name="l00132"></a>00132 -<a name="l00133"></a>00133 <span class="comment">// Return the length of a TiXmlString</span> -<a name="l00134"></a>00134 size_type length ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->size; } -<a name="l00135"></a>00135 -<a name="l00136"></a>00136 <span class="comment">// Alias for length()</span> -<a name="l00137"></a>00137 size_type size ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->size; } -<a name="l00138"></a>00138 -<a name="l00139"></a>00139 <span class="comment">// Checks if a TiXmlString is empty</span> -<a name="l00140"></a>00140 <span class="keywordtype">bool</span> empty ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->size == 0; } -<a name="l00141"></a>00141 -<a name="l00142"></a>00142 <span class="comment">// Return capacity of string</span> -<a name="l00143"></a>00143 size_type capacity ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->capacity; } -<a name="l00144"></a>00144 -<a name="l00145"></a>00145 -<a name="l00146"></a>00146 <span class="comment">// single char extraction</span> -<a name="l00147"></a>00147 <span class="keyword">const</span> <span class="keywordtype">char</span>& at (size_type index)<span class="keyword"> const</span> -<a name="l00148"></a>00148 <span class="keyword"> </span>{ -<a name="l00149"></a>00149 assert( index < length() ); -<a name="l00150"></a>00150 <span class="keywordflow">return</span> rep_->str[ index ]; -<a name="l00151"></a>00151 } -<a name="l00152"></a>00152 -<a name="l00153"></a>00153 <span class="comment">// [] operator</span> -<a name="l00154"></a>00154 <span class="keywordtype">char</span>& operator [] (size_type index)<span class="keyword"> const</span> -<a name="l00155"></a>00155 <span class="keyword"> </span>{ -<a name="l00156"></a>00156 assert( index < length() ); -<a name="l00157"></a>00157 <span class="keywordflow">return</span> rep_->str[ index ]; -<a name="l00158"></a>00158 } -<a name="l00159"></a>00159 -<a name="l00160"></a>00160 <span class="comment">// find a char in a string. Return TiXmlString::npos if not found</span> -<a name="l00161"></a>00161 size_type find (<span class="keywordtype">char</span> lookup)<span class="keyword"> const</span> -<a name="l00162"></a>00162 <span class="keyword"> </span>{ -<a name="l00163"></a>00163 <span class="keywordflow">return</span> find(lookup, 0); -<a name="l00164"></a>00164 } -<a name="l00165"></a>00165 -<a name="l00166"></a>00166 <span class="comment">// find a char in a string from an offset. Return TiXmlString::npos if not found</span> -<a name="l00167"></a>00167 size_type find (<span class="keywordtype">char</span> tofind, size_type offset)<span class="keyword"> const</span> -<a name="l00168"></a>00168 <span class="keyword"> </span>{ -<a name="l00169"></a>00169 <span class="keywordflow">if</span> (offset >= length()) <span class="keywordflow">return</span> npos; -<a name="l00170"></a>00170 -<a name="l00171"></a>00171 <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keywordtype">char</span>* p = c_str() + offset; *p != <span class="charliteral">'\0'</span>; ++p) -<a name="l00172"></a>00172 { -<a name="l00173"></a>00173 <span class="keywordflow">if</span> (*p == tofind) <span class="keywordflow">return</span> <span class="keyword">static_cast<</span> size_type <span class="keyword">></span>( p - c_str() ); -<a name="l00174"></a>00174 } -<a name="l00175"></a>00175 <span class="keywordflow">return</span> npos; -<a name="l00176"></a>00176 } -<a name="l00177"></a>00177 -<a name="l00178"></a>00178 <span class="keywordtype">void</span> clear () -<a name="l00179"></a>00179 { -<a name="l00180"></a>00180 <span class="comment">//Lee:</span> -<a name="l00181"></a>00181 <span class="comment">//The original was just too strange, though correct:</span> -<a name="l00182"></a>00182 <span class="comment">// TiXmlString().swap(*this);</span> -<a name="l00183"></a>00183 <span class="comment">//Instead use the quit & re-init:</span> -<a name="l00184"></a>00184 quit(); -<a name="l00185"></a>00185 init(0,0); -<a name="l00186"></a>00186 } -<a name="l00187"></a>00187 -<a name="l00188"></a>00188 <span class="comment">/* Function to reserve a big amount of data when we know we'll need it. Be aware that this</span> -<a name="l00189"></a>00189 <span class="comment"> function DOES NOT clear the content of the TiXmlString if any exists.</span> -<a name="l00190"></a>00190 <span class="comment"> */</span> -<a name="l00191"></a>00191 <span class="keywordtype">void</span> reserve (size_type cap); -<a name="l00192"></a>00192 -<a name="l00193"></a>00193 TiXmlString& assign (<span class="keyword">const</span> <span class="keywordtype">char</span>* str, size_type len); -<a name="l00194"></a>00194 -<a name="l00195"></a>00195 TiXmlString& append (<span class="keyword">const</span> <span class="keywordtype">char</span>* str, size_type len); -<a name="l00196"></a>00196 -<a name="l00197"></a>00197 <span class="keywordtype">void</span> swap (TiXmlString& other) -<a name="l00198"></a>00198 { -<a name="l00199"></a>00199 Rep* r = rep_; -<a name="l00200"></a>00200 rep_ = other.rep_; -<a name="l00201"></a>00201 other.rep_ = r; -<a name="l00202"></a>00202 } -<a name="l00203"></a>00203 -<a name="l00204"></a>00204 <span class="keyword">private</span>: -<a name="l00205"></a>00205 -<a name="l00206"></a>00206 <span class="keywordtype">void</span> init(size_type sz) { init(sz, sz); } -<a name="l00207"></a>00207 <span class="keywordtype">void</span> set_size(size_type sz) { rep_->str[ rep_->size = sz ] = <span class="charliteral">'\0'</span>; } -<a name="l00208"></a>00208 <span class="keywordtype">char</span>* start()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->str; } -<a name="l00209"></a>00209 <span class="keywordtype">char</span>* finish()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rep_->str + rep_->size; } -<a name="l00210"></a>00210 -<a name="l00211"></a>00211 <span class="keyword">struct </span>Rep -<a name="l00212"></a>00212 { -<a name="l00213"></a>00213 size_type size, capacity; -<a name="l00214"></a>00214 <span class="keywordtype">char</span> str[1]; -<a name="l00215"></a>00215 }; -<a name="l00216"></a>00216 -<a name="l00217"></a>00217 <span class="keywordtype">void</span> init(size_type sz, size_type cap) -<a name="l00218"></a>00218 { -<a name="l00219"></a>00219 <span class="keywordflow">if</span> (cap) -<a name="l00220"></a>00220 { -<a name="l00221"></a>00221 <span class="comment">// Lee: the original form:</span> -<a name="l00222"></a>00222 <span class="comment">// rep_ = static_cast<Rep*>(operator new(sizeof(Rep) + cap));</span> -<a name="l00223"></a>00223 <span class="comment">// doesn't work in some cases of new being overloaded. Switching</span> -<a name="l00224"></a>00224 <span class="comment">// to the normal allocation, although use an 'int' for systems</span> -<a name="l00225"></a>00225 <span class="comment">// that are overly picky about structure alignment.</span> -<a name="l00226"></a>00226 <span class="keyword">const</span> size_type bytesNeeded = <span class="keyword">sizeof</span>(Rep) + cap; -<a name="l00227"></a>00227 <span class="keyword">const</span> size_type intsNeeded = ( bytesNeeded + <span class="keyword">sizeof</span>(int) - 1 ) / <span class="keyword">sizeof</span>( int ); -<a name="l00228"></a>00228 rep_ = <span class="keyword">reinterpret_cast<</span>Rep*<span class="keyword">></span>( <span class="keyword">new</span> <span class="keywordtype">int</span>[ intsNeeded ] ); -<a name="l00229"></a>00229 -<a name="l00230"></a>00230 rep_->str[ rep_->size = sz ] = <span class="charliteral">'\0'</span>; -<a name="l00231"></a>00231 rep_->capacity = cap; -<a name="l00232"></a>00232 } -<a name="l00233"></a>00233 <span class="keywordflow">else</span> -<a name="l00234"></a>00234 { -<a name="l00235"></a>00235 rep_ = &nullrep_; -<a name="l00236"></a>00236 } -<a name="l00237"></a>00237 } -<a name="l00238"></a>00238 -<a name="l00239"></a>00239 <span class="keywordtype">void</span> quit() -<a name="l00240"></a>00240 { -<a name="l00241"></a>00241 <span class="keywordflow">if</span> (rep_ != &nullrep_) -<a name="l00242"></a>00242 { -<a name="l00243"></a>00243 <span class="comment">// The rep_ is really an array of ints. (see the allocator, above).</span> -<a name="l00244"></a>00244 <span class="comment">// Cast it back before delete, so the compiler won't incorrectly call destructors.</span> -<a name="l00245"></a>00245 <span class="keyword">delete</span> [] ( <span class="keyword">reinterpret_cast<</span><span class="keywordtype">int</span>*<span class="keyword">></span>( rep_ ) ); -<a name="l00246"></a>00246 } -<a name="l00247"></a>00247 } -<a name="l00248"></a>00248 -<a name="l00249"></a>00249 Rep * rep_; -<a name="l00250"></a>00250 <span class="keyword">static</span> Rep nullrep_; -<a name="l00251"></a>00251 -<a name="l00252"></a>00252 } ; -<a name="l00253"></a>00253 -<a name="l00254"></a>00254 -<a name="l00255"></a>00255 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator == (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) -<a name="l00256"></a>00256 { -<a name="l00257"></a>00257 <span class="keywordflow">return</span> ( a.length() == b.length() ) <span class="comment">// optimization on some platforms</span> -<a name="l00258"></a>00258 && ( strcmp(a.c_str(), b.c_str()) == 0 ); <span class="comment">// actual compare</span> -<a name="l00259"></a>00259 } -<a name="l00260"></a>00260 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator < (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) -<a name="l00261"></a>00261 { -<a name="l00262"></a>00262 <span class="keywordflow">return</span> strcmp(a.c_str(), b.c_str()) < 0; -<a name="l00263"></a>00263 } -<a name="l00264"></a>00264 -<a name="l00265"></a>00265 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator != (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> !(a == b); } -<a name="l00266"></a>00266 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator > (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> b < a; } -<a name="l00267"></a>00267 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator <= (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> !(b < a); } -<a name="l00268"></a>00268 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator >= (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> !(a < b); } -<a name="l00269"></a>00269 -<a name="l00270"></a>00270 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator == (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> <span class="keywordtype">char</span>* b) { <span class="keywordflow">return</span> strcmp(a.c_str(), b) == 0; } -<a name="l00271"></a>00271 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator == (<span class="keyword">const</span> <span class="keywordtype">char</span>* a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> b == a; } -<a name="l00272"></a>00272 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator != (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> <span class="keywordtype">char</span>* b) { <span class="keywordflow">return</span> !(a == b); } -<a name="l00273"></a>00273 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator != (<span class="keyword">const</span> <span class="keywordtype">char</span>* a, <span class="keyword">const</span> TiXmlString & b) { <span class="keywordflow">return</span> !(b == a); } -<a name="l00274"></a>00274 -<a name="l00275"></a>00275 TiXmlString operator + (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> TiXmlString & b); -<a name="l00276"></a>00276 TiXmlString operator + (<span class="keyword">const</span> TiXmlString & a, <span class="keyword">const</span> <span class="keywordtype">char</span>* b); -<a name="l00277"></a>00277 TiXmlString operator + (<span class="keyword">const</span> <span class="keywordtype">char</span>* a, <span class="keyword">const</span> TiXmlString & b); -<a name="l00278"></a>00278 -<a name="l00279"></a>00279 -<a name="l00280"></a>00280 <span class="comment">/*</span> -<a name="l00281"></a>00281 <span class="comment"> TiXmlOutStream is an emulation of std::ostream. It is based on TiXmlString.</span> -<a name="l00282"></a>00282 <span class="comment"> Only the operators that we need for TinyXML have been developped.</span> -<a name="l00283"></a>00283 <span class="comment">*/</span> -<a name="l00284"></a>00284 <span class="keyword">class </span>TiXmlOutStream : <span class="keyword">public</span> TiXmlString -<a name="l00285"></a>00285 { -<a name="l00286"></a>00286 <span class="keyword">public</span> : -<a name="l00287"></a>00287 -<a name="l00288"></a>00288 <span class="comment">// TiXmlOutStream << operator.</span> -<a name="l00289"></a>00289 TiXmlOutStream & operator << (<span class="keyword">const</span> TiXmlString & in) -<a name="l00290"></a>00290 { -<a name="l00291"></a>00291 *<span class="keyword">this</span> += in; -<a name="l00292"></a>00292 <span class="keywordflow">return</span> *<span class="keyword">this</span>; -<a name="l00293"></a>00293 } -<a name="l00294"></a>00294 -<a name="l00295"></a>00295 <span class="comment">// TiXmlOutStream << operator.</span> -<a name="l00296"></a>00296 TiXmlOutStream & operator << (<span class="keyword">const</span> <span class="keywordtype">char</span> * in) -<a name="l00297"></a>00297 { -<a name="l00298"></a>00298 *<span class="keyword">this</span> += in; -<a name="l00299"></a>00299 <span class="keywordflow">return</span> *<span class="keyword">this</span>; -<a name="l00300"></a>00300 } -<a name="l00301"></a>00301 -<a name="l00302"></a>00302 } ; -<a name="l00303"></a>00303 -<a name="l00304"></a>00304 <span class="preprocessor">#endif // TIXML_STRING_INCLUDED</span> -<a name="l00305"></a>00305 <span class="preprocessor"></span><span class="preprocessor">#endif // TIXML_USE_STL</span> -</pre></div></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/tinyxml_8h_source.html b/shared/tinyxml/docs/tinyxml_8h_source.html deleted file mode 100644 index 566e3960..00000000 --- a/shared/tinyxml/docs/tinyxml_8h_source.html +++ /dev/null @@ -1,1206 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: tinyxml.h Source File</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li class="current"><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="tabs"> - <ul> - <li><a href="files.html"><span>File List</span></a></li> - </ul> - </div> -<h1>tinyxml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> -<a name="l00002"></a>00002 <span class="comment">www.sourceforge.net/projects/tinyxml</span> -<a name="l00003"></a>00003 <span class="comment">Original code by Lee Thomason (www.grinninglizard.com)</span> -<a name="l00004"></a>00004 <span class="comment"></span> -<a name="l00005"></a>00005 <span class="comment">This software is provided 'as-is', without any express or implied</span> -<a name="l00006"></a>00006 <span class="comment">warranty. In no event will the authors be held liable for any</span> -<a name="l00007"></a>00007 <span class="comment">damages arising from the use of this software.</span> -<a name="l00008"></a>00008 <span class="comment"></span> -<a name="l00009"></a>00009 <span class="comment">Permission is granted to anyone to use this software for any</span> -<a name="l00010"></a>00010 <span class="comment">purpose, including commercial applications, and to alter it and</span> -<a name="l00011"></a>00011 <span class="comment">redistribute it freely, subject to the following restrictions:</span> -<a name="l00012"></a>00012 <span class="comment"></span> -<a name="l00013"></a>00013 <span class="comment">1. The origin of this software must not be misrepresented; you must</span> -<a name="l00014"></a>00014 <span class="comment">not claim that you wrote the original software. If you use this</span> -<a name="l00015"></a>00015 <span class="comment">software in a product, an acknowledgment in the product documentation</span> -<a name="l00016"></a>00016 <span class="comment">would be appreciated but is not required.</span> -<a name="l00017"></a>00017 <span class="comment"></span> -<a name="l00018"></a>00018 <span class="comment">2. Altered source versions must be plainly marked as such, and</span> -<a name="l00019"></a>00019 <span class="comment">must not be misrepresented as being the original software.</span> -<a name="l00020"></a>00020 <span class="comment"></span> -<a name="l00021"></a>00021 <span class="comment">3. This notice may not be removed or altered from any source</span> -<a name="l00022"></a>00022 <span class="comment">distribution.</span> -<a name="l00023"></a>00023 <span class="comment">*/</span> -<a name="l00024"></a>00024 -<a name="l00025"></a>00025 -<a name="l00026"></a>00026 <span class="preprocessor">#ifndef TINYXML_INCLUDED</span> -<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define TINYXML_INCLUDED</span> -<a name="l00028"></a>00028 <span class="preprocessor"></span> -<a name="l00029"></a>00029 <span class="preprocessor">#ifdef _MSC_VER</span> -<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( push )</span> -<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4530 )</span> -<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4786 )</span> -<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00034"></a>00034 <span class="preprocessor"></span> -<a name="l00035"></a>00035 <span class="preprocessor">#include <ctype.h></span> -<a name="l00036"></a>00036 <span class="preprocessor">#include <stdio.h></span> -<a name="l00037"></a>00037 <span class="preprocessor">#include <stdlib.h></span> -<a name="l00038"></a>00038 <span class="preprocessor">#include <string.h></span> -<a name="l00039"></a>00039 <span class="preprocessor">#include <assert.h></span> -<a name="l00040"></a>00040 -<a name="l00041"></a>00041 <span class="comment">// Help out windows:</span> -<a name="l00042"></a>00042 <span class="preprocessor">#if defined( _DEBUG ) && !defined( DEBUG )</span> -<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define DEBUG</span> -<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00045"></a>00045 <span class="preprocessor"></span> -<a name="l00046"></a>00046 <span class="preprocessor">#ifdef TIXML_USE_STL</span> -<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"> #include <string></span> -<a name="l00048"></a>00048 <span class="preprocessor"> #include <iostream></span> -<a name="l00049"></a>00049 <span class="preprocessor"> #include <sstream></span> -<a name="l00050"></a>00050 <span class="preprocessor"> #define TIXML_STRING std::string</span> -<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#else</span> -<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"> #include "tinystr.h"</span> -<a name="l00053"></a>00053 <span class="preprocessor"> #define TIXML_STRING TiXmlString</span> -<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00055"></a>00055 <span class="preprocessor"></span> -<a name="l00056"></a>00056 <span class="comment">// Deprecated library function hell. Compilers want to use the</span> -<a name="l00057"></a>00057 <span class="comment">// new safe versions. This probably doesn't fully address the problem,</span> -<a name="l00058"></a>00058 <span class="comment">// but it gets closer. There are too many compilers for me to fully</span> -<a name="l00059"></a>00059 <span class="comment">// test. If you get compilation troubles, undefine TIXML_SAFE</span> -<a name="l00060"></a>00060 <span class="preprocessor">#define TIXML_SAFE</span> -<a name="l00061"></a>00061 <span class="preprocessor"></span> -<a name="l00062"></a>00062 <span class="preprocessor">#ifdef TIXML_SAFE</span> -<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) && (_MSC_VER >= 1400 )</span> -<a name="l00064"></a>00064 <span class="preprocessor"></span> <span class="comment">// Microsoft visual studio, version 2005 and higher.</span> -<a name="l00065"></a>00065 <span class="preprocessor"> #define TIXML_SNPRINTF _snprintf_s</span> -<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf_s</span> -<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor"> #elif defined(_MSC_VER) && (_MSC_VER >= 1200 )</span> -<a name="l00068"></a>00068 <span class="preprocessor"></span> <span class="comment">// Microsoft visual studio, version 6 and higher.</span> -<a name="l00069"></a>00069 <span class="comment">//#pragma message( "Using _sn* functions." )</span> -<a name="l00070"></a>00070 <span class="preprocessor"> #define TIXML_SNPRINTF _snprintf</span> -<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> -<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor"> #elif defined(__GNUC__) && (__GNUC__ >= 3 )</span> -<a name="l00073"></a>00073 <span class="preprocessor"></span> <span class="comment">// GCC version 3 and higher.s</span> -<a name="l00074"></a>00074 <span class="comment">//#warning( "Using sn* functions." )</span> -<a name="l00075"></a>00075 <span class="preprocessor"> #define TIXML_SNPRINTF snprintf</span> -<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> -<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor"> #else</span> -<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SNPRINTF snprintf</span> -<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> -<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#endif </span> -<a name="l00082"></a>00082 <span class="preprocessor"></span> -<a name="l00083"></a>00083 <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>; -<a name="l00084"></a>00084 <span class="keyword">class </span><a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>; -<a name="l00085"></a>00085 <span class="keyword">class </span><a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>; -<a name="l00086"></a>00086 <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>; -<a name="l00087"></a>00087 <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>; -<a name="l00088"></a>00088 <span class="keyword">class </span><a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>; -<a name="l00089"></a>00089 <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>; -<a name="l00090"></a>00090 <span class="keyword">class </span>TiXmlParsingData; -<a name="l00091"></a>00091 -<a name="l00092"></a>00092 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MAJOR_VERSION = 2; -<a name="l00093"></a>00093 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MINOR_VERSION = 6; -<a name="l00094"></a>00094 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_PATCH_VERSION = 2; -<a name="l00095"></a>00095 -<a name="l00096"></a>00096 <span class="comment">/* Internal structure for tracking location of items </span> -<a name="l00097"></a>00097 <span class="comment"> in the XML file.</span> -<a name="l00098"></a>00098 <span class="comment">*/</span> -<a name="l00099"></a>00099 <span class="keyword">struct </span>TiXmlCursor -<a name="l00100"></a>00100 { -<a name="l00101"></a>00101 TiXmlCursor() { Clear(); } -<a name="l00102"></a>00102 <span class="keywordtype">void</span> Clear() { row = col = -1; } -<a name="l00103"></a>00103 -<a name="l00104"></a>00104 <span class="keywordtype">int</span> row; <span class="comment">// 0 based.</span> -<a name="l00105"></a>00105 <span class="keywordtype">int</span> col; <span class="comment">// 0 based.</span> -<a name="l00106"></a>00106 }; -<a name="l00107"></a>00107 -<a name="l00108"></a>00108 -<a name="l00128"></a><a class="code" href="classTiXmlVisitor.html">00128</a> <span class="keyword">class </span><a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a> -<a name="l00129"></a>00129 { -<a name="l00130"></a>00130 <span class="keyword">public</span>: -<a name="l00131"></a>00131 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>() {} -<a name="l00132"></a>00132 -<a name="l00134"></a><a class="code" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0">00134</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a07baecb52dd7d8716ae2a48ad0956ee0" title="Visit a document.">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& <span class="comment">/*doc*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00136"></a><a class="code" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad">00136</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#aa0ade4f27087447e93974e975c3246ad" title="Visit a document.">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& <span class="comment">/*doc*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00137"></a>00137 -<a name="l00139"></a><a class="code" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff">00139</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#af6c6178ffa517bbdba95d70490875fff" title="Visit an element.">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& <span class="comment">/*element*/</span>, <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <span class="comment">/*firstAttribute*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00141"></a><a class="code" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c">00141</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#aec2b1f8116226d52f3a1b95dafd3a32c" title="Visit an element.">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& <span class="comment">/*element*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00142"></a>00142 -<a name="l00144"></a><a class="code" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19">00144</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#afad71c71ce6473fb9b4b64cd92de4a19" title="Visit a declaration.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>& <span class="comment">/*declaration*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00146"></a><a class="code" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5">00146</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a399b8ebca5cd14664974a32d2ce029e5" title="Visit a text node.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>& <span class="comment">/*text*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00148"></a><a class="code" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2">00148</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a53a60e7a528627b31af3161972cc7fa2" title="Visit a comment node.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>& <span class="comment">/*comment*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00150"></a><a class="code" href="classTiXmlVisitor.html#a7e284d607d275c51dac1adb58159ce28">00150</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a7e284d607d275c51dac1adb58159ce28" title="Visit an unknown node.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>& <span class="comment">/*unknown*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00151"></a>00151 }; -<a name="l00152"></a>00152 -<a name="l00153"></a>00153 <span class="comment">// Only used by Attribute::Query functions</span> -<a name="l00154"></a>00154 <span class="keyword">enum</span> -<a name="l00155"></a>00155 { -<a name="l00156"></a>00156 TIXML_SUCCESS, -<a name="l00157"></a>00157 TIXML_NO_ATTRIBUTE, -<a name="l00158"></a>00158 TIXML_WRONG_TYPE -<a name="l00159"></a>00159 }; -<a name="l00160"></a>00160 -<a name="l00161"></a>00161 -<a name="l00162"></a>00162 <span class="comment">// Used by the parsing routines.</span> -<a name="l00163"></a>00163 <span class="keyword">enum</span> TiXmlEncoding -<a name="l00164"></a>00164 { -<a name="l00165"></a>00165 TIXML_ENCODING_UNKNOWN, -<a name="l00166"></a>00166 TIXML_ENCODING_UTF8, -<a name="l00167"></a>00167 TIXML_ENCODING_LEGACY -<a name="l00168"></a>00168 }; -<a name="l00169"></a>00169 -<a name="l00170"></a>00170 <span class="keyword">const</span> TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN; -<a name="l00171"></a>00171 -<a name="l00194"></a><a class="code" href="classTiXmlBase.html">00194</a> <span class="keyword">class </span><a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> -<a name="l00195"></a>00195 { -<a name="l00196"></a>00196 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>; -<a name="l00197"></a>00197 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>; -<a name="l00198"></a>00198 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>; -<a name="l00199"></a>00199 -<a name="l00200"></a>00200 <span class="keyword">public</span>: -<a name="l00201"></a>00201 <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>() : <a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c" title="Field containing a generic user pointer.">userData</a>(0) {} -<a name="l00202"></a>00202 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>() {} -<a name="l00203"></a>00203 -<a name="l00213"></a>00213 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#a0de56b3f2ef14c65091a3b916437b512" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span> = 0; -<a name="l00214"></a>00214 -<a name="l00221"></a><a class="code" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1">00221</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#a0f799ec645bfb8d8a969e83478f379c1" title="The world does not agree on whether white space should be kept or not.">SetCondenseWhiteSpace</a>( <span class="keywordtype">bool</span> condense ) { condenseWhiteSpace = condense; } -<a name="l00222"></a>00222 -<a name="l00224"></a><a class="code" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438">00224</a> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlBase.html#ad4b1472531c647a25b1840a87ae42438" title="Return the current white space setting.">IsWhiteSpaceCondensed</a>() { <span class="keywordflow">return</span> condenseWhiteSpace; } -<a name="l00225"></a>00225 -<a name="l00244"></a><a class="code" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853">00244</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#a024bceb070188df92c2a8d8852dd0853" title="Return the position, in the original source file, of this node or attribute.">Row</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.row + 1; } -<a name="l00245"></a><a class="code" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003">00245</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#ab54bfb9b70fe6dd276e7b279cab7f003" title="See Row().">Column</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.col + 1; } -<a name="l00246"></a>00246 -<a name="l00247"></a><a class="code" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d">00247</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#ac6b3e0f790930d4970ec30764e937b5d" title="Set a pointer to arbitrary user data.">SetUserData</a>( <span class="keywordtype">void</span>* user ) { <a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c" title="Field containing a generic user pointer.">userData</a> = user; } -<a name="l00248"></a><a class="code" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17">00248</a> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#a6559a530ca6763fc301a14d77ed28c17" title="Get a pointer to arbitrary user data.">GetUserData</a>() { <span class="keywordflow">return</span> <a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c" title="Field containing a generic user pointer.">userData</a>; } -<a name="l00249"></a><a class="code" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4">00249</a> <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#ad0120210e4680ef2088601753ce0ede4" title="Get a pointer to arbitrary user data.">GetUserData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c" title="Field containing a generic user pointer.">userData</a>; } -<a name="l00250"></a>00250 -<a name="l00251"></a>00251 <span class="comment">// Table that returs, for a given lead byte, the total number of bytes</span> -<a name="l00252"></a>00252 <span class="comment">// in the UTF-8 sequence.</span> -<a name="l00253"></a>00253 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> utf8ByteTable[256]; -<a name="l00254"></a>00254 -<a name="l00255"></a>00255 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378" title="Parse the given null terminated block of xml data.">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, -<a name="l00256"></a>00256 TiXmlParsingData* data, -<a name="l00257"></a>00257 TiXmlEncoding encoding <span class="comment">/*= TIXML_ENCODING_UNKNOWN */</span> ) = 0; -<a name="l00258"></a>00258 -<a name="l00262"></a>00262 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#a6bd8c315c1acb09e34107b8736505948" title="Expands entities in a string.">EncodeString</a>( <span class="keyword">const</span> TIXML_STRING& str, TIXML_STRING* out ); -<a name="l00263"></a>00263 -<a name="l00264"></a>00264 <span class="keyword">enum</span> -<a name="l00265"></a>00265 { -<a name="l00266"></a>00266 TIXML_NO_ERROR = 0, -<a name="l00267"></a>00267 TIXML_ERROR, -<a name="l00268"></a>00268 TIXML_ERROR_OPENING_FILE, -<a name="l00269"></a>00269 TIXML_ERROR_PARSING_ELEMENT, -<a name="l00270"></a>00270 TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, -<a name="l00271"></a>00271 TIXML_ERROR_READING_ELEMENT_VALUE, -<a name="l00272"></a>00272 TIXML_ERROR_READING_ATTRIBUTES, -<a name="l00273"></a>00273 TIXML_ERROR_PARSING_EMPTY, -<a name="l00274"></a>00274 TIXML_ERROR_READING_END_TAG, -<a name="l00275"></a>00275 TIXML_ERROR_PARSING_UNKNOWN, -<a name="l00276"></a>00276 TIXML_ERROR_PARSING_COMMENT, -<a name="l00277"></a>00277 TIXML_ERROR_PARSING_DECLARATION, -<a name="l00278"></a>00278 TIXML_ERROR_DOCUMENT_EMPTY, -<a name="l00279"></a>00279 TIXML_ERROR_EMBEDDED_NULL, -<a name="l00280"></a>00280 TIXML_ERROR_PARSING_CDATA, -<a name="l00281"></a>00281 TIXML_ERROR_DOCUMENT_TOP_ONLY, -<a name="l00282"></a>00282 -<a name="l00283"></a>00283 TIXML_ERROR_STRING_COUNT -<a name="l00284"></a>00284 }; -<a name="l00285"></a>00285 -<a name="l00286"></a>00286 <span class="keyword">protected</span>: -<a name="l00287"></a>00287 -<a name="l00288"></a>00288 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* SkipWhiteSpace( <span class="keyword">const</span> <span class="keywordtype">char</span>*, TiXmlEncoding encoding ); -<a name="l00289"></a>00289 -<a name="l00290"></a>00290 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> IsWhiteSpace( <span class="keywordtype">char</span> c ) -<a name="l00291"></a>00291 { -<a name="l00292"></a>00292 <span class="keywordflow">return</span> ( isspace( (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>) c ) || c == <span class="charliteral">'\n'</span> || c == <span class="charliteral">'\r'</span> ); -<a name="l00293"></a>00293 } -<a name="l00294"></a>00294 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> IsWhiteSpace( <span class="keywordtype">int</span> c ) -<a name="l00295"></a>00295 { -<a name="l00296"></a>00296 <span class="keywordflow">if</span> ( c < 256 ) -<a name="l00297"></a>00297 <span class="keywordflow">return</span> IsWhiteSpace( (<span class="keywordtype">char</span>) c ); -<a name="l00298"></a>00298 <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="comment">// Again, only truly correct for English/Latin...but usually works.</span> -<a name="l00299"></a>00299 } -<a name="l00300"></a>00300 -<a name="l00301"></a>00301 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00302"></a>00302 <span class="preprocessor"></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamWhiteSpace( std::istream * in, TIXML_STRING * tag ); -<a name="l00303"></a>00303 <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamTo( std::istream * in, <span class="keywordtype">int</span> character, TIXML_STRING * tag ); -<a name="l00304"></a>00304 <span class="preprocessor"> #endif</span> -<a name="l00305"></a>00305 <span class="preprocessor"></span> -<a name="l00306"></a>00306 <span class="comment">/* Reads an XML name into the string provided. Returns</span> -<a name="l00307"></a>00307 <span class="comment"> a pointer just past the last character of the name,</span> -<a name="l00308"></a>00308 <span class="comment"> or 0 if the function has an error.</span> -<a name="l00309"></a>00309 <span class="comment"> */</span> -<a name="l00310"></a>00310 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadName( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TIXML_STRING* name, TiXmlEncoding encoding ); -<a name="l00311"></a>00311 -<a name="l00312"></a>00312 <span class="comment">/* Reads text. Returns a pointer past the given end tag.</span> -<a name="l00313"></a>00313 <span class="comment"> Wickedly complex options, but it keeps the (sensitive) code in one place.</span> -<a name="l00314"></a>00314 <span class="comment"> */</span> -<a name="l00315"></a>00315 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadText( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="comment">// where to start</span> -<a name="l00316"></a>00316 TIXML_STRING* text, <span class="comment">// the string read</span> -<a name="l00317"></a>00317 <span class="keywordtype">bool</span> ignoreWhiteSpace, <span class="comment">// whether to keep the white space</span> -<a name="l00318"></a>00318 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag, <span class="comment">// what ends this text</span> -<a name="l00319"></a>00319 <span class="keywordtype">bool</span> ignoreCase, <span class="comment">// whether to ignore case in the end tag</span> -<a name="l00320"></a>00320 TiXmlEncoding encoding ); <span class="comment">// the current encoding</span> -<a name="l00321"></a>00321 -<a name="l00322"></a>00322 <span class="comment">// If an entity has been found, transform it into a character.</span> -<a name="l00323"></a>00323 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetEntity( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding ); -<a name="l00324"></a>00324 -<a name="l00325"></a>00325 <span class="comment">// Get a character, while interpreting entities.</span> -<a name="l00326"></a>00326 <span class="comment">// The length can be from 0 to 4 bytes.</span> -<a name="l00327"></a>00327 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetChar( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, <span class="keywordtype">char</span>* _value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding ) -<a name="l00328"></a>00328 { -<a name="l00329"></a>00329 assert( p ); -<a name="l00330"></a>00330 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING_UTF8 ) -<a name="l00331"></a>00331 { -<a name="l00332"></a>00332 *length = utf8ByteTable[ *((<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*)p) ]; -<a name="l00333"></a>00333 assert( *length >= 0 && *length < 5 ); -<a name="l00334"></a>00334 } -<a name="l00335"></a>00335 <span class="keywordflow">else</span> -<a name="l00336"></a>00336 { -<a name="l00337"></a>00337 *length = 1; -<a name="l00338"></a>00338 } -<a name="l00339"></a>00339 -<a name="l00340"></a>00340 <span class="keywordflow">if</span> ( *length == 1 ) -<a name="l00341"></a>00341 { -<a name="l00342"></a>00342 <span class="keywordflow">if</span> ( *p == <span class="charliteral">'&'</span> ) -<a name="l00343"></a>00343 <span class="keywordflow">return</span> GetEntity( p, _value, length, encoding ); -<a name="l00344"></a>00344 *_value = *p; -<a name="l00345"></a>00345 <span class="keywordflow">return</span> p+1; -<a name="l00346"></a>00346 } -<a name="l00347"></a>00347 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( *length ) -<a name="l00348"></a>00348 { -<a name="l00349"></a>00349 <span class="comment">//strncpy( _value, p, *length ); // lots of compilers don't like this function (unsafe),</span> -<a name="l00350"></a>00350 <span class="comment">// and the null terminator isn't needed</span> -<a name="l00351"></a>00351 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; p[i] && i<*length; ++i ) { -<a name="l00352"></a>00352 _value[i] = p[i]; -<a name="l00353"></a>00353 } -<a name="l00354"></a>00354 <span class="keywordflow">return</span> p + (*length); -<a name="l00355"></a>00355 } -<a name="l00356"></a>00356 <span class="keywordflow">else</span> -<a name="l00357"></a>00357 { -<a name="l00358"></a>00358 <span class="comment">// Not valid text.</span> -<a name="l00359"></a>00359 <span class="keywordflow">return</span> 0; -<a name="l00360"></a>00360 } -<a name="l00361"></a>00361 } -<a name="l00362"></a>00362 -<a name="l00363"></a>00363 <span class="comment">// Return true if the next characters in the stream are any of the endTag sequences.</span> -<a name="l00364"></a>00364 <span class="comment">// Ignore case only works for english, and should only be relied on when comparing</span> -<a name="l00365"></a>00365 <span class="comment">// to English words: StringEqual( p, "version", true ) is fine.</span> -<a name="l00366"></a>00366 <span class="keyword">static</span> <span class="keywordtype">bool</span> StringEqual( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, -<a name="l00367"></a>00367 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag, -<a name="l00368"></a>00368 <span class="keywordtype">bool</span> ignoreCase, -<a name="l00369"></a>00369 TiXmlEncoding encoding ); -<a name="l00370"></a>00370 -<a name="l00371"></a>00371 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* errorString[ TIXML_ERROR_STRING_COUNT ]; -<a name="l00372"></a>00372 -<a name="l00373"></a>00373 TiXmlCursor location; -<a name="l00374"></a>00374 -<a name="l00376"></a><a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c">00376</a> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#ab242c01590191f644569fa89a080d97c" title="Field containing a generic user pointer.">userData</a>; -<a name="l00377"></a>00377 -<a name="l00378"></a>00378 <span class="comment">// None of these methods are reliable for any language except English.</span> -<a name="l00379"></a>00379 <span class="comment">// Good for approximation, not great for accuracy.</span> -<a name="l00380"></a>00380 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlpha( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding ); -<a name="l00381"></a>00381 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlphaNum( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding ); -<a name="l00382"></a>00382 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">int</span> ToLower( <span class="keywordtype">int</span> v, TiXmlEncoding encoding ) -<a name="l00383"></a>00383 { -<a name="l00384"></a>00384 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING_UTF8 ) -<a name="l00385"></a>00385 { -<a name="l00386"></a>00386 <span class="keywordflow">if</span> ( v < 128 ) <span class="keywordflow">return</span> tolower( v ); -<a name="l00387"></a>00387 <span class="keywordflow">return</span> v; -<a name="l00388"></a>00388 } -<a name="l00389"></a>00389 <span class="keywordflow">else</span> -<a name="l00390"></a>00390 { -<a name="l00391"></a>00391 <span class="keywordflow">return</span> tolower( v ); -<a name="l00392"></a>00392 } -<a name="l00393"></a>00393 } -<a name="l00394"></a>00394 <span class="keyword">static</span> <span class="keywordtype">void</span> ConvertUTF32ToUTF8( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> input, <span class="keywordtype">char</span>* output, <span class="keywordtype">int</span>* length ); -<a name="l00395"></a>00395 -<a name="l00396"></a>00396 <span class="keyword">private</span>: -<a name="l00397"></a>00397 <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>& ); <span class="comment">// not implemented.</span> -<a name="l00398"></a>00398 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>& base ); <span class="comment">// not allowed.</span> -<a name="l00399"></a>00399 -<a name="l00400"></a>00400 <span class="keyword">struct </span>Entity -<a name="l00401"></a>00401 { -<a name="l00402"></a>00402 <span class="keyword">const</span> <span class="keywordtype">char</span>* str; -<a name="l00403"></a>00403 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> strLength; -<a name="l00404"></a>00404 <span class="keywordtype">char</span> chr; -<a name="l00405"></a>00405 }; -<a name="l00406"></a>00406 <span class="keyword">enum</span> -<a name="l00407"></a>00407 { -<a name="l00408"></a>00408 NUM_ENTITY = 5, -<a name="l00409"></a>00409 MAX_ENTITY_LENGTH = 6 -<a name="l00410"></a>00410 -<a name="l00411"></a>00411 }; -<a name="l00412"></a>00412 <span class="keyword">static</span> Entity entity[ NUM_ENTITY ]; -<a name="l00413"></a>00413 <span class="keyword">static</span> <span class="keywordtype">bool</span> condenseWhiteSpace; -<a name="l00414"></a>00414 }; -<a name="l00415"></a>00415 -<a name="l00416"></a>00416 -<a name="l00423"></a><a class="code" href="classTiXmlNode.html">00423</a> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> -<a name="l00424"></a>00424 { -<a name="l00425"></a>00425 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>; -<a name="l00426"></a>00426 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>; -<a name="l00427"></a>00427 -<a name="l00428"></a>00428 <span class="keyword">public</span>: -<a name="l00429"></a>00429 <span class="preprocessor"> #ifdef TIXML_USE_STL </span> -<a name="l00430"></a>00430 <span class="preprocessor"></span> -<a name="l00434"></a>00434 <span class="keyword">friend</span> std::istream& <a class="code" href="classTiXmlNode.html#ab57bd426563c926844f65a78412e18b9" title="An input stream operator, for every class.">operator >> </a>(std::istream& in, <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& base); -<a name="l00435"></a>00435 -<a name="l00452"></a>00452 <span class="keyword">friend</span> std::ostream& <a class="code" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7" title="An output stream operator, for every class.">operator<< </a>(std::ostream& out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& base); -<a name="l00453"></a>00453 -<a name="l00455"></a>00455 <span class="keyword">friend</span> std::string& <a class="code" href="classTiXmlNode.html#a86cd49cfb17a844c0010b3136ac966c7" title="An output stream operator, for every class.">operator<< </a>(std::string& out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& base ); -<a name="l00456"></a>00456 -<a name="l00457"></a>00457 <span class="preprocessor"> #endif</span> -<a name="l00458"></a>00458 <span class="preprocessor"></span> -<a name="l00462"></a><a class="code" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2">00462</a> <span class="keyword">enum</span> <a class="code" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2" title="The types of XML nodes supported by TinyXml.">NodeType</a> -<a name="l00463"></a>00463 { -<a name="l00464"></a>00464 TINYXML_DOCUMENT, -<a name="l00465"></a>00465 TINYXML_ELEMENT, -<a name="l00466"></a>00466 TINYXML_COMMENT, -<a name="l00467"></a>00467 TINYXML_UNKNOWN, -<a name="l00468"></a>00468 TINYXML_TEXT, -<a name="l00469"></a>00469 TINYXML_DECLARATION, -<a name="l00470"></a>00470 TINYXML_TYPECOUNT -<a name="l00471"></a>00471 }; -<a name="l00472"></a>00472 -<a name="l00473"></a>00473 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>(); -<a name="l00474"></a>00474 -<a name="l00487"></a><a class="code" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41">00487</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlNode.html#a77943eb90d12c2892b1337a9f5918b41" title="The meaning of &#39;value&#39; changes for the specific type of TiXmlNode.">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str (); } -<a name="l00488"></a>00488 -<a name="l00489"></a>00489 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00490"></a>00490 <span class="preprocessor"></span> -<a name="l00494"></a><a class="code" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5">00494</a> <span class="keyword">const</span> std::string& <a class="code" href="classTiXmlNode.html#a6d9e505619d39bf50bfd9609c9169ea5" title="Return Value() as a std::string.">ValueStr</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } -<a name="l00495"></a>00495 <span class="preprocessor"> #endif</span> -<a name="l00496"></a>00496 <span class="preprocessor"></span> -<a name="l00497"></a>00497 <span class="keyword">const</span> TIXML_STRING& ValueTStr()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } -<a name="l00498"></a>00498 -<a name="l00508"></a><a class="code" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90">00508</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90" title="Changes the value of the node.">SetValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * _value) { value = _value;} -<a name="l00509"></a>00509 -<a name="l00510"></a>00510 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00512"></a><a class="code" href="classTiXmlNode.html#a2598d5f448042c1abbeae4503dd45ff2">00512</a> <span class="preprocessor"> void SetValue( const std::string& _value ) { value = _value; }</span> -<a name="l00513"></a>00513 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l00514"></a>00514 <span class="preprocessor"></span> -<a name="l00516"></a>00516 <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#a708e7f953df61d4d2d12f73171550a4b" title="Delete all the children of this node. Does not affect &#39;this&#39;.">Clear</a>(); -<a name="l00517"></a>00517 -<a name="l00519"></a><a class="code" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e">00519</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e" title="One step up the DOM.">Parent</a>() { <span class="keywordflow">return</span> parent; } -<a name="l00520"></a>00520 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ab643043132ffd794f8602685d34a982e" title="One step up the DOM.">Parent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> parent; } -<a name="l00521"></a>00521 -<a name="l00522"></a><a class="code" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0">00522</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0" title="The first child of this node. Will be null if there are no children.">FirstChild</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> firstChild; } -<a name="l00523"></a>00523 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0" title="The first child of this node. Will be null if there are no children.">FirstChild</a>() { <span class="keywordflow">return</span> firstChild; } -<a name="l00524"></a>00524 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a44c8eee26bbe2d1b2762038df9dde2f0" title="The first child of this node. Will be null if there are no children.">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; -<a name="l00525"></a>00525 -<a name="l00526"></a><a class="code" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554">00526</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#abc8bf32be6419ec453a731868de19554" title="The first child of this node with the matching &#39;value&#39;. Will be null if none...">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { -<a name="l00527"></a>00527 <span class="comment">// Call through to the const version - safe since nothing is changed. Exiting syntax: cast this to a const (always safe)</span> -<a name="l00528"></a>00528 <span class="comment">// call the method, cast the return back to non-const.</span> -<a name="l00529"></a>00529 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span> ((<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->FirstChild( _value )); -<a name="l00530"></a>00530 } -<a name="l00531"></a>00531 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* LastChild()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lastChild; } -<a name="l00532"></a><a class="code" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031">00532</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a6432d2b2495f6caf9cb4278df706a031" title="The last child of this node. Will be null if there are no children.">LastChild</a>() { <span class="keywordflow">return</span> lastChild; } -<a name="l00533"></a>00533 -<a name="l00534"></a>00534 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* LastChild( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; -<a name="l00535"></a><a class="code" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d">00535</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#abad5bf1059c48127b958711ef89e8e5d" title="The last child of this node matching &#39;value&#39;. Will be null if there are no...">LastChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { -<a name="l00536"></a>00536 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span> ((<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->LastChild( _value )); -<a name="l00537"></a>00537 } -<a name="l00538"></a>00538 -<a name="l00539"></a>00539 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00540"></a><a class="code" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6">00540</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6" title="STL std::string form.">FirstChild</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a07f6200a5956c723c5b52d70f29c46f6" title="STL std::string form.">FirstChild</a> (_value.c_str ()); } -<a name="l00541"></a><a class="code" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6">00541</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6" title="STL std::string form.">FirstChild</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a10d2669ccb5e29e02fcb0e4408685ef6" title="STL std::string form.">FirstChild</a> (_value.c_str ()); } -<a name="l00542"></a><a class="code" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63">00542</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63" title="STL std::string form.">LastChild</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a256d0cdbfcfeccae83f3a1c9747a8b63" title="STL std::string form.">LastChild</a> (_value.c_str ()); } -<a name="l00543"></a><a class="code" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3">00543</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3" title="STL std::string form.">LastChild</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a69772c9202f70553f940b15c06b07be3" title="STL std::string form.">LastChild</a> (_value.c_str ()); } -<a name="l00544"></a>00544 <span class="preprocessor"> #endif</span> -<a name="l00545"></a>00545 <span class="preprocessor"></span> -<a name="l00562"></a>00562 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6" title="An alternate way to walk the children of a node.">IterateChildren</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous ) <span class="keyword">const</span>; -<a name="l00563"></a>00563 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6" title="An alternate way to walk the children of a node.">IterateChildren</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous ) { -<a name="l00564"></a>00564 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->IterateChildren( previous ) ); -<a name="l00565"></a>00565 } -<a name="l00566"></a>00566 -<a name="l00568"></a>00568 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6" title="An alternate way to walk the children of a node.">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous ) <span class="keyword">const</span>; -<a name="l00569"></a>00569 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8621196ba3705fa226bef4a761cc51b6" title="An alternate way to walk the children of a node.">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous ) { -<a name="l00570"></a>00570 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->IterateChildren( _value, previous ) ); -<a name="l00571"></a>00571 } -<a name="l00572"></a>00572 -<a name="l00573"></a>00573 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00574"></a><a class="code" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df">00574</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df" title="STL std::string form.">IterateChildren</a>( <span class="keyword">const</span> std::string& _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a1cbaaf8e82c09ad763d52616d75724df" title="STL std::string form.">IterateChildren</a> (_value.c_str (), previous); } -<a name="l00575"></a><a class="code" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c">00575</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c" title="STL std::string form.">IterateChildren</a>( <span class="keyword">const</span> std::string& _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* previous ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a16e9ad53e2f5445b14bf325c90aa862c" title="STL std::string form.">IterateChildren</a> (_value.c_str (), previous); } -<a name="l00576"></a>00576 <span class="preprocessor"> #endif</span> -<a name="l00577"></a>00577 <span class="preprocessor"></span> -<a name="l00581"></a>00581 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ad7d4630e1a2a916edda16be22448a8ba" title="Add a new node related to this.">InsertEndChild</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& addThis ); -<a name="l00582"></a>00582 -<a name="l00583"></a>00583 -<a name="l00593"></a>00593 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a5d29442ae46de6d0168429156197bfc6" title="Add a new node related to this.">LinkEndChild</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* addThis ); -<a name="l00594"></a>00594 -<a name="l00598"></a>00598 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a0c146fa2fff0157b681594102f48cbc7" title="Add a new node related to this.">InsertBeforeChild</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* beforeThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& addThis ); -<a name="l00599"></a>00599 -<a name="l00603"></a>00603 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ad9b75e54ec19301c8b4d5ff583d0b3d5" title="Add a new node related to this.">InsertAfterChild</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* afterThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& addThis ); -<a name="l00604"></a>00604 -<a name="l00608"></a>00608 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a0c49e739a17b9938050c22cd89617fbd" title="Replace a child of this node.">ReplaceChild</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* replaceThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& withThis ); -<a name="l00609"></a>00609 -<a name="l00611"></a>00611 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#ae19d8510efc90596552f4feeac9a8fbf" title="Delete a child of this node.">RemoveChild</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* removeThis ); -<a name="l00612"></a>00612 -<a name="l00614"></a><a class="code" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10">00614</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10" title="Navigate to a sibling node.">PreviousSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> prev; } -<a name="l00615"></a>00615 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10" title="Navigate to a sibling node.">PreviousSibling</a>() { <span class="keywordflow">return</span> prev; } -<a name="l00616"></a>00616 -<a name="l00618"></a>00618 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10" title="Navigate to a sibling node.">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; -<a name="l00619"></a>00619 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#ac2cd892768726270e511b2ab32de4d10" title="Navigate to a sibling node.">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *_prev ) { -<a name="l00620"></a>00620 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->PreviousSibling( _prev ) ); -<a name="l00621"></a>00621 } -<a name="l00622"></a>00622 -<a name="l00623"></a>00623 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00624"></a><a class="code" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab">00624</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab" title="STL std::string form.">PreviousSibling</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a658276f57d35d5d4256d1dc1a2c398ab" title="STL std::string form.">PreviousSibling</a> (_value.c_str ()); } -<a name="l00625"></a><a class="code" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912">00625</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912" title="STL std::string form.">PreviousSibling</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#acc8a0434c7f401d4a3b6dee77c1a5912" title="STL std::string form.">PreviousSibling</a> (_value.c_str ()); } -<a name="l00626"></a><a class="code" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9">00626</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9" title="STL std::string form.">NextSibling</a>( <span class="keyword">const</span> std::string& _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a1b94d2f7fa7ab25a5a8e8d4340c449c9" title="STL std::string form.">NextSibling</a> (_value.c_str ()); } -<a name="l00627"></a><a class="code" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea">00627</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea" title="STL std::string form.">NextSibling</a>( <span class="keyword">const</span> std::string& _value) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a1757c1f4d01e8c9596ffdbd561c76aea" title="STL std::string form.">NextSibling</a> (_value.c_str ()); } -<a name="l00628"></a>00628 <span class="preprocessor"> #endif</span> -<a name="l00629"></a>00629 <span class="preprocessor"></span> -<a name="l00631"></a><a class="code" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e">00631</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e" title="Navigate to a sibling node.">NextSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> next; } -<a name="l00632"></a>00632 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e" title="Navigate to a sibling node.">NextSibling</a>() { <span class="keywordflow">return</span> next; } -<a name="l00633"></a>00633 -<a name="l00635"></a>00635 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e" title="Navigate to a sibling node.">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; -<a name="l00636"></a>00636 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#af854baeba384f5fe9859f5aee03b548e" title="Navigate to a sibling node.">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _next ) { -<a name="l00637"></a>00637 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->NextSibling( _next ) ); -<a name="l00638"></a>00638 } -<a name="l00639"></a>00639 -<a name="l00644"></a>00644 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1" title="Convenience function to get through elements.">NextSiblingElement</a>() <span class="keyword">const</span>; -<a name="l00645"></a>00645 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1" title="Convenience function to get through elements.">NextSiblingElement</a>() { -<a name="l00646"></a>00646 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->NextSiblingElement() ); -<a name="l00647"></a>00647 } -<a name="l00648"></a>00648 -<a name="l00653"></a>00653 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1" title="Convenience function to get through elements.">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; -<a name="l00654"></a>00654 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a73acf929d49d10bd0e5fb3d31b0372d1" title="Convenience function to get through elements.">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *_next ) { -<a name="l00655"></a>00655 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->NextSiblingElement( _next ) ); -<a name="l00656"></a>00656 } -<a name="l00657"></a>00657 -<a name="l00658"></a>00658 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00659"></a><a class="code" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463">00659</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463" title="STL std::string form.">NextSiblingElement</a>( <span class="keyword">const</span> std::string& _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a7572d0af9d1e696ee3f05d8bb5ebb463" title="STL std::string form.">NextSiblingElement</a> (_value.c_str ()); } -<a name="l00660"></a><a class="code" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081">00660</a> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081" title="STL std::string form.">NextSiblingElement</a>( <span class="keyword">const</span> std::string& _value) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a506958e34406729a4e4c5326ea39d081" title="STL std::string form.">NextSiblingElement</a> (_value.c_str ()); } -<a name="l00661"></a>00661 <span class="preprocessor"> #endif</span> -<a name="l00662"></a>00662 <span class="preprocessor"></span> -<a name="l00664"></a>00664 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>() <span class="keyword">const</span>; -<a name="l00665"></a>00665 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>() { -<a name="l00666"></a>00666 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->FirstChildElement() ); -<a name="l00667"></a>00667 } -<a name="l00668"></a>00668 -<a name="l00670"></a>00670 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) <span class="keyword">const</span>; -<a name="l00671"></a>00671 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { -<a name="l00672"></a>00672 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->FirstChildElement( _value ) ); -<a name="l00673"></a>00673 } -<a name="l00674"></a>00674 -<a name="l00675"></a>00675 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00676"></a><a class="code" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7">00676</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7" title="STL std::string form.">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a327ad4bbd90073c5dfc931b07314f5f7" title="STL std::string form.">FirstChildElement</a> (_value.c_str ()); } -<a name="l00677"></a><a class="code" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45">00677</a> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45" title="STL std::string form.">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a7f1d7291880534c1e5cdeb392d8c1f45" title="STL std::string form.">FirstChildElement</a> (_value.c_str ()); } -<a name="l00678"></a>00678 <span class="preprocessor"> #endif</span> -<a name="l00679"></a>00679 <span class="preprocessor"></span> -<a name="l00684"></a><a class="code" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e">00684</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlNode.html#a57b99d5c97d67a42b9752f5210a1ba5e" title="Query the type (as an enumerated value, above) of this node.">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; } -<a name="l00685"></a>00685 -<a name="l00689"></a>00689 <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3" title="Return a pointer to the Document this node lives in.">GetDocument</a>() <span class="keyword">const</span>; -<a name="l00690"></a>00690 <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a80e397fa973cf5323e33b07154b024f3" title="Return a pointer to the Document this node lives in.">GetDocument</a>() { -<a name="l00691"></a>00691 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->GetDocument() ); -<a name="l00692"></a>00692 } -<a name="l00693"></a>00693 -<a name="l00695"></a><a class="code" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3">00695</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#aeed21ad30630ef6e7faf096127edc9f3" title="Returns true if this node has no children.">NoChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !firstChild; } -<a name="l00696"></a>00696 -<a name="l00697"></a><a class="code" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08">00697</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a8a4cda4b15c29f64cff419309aebed08" title="Cast to a more defined type. Will return null if not of the requested type.">ToDocument</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00698"></a><a class="code" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c">00698</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a72abed96dc9667ab9e0a2a275301bb1c" title="Cast to a more defined type. Will return null if not of the requested type.">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00699"></a><a class="code" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574">00699</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#aa0a5086f9eaee910bbfdc7f975e26574" title="Cast to a more defined type. Will return null if not of the requested type.">ToComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00700"></a><a class="code" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2">00700</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#afd7205cf31d7a376929f8a36930627a2" title="Cast to a more defined type. Will return null if not of the requested type.">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00701"></a><a class="code" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69">00701</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#a95a46a52c525992d6b4ee08beb14cd69" title="Cast to a more defined type. Will return null if not of the requested type.">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00702"></a><a class="code" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72">00702</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#a9f43e6984fc7d4afd6eb32714c6b7b72" title="Cast to a more defined type. Will return null if not of the requested type.">ToDeclaration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } -<a name="l00703"></a>00703 -<a name="l00704"></a><a class="code" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae">00704</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a6a4c8ac28ee7a745d059db6691e03bae" title="Cast to a more defined type. Will return null if not of the requested type.">ToDocument</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00705"></a><a class="code" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc">00705</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#aa65d000223187d22a4dcebd7479e9ebc" title="Cast to a more defined type. Will return null if not of the requested type.">ToElement</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00706"></a><a class="code" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849">00706</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#a383e06a0787f7063953934867990f849" title="Cast to a more defined type. Will return null if not of the requested type.">ToComment</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00707"></a><a class="code" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d">00707</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#a06de5af852668c7e4af0d09c205f0b0d" title="Cast to a more defined type. Will return null if not of the requested type.">ToUnknown</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00708"></a><a class="code" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03">00708</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#a3ddfbcac78fbea041fad57e5c6d60a03" title="Cast to a more defined type. Will return null if not of the requested type.">ToText</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00709"></a><a class="code" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df">00709</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#a4027136ca820ff4a636b607231b6a6df" title="Cast to a more defined type. Will return null if not of the requested type.">ToDeclaration</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00710"></a>00710 -<a name="l00714"></a>00714 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a4508cc3a2d7a98e96a54cc09c37a78a4" title="Create an exact duplicate of this node and return it.">Clone</a>() <span class="keyword">const</span> = 0; -<a name="l00715"></a>00715 -<a name="l00738"></a>00738 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#acc0f88b7462c6cb73809d410a4f5bb86" title="Accept a hierchical visit the nodes in the TinyXML DOM.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span> = 0; -<a name="l00739"></a>00739 -<a name="l00740"></a>00740 <span class="keyword">protected</span>: -<a name="l00741"></a>00741 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2" title="The types of XML nodes supported by TinyXml.">NodeType</a> _type ); -<a name="l00742"></a>00742 -<a name="l00743"></a>00743 <span class="comment">// Copy to the allocated object. Shared functionality between Clone, Copy constructor,</span> -<a name="l00744"></a>00744 <span class="comment">// and the assignment operator.</span> -<a name="l00745"></a>00745 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* target ) <span class="keyword">const</span>; -<a name="l00746"></a>00746 -<a name="l00747"></a>00747 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00748"></a>00748 <span class="preprocessor"></span> <span class="comment">// The real work of the input operator.</span> -<a name="l00749"></a>00749 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream* in, TIXML_STRING* tag ) = 0; -<a name="l00750"></a>00750 <span class="preprocessor"> #endif</span> -<a name="l00751"></a>00751 <span class="preprocessor"></span> -<a name="l00752"></a>00752 <span class="comment">// Figure out what is at *p, and parse it. Returns null if it is not an xml node.</span> -<a name="l00753"></a>00753 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* Identify( <span class="keyword">const</span> <span class="keywordtype">char</span>* start, TiXmlEncoding encoding ); -<a name="l00754"></a>00754 -<a name="l00755"></a>00755 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* parent; -<a name="l00756"></a>00756 <a class="code" href="classTiXmlNode.html#a836eded4920ab9e9ef28496f48cd95a2" title="The types of XML nodes supported by TinyXml.">NodeType</a> type; -<a name="l00757"></a>00757 -<a name="l00758"></a>00758 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* firstChild; -<a name="l00759"></a>00759 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* lastChild; -<a name="l00760"></a>00760 -<a name="l00761"></a>00761 TIXML_STRING value; -<a name="l00762"></a>00762 -<a name="l00763"></a>00763 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* prev; -<a name="l00764"></a>00764 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* next; -<a name="l00765"></a>00765 -<a name="l00766"></a>00766 <span class="keyword">private</span>: -<a name="l00767"></a>00767 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& ); <span class="comment">// not implemented.</span> -<a name="l00768"></a>00768 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>& base ); <span class="comment">// not allowed.</span> -<a name="l00769"></a>00769 }; -<a name="l00770"></a>00770 -<a name="l00771"></a>00771 -<a name="l00779"></a><a class="code" href="classTiXmlAttribute.html">00779</a> <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> -<a name="l00780"></a>00780 { -<a name="l00781"></a>00781 <span class="keyword">friend</span> <span class="keyword">class </span>TiXmlAttributeSet; -<a name="l00782"></a>00782 -<a name="l00783"></a>00783 <span class="keyword">public</span>: -<a name="l00785"></a><a class="code" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1">00785</a> <a class="code" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1" title="Construct an empty attribute.">TiXmlAttribute</a>() : <a class="code" href="classTiXmlBase.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a>() -<a name="l00786"></a>00786 { -<a name="l00787"></a>00787 document = 0; -<a name="l00788"></a>00788 prev = next = 0; -<a name="l00789"></a>00789 } -<a name="l00790"></a>00790 -<a name="l00791"></a>00791 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00793"></a><a class="code" href="classTiXmlAttribute.html#a052213522caac3979960e0714063861d">00793</a> <span class="preprocessor"> TiXmlAttribute( const std::string& _name, const std::string& _value )</span> -<a name="l00794"></a>00794 <span class="preprocessor"></span> { -<a name="l00795"></a>00795 name = _name; -<a name="l00796"></a>00796 value = _value; -<a name="l00797"></a>00797 document = 0; -<a name="l00798"></a>00798 prev = next = 0; -<a name="l00799"></a>00799 } -<a name="l00800"></a>00800 <span class="preprocessor"> #endif</span> -<a name="l00801"></a>00801 <span class="preprocessor"></span> -<a name="l00803"></a><a class="code" href="classTiXmlAttribute.html#a759d0b76fb8fcf765ecab243bc14f05e">00803</a> <a class="code" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1" title="Construct an empty attribute.">TiXmlAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) -<a name="l00804"></a>00804 { -<a name="l00805"></a>00805 name = _name; -<a name="l00806"></a>00806 value = _value; -<a name="l00807"></a>00807 document = 0; -<a name="l00808"></a>00808 prev = next = 0; -<a name="l00809"></a>00809 } -<a name="l00810"></a>00810 -<a name="l00811"></a><a class="code" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d">00811</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#a298a57287d305904ba6bd96ae6f78d3d" title="Return the name of this attribute.">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name.c_str(); } -<a name="l00812"></a><a class="code" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3">00812</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#a0f874490eac8ca00ee0070765d0e97e3" title="Return the value of this attribute.">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str(); } -<a name="l00813"></a>00813 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00814"></a><a class="code" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33">00814</a> <span class="preprocessor"></span> <span class="keyword">const</span> std::string& <a class="code" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33" title="Return the value of this attribute.">ValueStr</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } -<a name="l00815"></a>00815 <span class="preprocessor"> #endif</span> -<a name="l00816"></a>00816 <span class="preprocessor"></span> <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#aa1a20ad59dc7e89a0ab265396360d50f" title="Return the value of this attribute, converted to an integer.">IntValue</a>() <span class="keyword">const</span>; -<a name="l00817"></a>00817 <span class="keywordtype">double</span> <a class="code" href="classTiXmlAttribute.html#a2880ddef53fc7522c99535273954d230" title="Return the value of this attribute, converted to a double.">DoubleValue</a>() <span class="keyword">const</span>; -<a name="l00818"></a>00818 -<a name="l00819"></a>00819 <span class="comment">// Get the tinyxml string representation</span> -<a name="l00820"></a>00820 <span class="keyword">const</span> TIXML_STRING& NameTStr()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name; } -<a name="l00821"></a>00821 -<a name="l00831"></a>00831 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#ad6c93088ee21af41a107931223339344" title="QueryIntValue examines the value string.">QueryIntValue</a>( <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; -<a name="l00833"></a>00833 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#ac87b2a8489906a5d7aa2875f20be3513" title="QueryDoubleValue examines the value string. See QueryIntValue().">QueryDoubleValue</a>( <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; -<a name="l00834"></a>00834 -<a name="l00835"></a><a class="code" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99">00835</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#ab7fa3d21ff8d7c5764cf9af15b667a99" title="Set the name of this attribute.">SetName</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) { name = _name; } -<a name="l00836"></a><a class="code" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0">00836</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a2dae44178f668b3cb48101be4f2236a0" title="Set the value.">SetValue</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _value ) { value = _value; } -<a name="l00837"></a>00837 -<a name="l00838"></a>00838 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a7e065df640116a62ea4f4b7da5449cc8" title="Set the value from an integer.">SetIntValue</a>( <span class="keywordtype">int</span> _value ); -<a name="l00839"></a>00839 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a0316da31373496c4368ad549bf711394" title="Set the value from a double.">SetDoubleValue</a>( <span class="keywordtype">double</span> _value ); -<a name="l00840"></a>00840 -<a name="l00841"></a>00841 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00843"></a><a class="code" href="classTiXmlAttribute.html#ab296ff0c9a8c701055cd257a8a976e57">00843</a> <span class="preprocessor"> void SetName( const std::string& _name ) { name = _name; } </span> -<a name="l00845"></a><a class="code" href="classTiXmlAttribute.html#ab43f67a0cc3ec1d80e62606500f0925f">00845</a> <span class="preprocessor"> void SetValue( const std::string& _value ) { value = _value; }</span> -<a name="l00846"></a>00846 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l00847"></a>00847 <span class="preprocessor"></span> -<a name="l00849"></a>00849 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67" title="Get the next sibling attribute in the DOM. Returns null at end.">Next</a>() <span class="keyword">const</span>; -<a name="l00850"></a>00850 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a1c78e92e223a40843f644ba48ef69f67" title="Get the next sibling attribute in the DOM. Returns null at end.">Next</a>() { -<a name="l00851"></a>00851 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->Next() ); -<a name="l00852"></a>00852 } -<a name="l00853"></a>00853 -<a name="l00855"></a>00855 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf" title="Get the previous sibling attribute in the DOM. Returns null at beginning.">Previous</a>() <span class="keyword">const</span>; -<a name="l00856"></a>00856 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a6ebbfe333fe76cd834bd6cbcca3130cf" title="Get the previous sibling attribute in the DOM. Returns null at beginning.">Previous</a>() { -<a name="l00857"></a>00857 <span class="keywordflow">return</span> <span class="keyword">const_cast<</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <span class="keyword">></span>( (<span class="keyword">const_cast<</span> <span class="keyword">const </span><a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <span class="keyword">></span>(<span class="keyword">this</span>))->Previous() ); -<a name="l00858"></a>00858 } -<a name="l00859"></a>00859 -<a name="l00860"></a>00860 <span class="keywordtype">bool</span> operator==( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rhs.name == name; } -<a name="l00861"></a>00861 <span class="keywordtype">bool</span> operator<( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name < rhs.name; } -<a name="l00862"></a>00862 <span class="keywordtype">bool</span> operator>( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name > rhs.name; } -<a name="l00863"></a>00863 -<a name="l00864"></a>00864 <span class="comment">/* Attribute parsing starts: first letter of the name</span> -<a name="l00865"></a>00865 <span class="comment"> returns: the next char after the value end quote</span> -<a name="l00866"></a>00866 <span class="comment"> */</span> -<a name="l00867"></a>00867 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l00868"></a>00868 -<a name="l00869"></a>00869 <span class="comment">// Prints this Attribute to a FILE stream.</span> -<a name="l00870"></a><a class="code" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a">00870</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth )<span class="keyword"> const </span>{ -<a name="l00871"></a>00871 <a class="code" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( cfile, depth, 0 ); -<a name="l00872"></a>00872 } -<a name="l00873"></a>00873 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#acc04956c1d5c4c31fe74f7a7528d109a" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth, TIXML_STRING* str ) <span class="keyword">const</span>; -<a name="l00874"></a>00874 -<a name="l00875"></a>00875 <span class="comment">// [internal use]</span> -<a name="l00876"></a>00876 <span class="comment">// Set the document pointer so the attribute can report errors.</span> -<a name="l00877"></a>00877 <span class="keywordtype">void</span> SetDocument( <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* doc ) { document = doc; } -<a name="l00878"></a>00878 -<a name="l00879"></a>00879 <span class="keyword">private</span>: -<a name="l00880"></a>00880 <a class="code" href="classTiXmlAttribute.html#a9cfa3c8179873fd485d83003b114f8e1" title="Construct an empty attribute.">TiXmlAttribute</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>& ); <span class="comment">// not implemented.</span> -<a name="l00881"></a>00881 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>& base ); <span class="comment">// not allowed.</span> -<a name="l00882"></a>00882 -<a name="l00883"></a>00883 <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* document; <span class="comment">// A pointer back to a document, for error reporting.</span> -<a name="l00884"></a>00884 TIXML_STRING name; -<a name="l00885"></a>00885 TIXML_STRING value; -<a name="l00886"></a>00886 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* prev; -<a name="l00887"></a>00887 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* next; -<a name="l00888"></a>00888 }; -<a name="l00889"></a>00889 -<a name="l00890"></a>00890 -<a name="l00891"></a>00891 <span class="comment">/* A class used to manage a group of attributes.</span> -<a name="l00892"></a>00892 <span class="comment"> It is only used internally, both by the ELEMENT and the DECLARATION.</span> -<a name="l00893"></a>00893 <span class="comment"> </span> -<a name="l00894"></a>00894 <span class="comment"> The set can be changed transparent to the Element and Declaration</span> -<a name="l00895"></a>00895 <span class="comment"> classes that use it, but NOT transparent to the Attribute</span> -<a name="l00896"></a>00896 <span class="comment"> which has to implement a next() and previous() method. Which makes</span> -<a name="l00897"></a>00897 <span class="comment"> it a bit problematic and prevents the use of STL.</span> -<a name="l00898"></a>00898 <span class="comment"></span> -<a name="l00899"></a>00899 <span class="comment"> This version is implemented with circular lists because:</span> -<a name="l00900"></a>00900 <span class="comment"> - I like circular lists</span> -<a name="l00901"></a>00901 <span class="comment"> - it demonstrates some independence from the (typical) doubly linked list.</span> -<a name="l00902"></a>00902 <span class="comment">*/</span> -<a name="l00903"></a>00903 <span class="keyword">class </span>TiXmlAttributeSet -<a name="l00904"></a>00904 { -<a name="l00905"></a>00905 <span class="keyword">public</span>: -<a name="l00906"></a>00906 TiXmlAttributeSet(); -<a name="l00907"></a>00907 ~TiXmlAttributeSet(); -<a name="l00908"></a>00908 -<a name="l00909"></a>00909 <span class="keywordtype">void</span> Add( <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* attribute ); -<a name="l00910"></a>00910 <span class="keywordtype">void</span> Remove( <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* attribute ); -<a name="l00911"></a>00911 -<a name="l00912"></a>00912 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* First()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } -<a name="l00913"></a>00913 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* First() { <span class="keywordflow">return</span> ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } -<a name="l00914"></a>00914 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* Last()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } -<a name="l00915"></a>00915 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* Last() { <span class="keywordflow">return</span> ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } -<a name="l00916"></a>00916 -<a name="l00917"></a>00917 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* Find( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) <span class="keyword">const</span>; -<a name="l00918"></a>00918 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* FindOrCreate( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ); -<a name="l00919"></a>00919 -<a name="l00920"></a>00920 <span class="preprocessor"># ifdef TIXML_USE_STL</span> -<a name="l00921"></a>00921 <span class="preprocessor"></span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* Find( <span class="keyword">const</span> std::string& _name ) <span class="keyword">const</span>; -<a name="l00922"></a>00922 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* FindOrCreate( <span class="keyword">const</span> std::string& _name ); -<a name="l00923"></a>00923 <span class="preprocessor"># endif</span> -<a name="l00924"></a>00924 <span class="preprocessor"></span> -<a name="l00925"></a>00925 -<a name="l00926"></a>00926 <span class="keyword">private</span>: -<a name="l00927"></a>00927 <span class="comment">//*ME: Because of hidden/disabled copy-construktor in TiXmlAttribute (sentinel-element),</span> -<a name="l00928"></a>00928 <span class="comment">//*ME: this class must be also use a hidden/disabled copy-constructor !!!</span> -<a name="l00929"></a>00929 TiXmlAttributeSet( <span class="keyword">const</span> TiXmlAttributeSet& ); <span class="comment">// not allowed</span> -<a name="l00930"></a>00930 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> TiXmlAttributeSet& ); <span class="comment">// not allowed (as TiXmlAttribute)</span> -<a name="l00931"></a>00931 -<a name="l00932"></a>00932 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a> sentinel; -<a name="l00933"></a>00933 }; -<a name="l00934"></a>00934 -<a name="l00935"></a>00935 -<a name="l00940"></a><a class="code" href="classTiXmlElement.html">00940</a> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l00941"></a>00941 { -<a name="l00942"></a>00942 <span class="keyword">public</span>: -<a name="l00944"></a>00944 <a class="code" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60" title="Construct an element.">TiXmlElement</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * in_value); -<a name="l00945"></a>00945 -<a name="l00946"></a>00946 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l00948"></a>00948 <span class="preprocessor"> TiXmlElement( const std::string& _value );</span> -<a name="l00949"></a>00949 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l00950"></a>00950 <span class="preprocessor"></span> -<a name="l00951"></a>00951 <a class="code" href="classTiXmlElement.html#a01bc3ab372d35da08efcbbe65ad90c60" title="Construct an element.">TiXmlElement</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& ); -<a name="l00952"></a>00952 -<a name="l00953"></a>00953 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& base ); -<a name="l00954"></a>00954 -<a name="l00955"></a>00955 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>(); -<a name="l00956"></a>00956 -<a name="l00960"></a>00960 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name ) <span class="keyword">const</span>; -<a name="l00961"></a>00961 -<a name="l00968"></a>00968 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* i ) <span class="keyword">const</span>; -<a name="l00969"></a>00969 -<a name="l00976"></a>00976 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* d ) <span class="keyword">const</span>; -<a name="l00977"></a>00977 -<a name="l00985"></a>00985 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#aea0bfe471380f281c5945770ddbf52b9" title="QueryIntAttribute examines the attribute - it is an alternative to the Attribute()...">QueryIntAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; -<a name="l00987"></a>00987 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#ae48df644f890ab86fa19839ac401f00d" title="QueryUnsignedAttribute examines the attribute - see QueryIntAttribute().">QueryUnsignedAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">unsigned</span>* _value ) <span class="keyword">const</span>; -<a name="l00992"></a>00992 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#af4a1d3f88c28eb0f3115dc39ebd83fff" title="QueryBoolAttribute examines the attribute - see QueryIntAttribute().">QueryBoolAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">bool</span>* _value ) <span class="keyword">const</span>; -<a name="l00994"></a>00994 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7" title="QueryDoubleAttribute examines the attribute - see QueryIntAttribute().">QueryDoubleAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; -<a name="l00996"></a><a class="code" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be">00996</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#aa04d3af11601ef5a5f88295203a843be" title="QueryFloatAttribute examines the attribute - see QueryIntAttribute().">QueryFloatAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">float</span>* _value )<span class="keyword"> const </span>{ -<a name="l00997"></a>00997 <span class="keywordtype">double</span> d; -<a name="l00998"></a>00998 <span class="keywordtype">int</span> result = <a class="code" href="classTiXmlElement.html#a898d7730ecc341f0bffc7a9dadbf1ce7" title="QueryDoubleAttribute examines the attribute - see QueryIntAttribute().">QueryDoubleAttribute</a>( name, &d ); -<a name="l00999"></a>00999 <span class="keywordflow">if</span> ( result == TIXML_SUCCESS ) { -<a name="l01000"></a>01000 *_value = (float)d; -<a name="l01001"></a>01001 } -<a name="l01002"></a>01002 <span class="keywordflow">return</span> result; -<a name="l01003"></a>01003 } -<a name="l01004"></a>01004 -<a name="l01005"></a>01005 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01007"></a><a class="code" href="classTiXmlElement.html#a14321ac360efe906ed449d9db3fd9961">01007</a> <span class="preprocessor"> int QueryStringAttribute( const char* name, std::string* _value ) const {</span> -<a name="l01008"></a>01008 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* cstr = <a class="code" href="classTiXmlElement.html#ae419a442a9701a62b0c3d8fd1cbdd12d" title="Given an attribute name, Attribute() returns the value for the attribute of that...">Attribute</a>( name ); -<a name="l01009"></a>01009 <span class="keywordflow">if</span> ( cstr ) { -<a name="l01010"></a>01010 *_value = std::string( cstr ); -<a name="l01011"></a>01011 <span class="keywordflow">return</span> TIXML_SUCCESS; -<a name="l01012"></a>01012 } -<a name="l01013"></a>01013 <span class="keywordflow">return</span> TIXML_NO_ATTRIBUTE; -<a name="l01014"></a>01014 } -<a name="l01015"></a>01015 -<a name="l01024"></a><a class="code" href="classTiXmlElement.html#ae3b9a03b0a56663a40801c7256683576">01024</a> <span class="keyword">template</span>< <span class="keyword">typename</span> T > <span class="keywordtype">int</span> QueryValueAttribute( <span class="keyword">const</span> std::string& name, T* outValue )<span class="keyword"> const</span> -<a name="l01025"></a>01025 <span class="keyword"> </span>{ -<a name="l01026"></a>01026 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* node = attributeSet.Find( name ); -<a name="l01027"></a>01027 <span class="keywordflow">if</span> ( !node ) -<a name="l01028"></a>01028 <span class="keywordflow">return</span> TIXML_NO_ATTRIBUTE; -<a name="l01029"></a>01029 -<a name="l01030"></a>01030 std::stringstream sstream( node-><a class="code" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33" title="Return the value of this attribute.">ValueStr</a>() ); -<a name="l01031"></a>01031 sstream >> *outValue; -<a name="l01032"></a>01032 <span class="keywordflow">if</span> ( !sstream.fail() ) -<a name="l01033"></a>01033 <span class="keywordflow">return</span> TIXML_SUCCESS; -<a name="l01034"></a>01034 <span class="keywordflow">return</span> TIXML_WRONG_TYPE; -<a name="l01035"></a>01035 } -<a name="l01036"></a>01036 -<a name="l01037"></a>01037 <span class="keywordtype">int</span> QueryValueAttribute( <span class="keyword">const</span> std::string& name, std::string* outValue )<span class="keyword"> const</span> -<a name="l01038"></a>01038 <span class="keyword"> </span>{ -<a name="l01039"></a>01039 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* node = attributeSet.Find( name ); -<a name="l01040"></a>01040 <span class="keywordflow">if</span> ( !node ) -<a name="l01041"></a>01041 <span class="keywordflow">return</span> TIXML_NO_ATTRIBUTE; -<a name="l01042"></a>01042 *outValue = node-><a class="code" href="classTiXmlAttribute.html#a87705c3ccf9ee9417beb4f7cbacd4d33" title="Return the value of this attribute.">ValueStr</a>(); -<a name="l01043"></a>01043 <span class="keywordflow">return</span> TIXML_SUCCESS; -<a name="l01044"></a>01044 } -<a name="l01045"></a>01045 <span class="preprocessor"> #endif</span> -<a name="l01046"></a>01046 <span class="preprocessor"></span> -<a name="l01050"></a>01050 <span class="keywordtype">void</span> SetAttribute( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ); -<a name="l01051"></a>01051 -<a name="l01052"></a>01052 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01053"></a>01053 <span class="preprocessor"></span> <span class="keyword">const</span> std::string* Attribute( <span class="keyword">const</span> std::string& name ) <span class="keyword">const</span>; -<a name="l01054"></a>01054 <span class="keyword">const</span> std::string* Attribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span>* i ) <span class="keyword">const</span>; -<a name="l01055"></a>01055 <span class="keyword">const</span> std::string* Attribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">double</span>* d ) <span class="keyword">const</span>; -<a name="l01056"></a>01056 <span class="keywordtype">int</span> QueryIntAttribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; -<a name="l01057"></a>01057 <span class="keywordtype">int</span> QueryDoubleAttribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; -<a name="l01058"></a>01058 -<a name="l01060"></a>01060 <span class="keywordtype">void</span> SetAttribute( <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& _value ); -<a name="l01062"></a>01062 <span class="keywordtype">void</span> SetAttribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span> _value ); -<a name="l01064"></a>01064 <span class="keywordtype">void</span> SetDoubleAttribute( <span class="keyword">const</span> std::string& name, <span class="keywordtype">double</span> value ); -<a name="l01065"></a>01065 <span class="preprocessor"> #endif</span> -<a name="l01066"></a>01066 <span class="preprocessor"></span> -<a name="l01070"></a>01070 <span class="keywordtype">void</span> SetAttribute( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">int</span> value ); -<a name="l01071"></a>01071 -<a name="l01075"></a>01075 <span class="keywordtype">void</span> SetDoubleAttribute( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">double</span> value ); -<a name="l01076"></a>01076 -<a name="l01079"></a>01079 <span class="keywordtype">void</span> RemoveAttribute( <span class="keyword">const</span> <span class="keywordtype">char</span> * name ); -<a name="l01080"></a>01080 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01081"></a><a class="code" href="classTiXmlElement.html#a1afa6aea716511326a608e4c05df4f3a">01081</a> <span class="preprocessor"></span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a1afa6aea716511326a608e4c05df4f3a" title="STL std::string form.">RemoveAttribute</a>( <span class="keyword">const</span> std::string& name ) { <a class="code" href="classTiXmlElement.html#a1afa6aea716511326a608e4c05df4f3a" title="STL std::string form.">RemoveAttribute</a> (name.c_str ()); } -<a name="l01082"></a>01082 <span class="preprocessor"> #endif</span> -<a name="l01083"></a>01083 <span class="preprocessor"></span> -<a name="l01084"></a><a class="code" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592">01084</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#a516054c9073647d6cb29b6abe9fa0592" title="Access the first attribute in this element.">FirstAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.First(); } -<a name="l01085"></a>01085 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* FirstAttribute() { <span class="keywordflow">return</span> attributeSet.First(); } -<a name="l01086"></a><a class="code" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381">01086</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#a86191b49f9177be132b85b14655f1381" title="Access the last attribute in this element.">LastAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.Last(); } -<a name="l01087"></a>01087 <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* LastAttribute() { <span class="keywordflow">return</span> attributeSet.Last(); } -<a name="l01088"></a>01088 -<a name="l01121"></a>01121 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetText() <span class="keyword">const</span>; -<a name="l01122"></a>01122 -<a name="l01124"></a>01124 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* Clone() <span class="keyword">const</span>; -<a name="l01125"></a>01125 <span class="comment">// Print the Element to a FILE stream.</span> -<a name="l01126"></a>01126 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Print( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; -<a name="l01127"></a>01127 -<a name="l01128"></a>01128 <span class="comment">/* Attribtue parsing starts: next char past '<'</span> -<a name="l01129"></a>01129 <span class="comment"> returns: next char past '>'</span> -<a name="l01130"></a>01130 <span class="comment"> */</span> -<a name="l01131"></a>01131 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l01132"></a>01132 -<a name="l01133"></a><a class="code" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c">01133</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlElement.html#ac5b8d0e25fa23fd9acbb6d146082901c" title="Cast to a more defined type. Will return null not of the requested type.">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01134"></a><a class="code" href="classTiXmlElement.html#a9def86337ea7a755eb41cac980f60c7a">01134</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlElement.html#a9def86337ea7a755eb41cac980f60c7a" title="Cast to a more defined type. Will return null not of the requested type.">ToElement</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01135"></a>01135 -<a name="l01138"></a>01138 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> Accept( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; -<a name="l01139"></a>01139 -<a name="l01140"></a>01140 <span class="keyword">protected</span>: -<a name="l01141"></a>01141 -<a name="l01142"></a>01142 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* target ) <span class="keyword">const</span>; -<a name="l01143"></a>01143 <span class="keywordtype">void</span> ClearThis(); <span class="comment">// like clear, but initializes 'this' object as well</span> -<a name="l01144"></a>01144 -<a name="l01145"></a>01145 <span class="comment">// Used to be public [internal use]</span> -<a name="l01146"></a>01146 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01147"></a>01147 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01148"></a>01148 <span class="preprocessor"> #endif</span> -<a name="l01149"></a>01149 <span class="preprocessor"></span> <span class="comment">/* [internal use]</span> -<a name="l01150"></a>01150 <span class="comment"> Reads the "value" of the element -- another element, or text.</span> -<a name="l01151"></a>01151 <span class="comment"> This should terminate with the current end tag.</span> -<a name="l01152"></a>01152 <span class="comment"> */</span> -<a name="l01153"></a>01153 <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadValue( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, TiXmlParsingData* prevData, TiXmlEncoding encoding ); -<a name="l01154"></a>01154 -<a name="l01155"></a>01155 <span class="keyword">private</span>: -<a name="l01156"></a>01156 TiXmlAttributeSet attributeSet; -<a name="l01157"></a>01157 }; -<a name="l01158"></a>01158 -<a name="l01159"></a>01159 -<a name="l01162"></a><a class="code" href="classTiXmlComment.html">01162</a> <span class="keyword">class </span><a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l01163"></a>01163 { -<a name="l01164"></a>01164 <span class="keyword">public</span>: -<a name="l01166"></a><a class="code" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7">01166</a> <a class="code" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7" title="Constructs an empty comment.">TiXmlComment</a>() : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>::TINYXML_COMMENT ) {} -<a name="l01168"></a><a class="code" href="classTiXmlComment.html#a37e7802ef17bc03ebe5ae79bf0713d47">01168</a> <a class="code" href="classTiXmlComment.html#a37e7802ef17bc03ebe5ae79bf0713d47" title="Construct a comment from text.">TiXmlComment</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _value ) : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>::TINYXML_COMMENT ) { -<a name="l01169"></a>01169 <a class="code" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90" title="Changes the value of the node.">SetValue</a>( _value ); -<a name="l01170"></a>01170 } -<a name="l01171"></a>01171 <a class="code" href="classTiXmlComment.html#aaa3252031d3e8bd3a2bf51a1c61201b7" title="Constructs an empty comment.">TiXmlComment</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>& ); -<a name="l01172"></a>01172 <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>& base ); -<a name="l01173"></a>01173 -<a name="l01174"></a>01174 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>() {} -<a name="l01175"></a>01175 -<a name="l01177"></a>01177 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlComment.html#a0d6662bdc52488b9e12b3c7a0453d028" title="Returns a copy of this Comment.">Clone</a>() <span class="keyword">const</span>; -<a name="l01178"></a>01178 <span class="comment">// Write this Comment to a FILE stream.</span> -<a name="l01179"></a>01179 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlComment.html#a6b316527aaa8da0370cd68c22a5a0f5f" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; -<a name="l01180"></a>01180 -<a name="l01181"></a>01181 <span class="comment">/* Attribtue parsing starts: at the ! of the !--</span> -<a name="l01182"></a>01182 <span class="comment"> returns: next char past '>'</span> -<a name="l01183"></a>01183 <span class="comment"> */</span> -<a name="l01184"></a>01184 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l01185"></a>01185 -<a name="l01186"></a><a class="code" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0">01186</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>* <a class="code" href="classTiXmlComment.html#a00fb4215c20a2399ea05ac9b9e7e68a0" title="Cast to a more defined type. Will return null not of the requested type.">ToComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01187"></a><a class="code" href="classTiXmlComment.html#acc7c7e07e13c23f17797d642981511df">01187</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>* <a class="code" href="classTiXmlComment.html#acc7c7e07e13c23f17797d642981511df" title="Cast to a more defined type. Will return null not of the requested type.">ToComment</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01188"></a>01188 -<a name="l01191"></a>01191 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlComment.html#af3ac1b99fbbe9ea4fb6e14146156e43e" title="Walk the XML tree visiting this node and all of its children.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; -<a name="l01192"></a>01192 -<a name="l01193"></a>01193 <span class="keyword">protected</span>: -<a name="l01194"></a>01194 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>* target ) <span class="keyword">const</span>; -<a name="l01195"></a>01195 -<a name="l01196"></a>01196 <span class="comment">// used to be public</span> -<a name="l01197"></a>01197 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01198"></a>01198 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01199"></a>01199 <span class="preprocessor"> #endif</span> -<a name="l01200"></a>01200 <span class="preprocessor"></span><span class="comment">// virtual void StreamOut( TIXML_OSTREAM * out ) const;</span> -<a name="l01201"></a>01201 -<a name="l01202"></a>01202 <span class="keyword">private</span>: -<a name="l01203"></a>01203 -<a name="l01204"></a>01204 }; -<a name="l01205"></a>01205 -<a name="l01206"></a>01206 -<a name="l01212"></a><a class="code" href="classTiXmlText.html">01212</a> <span class="keyword">class </span><a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l01213"></a>01213 { -<a name="l01214"></a>01214 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>; -<a name="l01215"></a>01215 <span class="keyword">public</span>: -<a name="l01220"></a><a class="code" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960">01220</a> <a class="code" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960" title="Constructor for text element.">TiXmlText</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * initValue ) : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> (<a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>::TINYXML_TEXT) -<a name="l01221"></a>01221 { -<a name="l01222"></a>01222 <a class="code" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90" title="Changes the value of the node.">SetValue</a>( initValue ); -<a name="l01223"></a>01223 cdata = <span class="keyword">false</span>; -<a name="l01224"></a>01224 } -<a name="l01225"></a>01225 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>() {} -<a name="l01226"></a>01226 -<a name="l01227"></a>01227 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01229"></a><a class="code" href="classTiXmlText.html#a439792f6183a3d3fb6f2bc2b16fa5691">01229</a> <span class="preprocessor"> TiXmlText( const std::string& initValue ) : TiXmlNode (TiXmlNode::TINYXML_TEXT)</span> -<a name="l01230"></a>01230 <span class="preprocessor"></span> { -<a name="l01231"></a>01231 <a class="code" href="classTiXmlNode.html#a2a38329ca5d3f28f98ce932b8299ae90" title="Changes the value of the node.">SetValue</a>( initValue ); -<a name="l01232"></a>01232 cdata = <span class="keyword">false</span>; -<a name="l01233"></a>01233 } -<a name="l01234"></a>01234 <span class="preprocessor"> #endif</span> -<a name="l01235"></a>01235 <span class="preprocessor"></span> -<a name="l01236"></a>01236 <a class="code" href="classTiXmlText.html#af659e77c6b87d684827f35a8f4895960" title="Constructor for text element.">TiXmlText</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>& copy ) : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>::TINYXML_TEXT ) { copy.CopyTo( <span class="keyword">this</span> ); } -<a name="l01237"></a>01237 <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>& base ) { base.CopyTo( <span class="keyword">this</span> ); <span class="keywordflow">return</span> *<span class="keyword">this</span>; } -<a name="l01238"></a>01238 -<a name="l01239"></a>01239 <span class="comment">// Write this text object to a FILE stream.</span> -<a name="l01240"></a>01240 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlText.html#a0cafbf6f236c7f02d12b2bffc2b7976b" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; -<a name="l01241"></a>01241 -<a name="l01243"></a><a class="code" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586">01243</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlText.html#ad1a6a6b83fa2271022dd97c072a2b586" title="Queries whether this represents text using a CDATA section.">CDATA</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> cdata; } -<a name="l01245"></a><a class="code" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9">01245</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlText.html#acb17ff7c5d09b2c839393445a3de5ea9" title="Turns on or off a CDATA representation of text.">SetCDATA</a>( <span class="keywordtype">bool</span> _cdata ) { cdata = _cdata; } -<a name="l01246"></a>01246 -<a name="l01247"></a>01247 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l01248"></a>01248 -<a name="l01249"></a><a class="code" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648">01249</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlText.html#a895bf34ffad17f7439ab2a52b9651648" title="Cast to a more defined type. Will return null not of the requested type.">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01250"></a><a class="code" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b">01250</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlText.html#ae7c3a8fd3e4dbf6c0c4363a943d72f5b" title="Cast to a more defined type. Will return null not of the requested type.">ToText</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01251"></a>01251 -<a name="l01254"></a>01254 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlText.html#a8483d4415ce9de6c4fa8f63d067d5de6" title="Walk the XML tree visiting this node and all of its children.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; -<a name="l01255"></a>01255 -<a name="l01256"></a>01256 <span class="keyword">protected</span> : -<a name="l01258"></a>01258 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlText.html#a0c411e93a27537369479d034cc82da3b" title="[internal use] Creates a new Element and returns it.">Clone</a>() <span class="keyword">const</span>; -<a name="l01259"></a>01259 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* target ) <span class="keyword">const</span>; -<a name="l01260"></a>01260 -<a name="l01261"></a>01261 <span class="keywordtype">bool</span> Blank() <span class="keyword">const</span>; <span class="comment">// returns true if all white space and new lines</span> -<a name="l01262"></a>01262 <span class="comment">// [internal use]</span> -<a name="l01263"></a>01263 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01264"></a>01264 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01265"></a>01265 <span class="preprocessor"> #endif</span> -<a name="l01266"></a>01266 <span class="preprocessor"></span> -<a name="l01267"></a>01267 <span class="keyword">private</span>: -<a name="l01268"></a>01268 <span class="keywordtype">bool</span> cdata; <span class="comment">// true if this should be input and output as a CDATA style text element</span> -<a name="l01269"></a>01269 }; -<a name="l01270"></a>01270 -<a name="l01271"></a>01271 -<a name="l01285"></a><a class="code" href="classTiXmlDeclaration.html">01285</a> <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l01286"></a>01286 { -<a name="l01287"></a>01287 <span class="keyword">public</span>: -<a name="l01289"></a><a class="code" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79">01289</a> <a class="code" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79" title="Construct an empty declaration.">TiXmlDeclaration</a>() : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>::TINYXML_DECLARATION ) {} -<a name="l01290"></a>01290 -<a name="l01291"></a>01291 <span class="preprocessor">#ifdef TIXML_USE_STL</span> -<a name="l01293"></a>01293 <span class="preprocessor"> TiXmlDeclaration( const std::string& _version,</span> -<a name="l01294"></a>01294 <span class="preprocessor"></span> <span class="keyword">const</span> std::string& _encoding, -<a name="l01295"></a>01295 <span class="keyword">const</span> std::string& _standalone ); -<a name="l01296"></a>01296 <span class="preprocessor">#endif</span> -<a name="l01297"></a>01297 <span class="preprocessor"></span> -<a name="l01299"></a>01299 <a class="code" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79" title="Construct an empty declaration.">TiXmlDeclaration</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _version, -<a name="l01300"></a>01300 <span class="keyword">const</span> <span class="keywordtype">char</span>* _encoding, -<a name="l01301"></a>01301 <span class="keyword">const</span> <span class="keywordtype">char</span>* _standalone ); -<a name="l01302"></a>01302 -<a name="l01303"></a>01303 <a class="code" href="classTiXmlDeclaration.html#aa0484d059bea0ea1acb47c9094382d79" title="Construct an empty declaration.">TiXmlDeclaration</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>& copy ); -<a name="l01304"></a>01304 <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>& copy ); -<a name="l01305"></a>01305 -<a name="l01306"></a>01306 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>() {} -<a name="l01307"></a>01307 -<a name="l01309"></a><a class="code" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76">01309</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a02ee557b1a4545c3219ed377c103ec76" title="Version. Will return an empty string if none was found.">Version</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> version.c_str (); } -<a name="l01311"></a><a class="code" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76">01311</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a5d974231f9e9a2f0542f15f3a46cdb76" title="Encoding. Will return an empty string if none was found.">Encoding</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> encoding.c_str (); } -<a name="l01313"></a><a class="code" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9">01313</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a9ff06afc033d7ef730ec7c6825b97ad9" title="Is this a standalone document?">Standalone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> standalone.c_str (); } -<a name="l01314"></a>01314 -<a name="l01316"></a>01316 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlDeclaration.html#a7cf459186040141cda7a180a6585ce2e" title="Creates a copy of this Declaration and returns it.">Clone</a>() <span class="keyword">const</span>; -<a name="l01317"></a>01317 <span class="comment">// Print this declaration to a FILE stream.</span> -<a name="l01318"></a>01318 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Print( FILE* cfile, <span class="keywordtype">int</span> depth, TIXML_STRING* str ) <span class="keyword">const</span>; -<a name="l01319"></a><a class="code" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4">01319</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDeclaration.html#abf6303db4bd05b5be554036817ff1cb4" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth )<span class="keyword"> const </span>{ -<a name="l01320"></a>01320 Print( cfile, depth, 0 ); -<a name="l01321"></a>01321 } -<a name="l01322"></a>01322 -<a name="l01323"></a>01323 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l01324"></a>01324 -<a name="l01325"></a><a class="code" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967">01325</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>* <a class="code" href="classTiXmlDeclaration.html#a1e085d3fefd1dbf5ccdbff729931a967" title="Cast to a more defined type. Will return null not of the requested type.">ToDeclaration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01326"></a><a class="code" href="classTiXmlDeclaration.html#a6bd3d1daddcaeb9543c24bfd090969ce">01326</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>* <a class="code" href="classTiXmlDeclaration.html#a6bd3d1daddcaeb9543c24bfd090969ce" title="Cast to a more defined type. Will return null not of the requested type.">ToDeclaration</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01327"></a>01327 -<a name="l01330"></a>01330 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDeclaration.html#a22315a535983b86535cdba3458669e3e" title="Walk the XML tree visiting this node and all of its children.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; -<a name="l01331"></a>01331 -<a name="l01332"></a>01332 <span class="keyword">protected</span>: -<a name="l01333"></a>01333 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>* target ) <span class="keyword">const</span>; -<a name="l01334"></a>01334 <span class="comment">// used to be public</span> -<a name="l01335"></a>01335 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01336"></a>01336 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01337"></a>01337 <span class="preprocessor"> #endif</span> -<a name="l01338"></a>01338 <span class="preprocessor"></span> -<a name="l01339"></a>01339 <span class="keyword">private</span>: -<a name="l01340"></a>01340 -<a name="l01341"></a>01341 TIXML_STRING version; -<a name="l01342"></a>01342 TIXML_STRING encoding; -<a name="l01343"></a>01343 TIXML_STRING standalone; -<a name="l01344"></a>01344 }; -<a name="l01345"></a>01345 -<a name="l01346"></a>01346 -<a name="l01354"></a><a class="code" href="classTiXmlUnknown.html">01354</a> <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l01355"></a>01355 { -<a name="l01356"></a>01356 <span class="keyword">public</span>: -<a name="l01357"></a>01357 <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>() : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( TiXmlNode::TINYXML_UNKNOWN ) {} -<a name="l01358"></a>01358 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>() {} -<a name="l01359"></a>01359 -<a name="l01360"></a>01360 <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>& copy ) : <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>( TiXmlNode::TINYXML_UNKNOWN ) { copy.CopyTo( <span class="keyword">this</span> ); } -<a name="l01361"></a>01361 <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>& copy ) { copy.CopyTo( <span class="keyword">this</span> ); <span class="keywordflow">return</span> *<span class="keyword">this</span>; } -<a name="l01362"></a>01362 -<a name="l01364"></a>01364 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlUnknown.html#a0960bb7428b3f341da46244229604d73" title="Creates a copy of this Unknown and returns it.">Clone</a>() <span class="keyword">const</span>; -<a name="l01365"></a>01365 <span class="comment">// Print this Unknown to a FILE stream.</span> -<a name="l01366"></a>01366 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlUnknown.html#a31ba089a40fb5a1869750fce09b0bacb" title="All TinyXml classes can print themselves to a filestream or the string class (TiXmlString...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; -<a name="l01367"></a>01367 -<a name="l01368"></a>01368 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); -<a name="l01369"></a>01369 -<a name="l01370"></a><a class="code" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d">01370</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlUnknown.html#ab0313e5fe77987d746ac1a97a254419d" title="Cast to a more defined type. Will return null not of the requested type.">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01371"></a><a class="code" href="classTiXmlUnknown.html#a67c9fd22940e8c47f706a72cdd2e332c">01371</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlUnknown.html#a67c9fd22940e8c47f706a72cdd2e332c" title="Cast to a more defined type. Will return null not of the requested type.">ToUnknown</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01372"></a>01372 -<a name="l01375"></a>01375 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlUnknown.html#ad7122e5135581b3c832a1a3217760a93" title="Walk the XML tree visiting this node and all of its children.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; -<a name="l01376"></a>01376 -<a name="l01377"></a>01377 <span class="keyword">protected</span>: -<a name="l01378"></a>01378 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* target ) <span class="keyword">const</span>; -<a name="l01379"></a>01379 -<a name="l01380"></a>01380 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01381"></a>01381 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01382"></a>01382 <span class="preprocessor"> #endif</span> -<a name="l01383"></a>01383 <span class="preprocessor"></span> -<a name="l01384"></a>01384 <span class="keyword">private</span>: -<a name="l01385"></a>01385 -<a name="l01386"></a>01386 }; -<a name="l01387"></a>01387 -<a name="l01388"></a>01388 -<a name="l01393"></a><a class="code" href="classTiXmlDocument.html">01393</a> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a> -<a name="l01394"></a>01394 { -<a name="l01395"></a>01395 <span class="keyword">public</span>: -<a name="l01397"></a>01397 <a class="code" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c" title="Create an empty document, that has no name.">TiXmlDocument</a>(); -<a name="l01399"></a>01399 <a class="code" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c" title="Create an empty document, that has no name.">TiXmlDocument</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * documentName ); -<a name="l01400"></a>01400 -<a name="l01401"></a>01401 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01403"></a>01403 <span class="preprocessor"> TiXmlDocument( const std::string& documentName );</span> -<a name="l01404"></a>01404 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l01405"></a>01405 <span class="preprocessor"></span> -<a name="l01406"></a>01406 <a class="code" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c" title="Create an empty document, that has no name.">TiXmlDocument</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& copy ); -<a name="l01407"></a>01407 <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& copy ); -<a name="l01408"></a>01408 -<a name="l01409"></a>01409 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>() {} -<a name="l01410"></a>01410 -<a name="l01415"></a>01415 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">LoadFile</a>( TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); -<a name="l01417"></a>01417 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93" title="Save a file using the current document value. Returns true if successful.">SaveFile</a>() <span class="keyword">const</span>; -<a name="l01419"></a>01419 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">LoadFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); -<a name="l01421"></a>01421 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93" title="Save a file using the current document value. Returns true if successful.">SaveFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename ) <span class="keyword">const</span>; -<a name="l01427"></a>01427 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">LoadFile</a>( FILE*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); -<a name="l01429"></a>01429 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93" title="Save a file using the current document value. Returns true if successful.">SaveFile</a>( FILE* ) <span class="keyword">const</span>; -<a name="l01430"></a>01430 -<a name="l01431"></a>01431 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01432"></a><a class="code" href="classTiXmlDocument.html#a18ae6ed34fed7991ebc220862dfac884">01432</a> <span class="preprocessor"></span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">LoadFile</a>( <span class="keyword">const</span> std::string& filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ) -<a name="l01433"></a>01433 { -<a name="l01434"></a>01434 <span class="keywordflow">return</span> <a class="code" href="classTiXmlDocument.html#a4c852a889c02cf251117fd1d9fe1845f" title="Load a file using the current document value.">LoadFile</a>( filename.c_str(), encoding ); -<a name="l01435"></a>01435 } -<a name="l01436"></a><a class="code" href="classTiXmlDocument.html#a3d4fae0463f3f03679ba0b7cf6f2df52">01436</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93" title="Save a file using the current document value. Returns true if successful.">SaveFile</a>( <span class="keyword">const</span> std::string& filename ) <span class="keyword">const</span> -<a name="l01437"></a>01437 { -<a name="l01438"></a>01438 <span class="keywordflow">return</span> <a class="code" href="classTiXmlDocument.html#a21c0aeb0d0a720169ad4ac89523ebe93" title="Save a file using the current document value. Returns true if successful.">SaveFile</a>( filename.c_str() ); -<a name="l01439"></a>01439 } -<a name="l01440"></a>01440 <span class="preprocessor"> #endif</span> -<a name="l01441"></a>01441 <span class="preprocessor"></span> -<a name="l01446"></a>01446 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#a17ebabe36926ef398e78dec0d0ad0378" title="Parse the given null terminated block of xml data.">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data = 0, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); -<a name="l01447"></a>01447 -<a name="l01452"></a><a class="code" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be">01452</a> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be" title="Get the root element -- the only top level element -- of the document.">RootElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>(); } -<a name="l01453"></a>01453 <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlDocument.html#ad09d17927f908f40efb406af2fb873be" title="Get the root element -- the only top level element -- of the document.">RootElement</a>() { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#af4fb652f6bd79ae0d5ce7d0f7d3c0fba" title="Convenience function to get through elements.">FirstChildElement</a>(); } -<a name="l01454"></a>01454 -<a name="l01460"></a><a class="code" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29">01460</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a6dfc01a6e5d58e56acd537dfd3bdeb29" title="If an error occurs, Error will be set to true.">Error</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> error; } -<a name="l01461"></a>01461 -<a name="l01463"></a><a class="code" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e">01463</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTiXmlDocument.html#a9d0f689f6e09ea494ea547be8d79c25e" title="Contains a textual (english) description of the error if one occurs.">ErrorDesc</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorDesc.c_str (); } -<a name="l01464"></a>01464 -<a name="l01468"></a><a class="code" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f">01468</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#af96fc2f3f9ec6422782bfe916c9e778f" title="Generally, you probably want the error string ( ErrorDesc() ).">ErrorId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorId; } -<a name="l01469"></a>01469 -<a name="l01477"></a><a class="code" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e">01477</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#af30efc75e804aa2e92fb8be3a8cb676e" title="Returns the location (if known) of the error.">ErrorRow</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorLocation.row+1; } -<a name="l01478"></a><a class="code" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649">01478</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#aa90bc630ee5203c6109ca5fad3323649" title="The column where the error occured. See ErrorRow().">ErrorCol</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorLocation.col+1; } -<a name="l01479"></a>01479 -<a name="l01504"></a><a class="code" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e">01504</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#a51dac56316f89b35bdb7d0d433ba988e" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to...">SetTabSize</a>( <span class="keywordtype">int</span> _tabsize ) { tabsize = _tabsize; } -<a name="l01505"></a>01505 -<a name="l01506"></a>01506 <span class="keywordtype">int</span> TabSize()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> tabsize; } -<a name="l01507"></a>01507 -<a name="l01511"></a><a class="code" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35">01511</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#ac66b8c28db86363315712a3574e87c35" title="If you have handled the error, it can be reset with this call.">ClearError</a>() { error = <span class="keyword">false</span>; -<a name="l01512"></a>01512 errorId = 0; -<a name="l01513"></a>01513 errorDesc = <span class="stringliteral">""</span>; -<a name="l01514"></a>01514 errorLocation.row = errorLocation.col = 0; -<a name="l01515"></a>01515 <span class="comment">//errorLocation.last = 0; </span> -<a name="l01516"></a>01516 } -<a name="l01517"></a>01517 -<a name="l01519"></a><a class="code" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510">01519</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510" title="Write the document to standard out using formatted printing (&quot;pretty print&quot;)...">Print</a>()<span class="keyword"> const </span>{ <a class="code" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510" title="Write the document to standard out using formatted printing (&quot;pretty print&quot;)...">Print</a>( stdout, 0 ); } -<a name="l01520"></a>01520 -<a name="l01521"></a>01521 <span class="comment">/* Write the document to a string using formatted printing ("pretty print"). This</span> -<a name="l01522"></a>01522 <span class="comment"> will allocate a character array (new char[]) and return it as a pointer. The</span> -<a name="l01523"></a>01523 <span class="comment"> calling code pust call delete[] on the return char* to avoid a memory leak.</span> -<a name="l01524"></a>01524 <span class="comment"> */</span> -<a name="l01525"></a>01525 <span class="comment">//char* PrintToMemory() const; </span> -<a name="l01526"></a>01526 -<a name="l01528"></a>01528 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#af08389ec70ee9b2de7f800e206a18510" title="Write the document to standard out using formatted printing (&quot;pretty print&quot;)...">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth = 0 ) <span class="keyword">const</span>; -<a name="l01529"></a>01529 <span class="comment">// [internal use]</span> -<a name="l01530"></a>01530 <span class="keywordtype">void</span> SetError( <span class="keywordtype">int</span> err, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorLocation, TiXmlParsingData* prevData, TiXmlEncoding encoding ); -<a name="l01531"></a>01531 -<a name="l01532"></a><a class="code" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4">01532</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlDocument.html#a1dc977bde3e4fe85a8eb9d88a35ef5a4" title="Cast to a more defined type. Will return null not of the requested type.">ToDocument</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01533"></a><a class="code" href="classTiXmlDocument.html#a1025d942a1f328fd742d545e37efdd42">01533</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* <a class="code" href="classTiXmlDocument.html#a1025d942a1f328fd742d545e37efdd42" title="Cast to a more defined type. Will return null not of the requested type.">ToDocument</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } -<a name="l01534"></a>01534 -<a name="l01537"></a>01537 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#aa545aae325d9752ad64120bc4ecf939a" title="Walk the XML tree visiting this node and all of its children.">Accept</a>( <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; -<a name="l01538"></a>01538 -<a name="l01539"></a>01539 <span class="keyword">protected</span> : -<a name="l01540"></a>01540 <span class="comment">// [internal use]</span> -<a name="l01541"></a>01541 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlDocument.html#a4968661cab4a1f44a23329c6f8db1907" title="Create an exact duplicate of this node and return it.">Clone</a>() <span class="keyword">const</span>; -<a name="l01542"></a>01542 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01543"></a>01543 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); -<a name="l01544"></a>01544 <span class="preprocessor"> #endif</span> -<a name="l01545"></a>01545 <span class="preprocessor"></span> -<a name="l01546"></a>01546 <span class="keyword">private</span>: -<a name="l01547"></a>01547 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>* target ) <span class="keyword">const</span>; -<a name="l01548"></a>01548 -<a name="l01549"></a>01549 <span class="keywordtype">bool</span> error; -<a name="l01550"></a>01550 <span class="keywordtype">int</span> errorId; -<a name="l01551"></a>01551 TIXML_STRING errorDesc; -<a name="l01552"></a>01552 <span class="keywordtype">int</span> tabsize; -<a name="l01553"></a>01553 TiXmlCursor errorLocation; -<a name="l01554"></a>01554 <span class="keywordtype">bool</span> useMicrosoftBOM; <span class="comment">// the UTF-8 BOM were found when read. Note this, and try to write.</span> -<a name="l01555"></a>01555 }; -<a name="l01556"></a>01556 -<a name="l01557"></a>01557 -<a name="l01638"></a><a class="code" href="classTiXmlHandle.html">01638</a> <span class="keyword">class </span><a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> -<a name="l01639"></a>01639 { -<a name="l01640"></a>01640 <span class="keyword">public</span>: -<a name="l01642"></a><a class="code" href="classTiXmlHandle.html#aba18fd7bdefb942ecdea4bf4b8e29ec8">01642</a> <a class="code" href="classTiXmlHandle.html#aba18fd7bdefb942ecdea4bf4b8e29ec8" title="Create a handle from any node (at any depth of the tree.) This can be a null pointer...">TiXmlHandle</a>( <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* _node ) { this->node = _node; } -<a name="l01644"></a><a class="code" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7">01644</a> <a class="code" href="classTiXmlHandle.html#a236d7855e1e56ccc7b980630c48c7fd7" title="Copy constructor.">TiXmlHandle</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a>& ref ) { this->node = ref.node; } -<a name="l01645"></a>01645 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a>& ref ) { <span class="keywordflow">if</span> ( &ref != <span class="keyword">this</span> ) this->node = ref.node; <span class="keywordflow">return</span> *<span class="keyword">this</span>; } -<a name="l01646"></a>01646 -<a name="l01648"></a>01648 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139" title="Return a handle to the first child node.">FirstChild</a>() <span class="keyword">const</span>; -<a name="l01650"></a>01650 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139" title="Return a handle to the first child node.">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; -<a name="l01652"></a>01652 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a" title="Return a handle to the first child element.">FirstChildElement</a>() <span class="keyword">const</span>; -<a name="l01654"></a>01654 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a" title="Return a handle to the first child element.">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; -<a name="l01655"></a>01655 -<a name="l01659"></a>01659 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4" title="Return a handle to the &quot;index&quot; child with the given name.">Child</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; -<a name="l01663"></a>01663 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4" title="Return a handle to the &quot;index&quot; child with the given name.">Child</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; -<a name="l01668"></a>01668 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d" title="Return a handle to the &quot;index&quot; child element with the given name.">ChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; -<a name="l01673"></a>01673 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d" title="Return a handle to the &quot;index&quot; child element with the given name.">ChildElement</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; -<a name="l01674"></a>01674 -<a name="l01675"></a>01675 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01676"></a>01676 <span class="preprocessor"></span> <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139" title="Return a handle to the first child node.">FirstChild</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#acdb1faaf88a700b40ca2c8d9aee21139" title="Return a handle to the first child node.">FirstChild</a>( _value.c_str() ); } -<a name="l01677"></a>01677 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a" title="Return a handle to the first child element.">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a24d1112e995e937e4dddb202d4113d4a" title="Return a handle to the first child element.">FirstChildElement</a>( _value.c_str() ); } -<a name="l01678"></a>01678 -<a name="l01679"></a>01679 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4" title="Return a handle to the &quot;index&quot; child with the given name.">Child</a>( <span class="keyword">const</span> std::string& _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a072492b4be1acdb0db2d03cd8f71ccc4" title="Return a handle to the &quot;index&quot; child with the given name.">Child</a>( _value.c_str(), index ); } -<a name="l01680"></a>01680 <a class="code" href="classTiXmlHandle.html" title="A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly...">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d" title="Return a handle to the &quot;index&quot; child element with the given name.">ChildElement</a>( <span class="keyword">const</span> std::string& _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a979a3f850984a176ee884e394c7eed2d" title="Return a handle to the &quot;index&quot; child element with the given name.">ChildElement</a>( _value.c_str(), index ); } -<a name="l01681"></a>01681 <span class="preprocessor"> #endif</span> -<a name="l01682"></a>01682 <span class="preprocessor"></span> -<a name="l01685"></a><a class="code" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3">01685</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3" title="Return the handle as a TiXmlNode.">ToNode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> node; } -<a name="l01688"></a><a class="code" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e">01688</a> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e" title="Return the handle as a TiXmlElement.">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); } -<a name="l01691"></a><a class="code" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586">01691</a> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586" title="Return the handle as a TiXmlText.">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node && node->ToText() ) ? node->ToText() : 0 ); } -<a name="l01694"></a><a class="code" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674">01694</a> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674" title="Return the handle as a TiXmlUnknown.">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); } -<a name="l01695"></a>01695 -<a name="l01699"></a><a class="code" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">01699</a> <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* <a class="code" href="classTiXmlHandle.html#ab44b723a8dc9af72838a303c079d0376">Node</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#af678e5088e83be67baf76f699756f2c3" title="Return the handle as a TiXmlNode.">ToNode</a>(); } -<a name="l01703"></a><a class="code" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">01703</a> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>* <a class="code" href="classTiXmlHandle.html#acb5fe8388a526289ea65e817a51e05e7">Element</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#abc6e7ed383a5fe1e52b0c0004b457b9e" title="Return the handle as a TiXmlElement.">ToElement</a>(); } -<a name="l01707"></a><a class="code" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">01707</a> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>* <a class="code" href="classTiXmlHandle.html#a9fc739c8a18d160006f82572fc143d13">Text</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a4ac53a652296203a5b5e13854d923586" title="Return the handle as a TiXmlText.">ToText</a>(); } -<a name="l01711"></a><a class="code" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">01711</a> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>* <a class="code" href="classTiXmlHandle.html#a49675b74357ba2aae124657a9a1ef465">Unknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a1381c17507a130767b1e23afc93b3674" title="Return the handle as a TiXmlUnknown.">ToUnknown</a>(); } -<a name="l01712"></a>01712 -<a name="l01713"></a>01713 <span class="keyword">private</span>: -<a name="l01714"></a>01714 <a class="code" href="classTiXmlNode.html" title="The parent class for everything in the Document Object Model.">TiXmlNode</a>* node; -<a name="l01715"></a>01715 }; -<a name="l01716"></a>01716 -<a name="l01717"></a>01717 -<a name="l01737"></a><a class="code" href="classTiXmlPrinter.html">01737</a> <span class="keyword">class </span><a class="code" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlVisitor.html" title="Implements the interface to the &quot;Visitor pattern&quot; (see the Accept() method...">TiXmlVisitor</a> -<a name="l01738"></a>01738 { -<a name="l01739"></a>01739 <span class="keyword">public</span>: -<a name="l01740"></a>01740 <a class="code" href="classTiXmlPrinter.html" title="Print to memory functionality.">TiXmlPrinter</a>() : depth( 0 ), simpleTextPrint( <span class="keyword">false</span> ), -<a name="l01741"></a>01741 buffer(), indent( <span class="stringliteral">" "</span> ), lineBreak( <span class="stringliteral">"\n"</span> ) {} -<a name="l01742"></a>01742 -<a name="l01743"></a>01743 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#a799f4f0388570cbb54c0d3c345fef7c1" title="Visit a document.">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& doc ); -<a name="l01744"></a>01744 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2" title="Visit a document.">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html" title="Always the top level node.">TiXmlDocument</a>& doc ); -<a name="l01745"></a>01745 -<a name="l01746"></a>01746 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#a799f4f0388570cbb54c0d3c345fef7c1" title="Visit a document.">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& element, <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a>* firstAttribute ); -<a name="l01747"></a>01747 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#a66b33edd76c538b462f789b797a4fdf2" title="Visit a document.">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html" title="The element is a container class.">TiXmlElement</a>& element ); -<a name="l01748"></a>01748 -<a name="l01749"></a>01749 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38" title="Visit a declaration.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html" title="In correct XML the declaration is the first entry in the file.">TiXmlDeclaration</a>& declaration ); -<a name="l01750"></a>01750 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38" title="Visit a declaration.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html" title="XML text.">TiXmlText</a>& text ); -<a name="l01751"></a>01751 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38" title="Visit a declaration.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html" title="An XML comment.">TiXmlComment</a>& comment ); -<a name="l01752"></a>01752 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ace1b14d33eede2575c0743e2350f6a38" title="Visit a declaration.">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown.">TiXmlUnknown</a>& unknown ); -<a name="l01753"></a>01753 -<a name="l01757"></a><a class="code" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e">01757</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#a213377a4070c7e625bae59716b089e5e" title="Set the indent characters for printing.">SetIndent</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _indent ) { indent = _indent ? _indent : <span class="stringliteral">""</span> ; } -<a name="l01759"></a><a class="code" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d">01759</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#abb33ec7d4bad6aaeb57f4304394b133d" title="Query the indention string.">Indent</a>() { <span class="keywordflow">return</span> indent.c_str(); } -<a name="l01764"></a><a class="code" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6">01764</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#a4be1e37e69e3858c59635aa947174fe6" title="Set the line breaking string.">SetLineBreak</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _lineBreak ) { lineBreak = _lineBreak ? _lineBreak : <span class="stringliteral">""</span>; } -<a name="l01766"></a><a class="code" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d">01766</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#a11f1b4804a460b175ec244eb5724d96d" title="Query the current line breaking string.">LineBreak</a>() { <span class="keywordflow">return</span> lineBreak.c_str(); } -<a name="l01767"></a>01767 -<a name="l01771"></a><a class="code" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19">01771</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#ab23a90629e374cb1cadca090468bbd19" title="Switch over to &quot;stream printing&quot; which is the most dense formatting without...">SetStreamPrinting</a>() { indent = <span class="stringliteral">""</span>; -<a name="l01772"></a>01772 lineBreak = <span class="stringliteral">""</span>; -<a name="l01773"></a>01773 } -<a name="l01775"></a><a class="code" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e">01775</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#a859eede9597d3e0355b77757be48735e" title="Return the result.">CStr</a>() { <span class="keywordflow">return</span> buffer.c_str(); } -<a name="l01777"></a><a class="code" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d">01777</a> <span class="keywordtype">size_t</span> <a class="code" href="classTiXmlPrinter.html#ad01375ae9199bd2f48252eaddce3039d" title="Return the length of the result string.">Size</a>() { <span class="keywordflow">return</span> buffer.size(); } -<a name="l01778"></a>01778 -<a name="l01779"></a>01779 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> -<a name="l01781"></a><a class="code" href="classTiXmlPrinter.html#a3bd4daf44309b41f5813a833caa0d1c9">01781</a> <span class="preprocessor"> const std::string& Str() { return buffer; }</span> -<a name="l01782"></a>01782 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> -<a name="l01783"></a>01783 <span class="preprocessor"></span> -<a name="l01784"></a>01784 <span class="keyword">private</span>: -<a name="l01785"></a>01785 <span class="keywordtype">void</span> DoIndent() { -<a name="l01786"></a>01786 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i<depth; ++i ) -<a name="l01787"></a>01787 buffer += indent; -<a name="l01788"></a>01788 } -<a name="l01789"></a>01789 <span class="keywordtype">void</span> DoLineBreak() { -<a name="l01790"></a>01790 buffer += lineBreak; -<a name="l01791"></a>01791 } -<a name="l01792"></a>01792 -<a name="l01793"></a>01793 <span class="keywordtype">int</span> depth; -<a name="l01794"></a>01794 <span class="keywordtype">bool</span> simpleTextPrint; -<a name="l01795"></a>01795 TIXML_STRING buffer; -<a name="l01796"></a>01796 TIXML_STRING indent; -<a name="l01797"></a>01797 TIXML_STRING lineBreak; -<a name="l01798"></a>01798 }; -<a name="l01799"></a>01799 -<a name="l01800"></a>01800 -<a name="l01801"></a>01801 <span class="preprocessor">#ifdef _MSC_VER</span> -<a name="l01802"></a>01802 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( pop )</span> -<a name="l01803"></a>01803 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l01804"></a>01804 <span class="preprocessor"></span> -<a name="l01805"></a>01805 <span class="preprocessor">#endif</span> -</pre></div></div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/docs/tutorial0.html b/shared/tinyxml/docs/tutorial0.html deleted file mode 100644 index f974f859..00000000 --- a/shared/tinyxml/docs/tutorial0.html +++ /dev/null @@ -1,720 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<title>TinyXml: TinyXML Tutorial</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<!-- Generated by Doxygen 1.6.2 --> -<div class="navigation" id="top"> - <div class="tabs"> - <ul> - <li><a href="index.html"><span>Main Page</span></a></li> - <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> - <li><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="files.html"><span>Files</span></a></li> - </ul> - </div> - <div class="navpath"><a class="el" href="index.html">index</a> - </div> -</div> -<div class="contents"> - - -<h1><a class="anchor" id="tutorial0">TinyXML Tutorial </a></h1><h1>What is this? </h1> -<p>This tutorial has a few tips and suggestions on how to use TinyXML effectively.</p> -<p>I've also tried to include some C++ tips like how to convert strings to integers and vice versa. This isn't anything to do with TinyXML itself, but it may helpful for your project so I've put it in anyway.</p> -<p>If you don't know basic C++ concepts this tutorial won't be useful. Likewise if you don't know what a DOM is, look elsewhere first.</p> -<h1>Before we start </h1> -<p>Some example XML datasets/files will be used.</p> -<p>example1.xml:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<Hello>World</Hello> -</pre></div><p>example2.xml:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<poetry> - <verse> - Alas - Great World - Alas (again) - </verse> -</poetry> -</pre></div><p>example3.xml:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<shapes> - <circle name="int-based" x="20" y="30" r="50" /> - <point name="float-based" x="3.5" y="52.1" /> -</shapes> -</pre></div><p>example4.xml</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<MyApp> - <!-- Settings for MyApp --> - <Messages> - <Welcome>Welcome to MyApp</Welcome> - <Farewell>Thank you for using MyApp</Farewell> - </Messages> - <Windows> - <Window name="MainFrame" x="5" y="15" w="400" h="250" /> - </Windows> - <Connection ip="192.168.0.1" timeout="123.456000" /> -</MyApp> -</pre></div><h1>Getting Started </h1> -<h2>Load XML from a file </h2> -<p>The simplest way to load a file into a TinyXML DOM is:</p> -<div class="fragment"><pre class="fragment"> -TiXmlDocument doc( "demo.xml" ); -doc.LoadFile(); -</pre></div><p>A more real-world usage is shown below. This will load the file and display the contents to STDOUT:</p> -<div class="fragment"><pre class="fragment"> -// load the named file and dump its structure to STDOUT -void dump_to_stdout(const char* pFilename) -{ - TiXmlDocument doc(pFilename); - bool loadOkay = doc.LoadFile(); - if (loadOkay) - { - printf("\n%s:\n", pFilename); - dump_to_stdout( &doc ); // defined later in the tutorial - } - else - { - printf("Failed to load file \"%s\"\n", pFilename); - } -} -</pre></div><p>A simple demonstration of this function is to use a main like this:</p> -<div class="fragment"><pre class="fragment"> -int main(void) -{ - dump_to_stdout("example1.xml"); - return 0; -} -</pre></div><p>Recall that Example 1 XML is:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<Hello>World</Hello> -</pre></div><p>Running the program with this XML will display this in the console/DOS window:</p> -<div class="fragment"><pre class="fragment"> -DOCUMENT -+ DECLARATION -+ ELEMENT Hello - + TEXT[World] -</pre></div><p>The ``dump_to_stdout`` function is defined later in this tutorial and is useful if you want to understand recursive traversal of a DOM.</p> -<h2>Building Documents Programatically </h2> -<p>This is how to build Example 1 pragmatically:</p> -<div class="fragment"><pre class="fragment"> -void build_simple_doc( ) -{ - // Make xml: <?xml ..><Hello>World</Hello> - TiXmlDocument doc; - TiXmlDeclaration * decl = new TiXmlDeclaration( "1.0", "", "" ); - TiXmlElement * element = new TiXmlElement( "Hello" ); - TiXmlText * text = new TiXmlText( "World" ); - element->LinkEndChild( text ); - doc.LinkEndChild( decl ); - doc.LinkEndChild( element ); - doc.SaveFile( "madeByHand.xml" ); -} -</pre></div><p>This can be loaded and displayed on the console with:</p> -<div class="fragment"><pre class="fragment"> -dump_to_stdout("madeByHand.xml"); // this func defined later in the tutorial -</pre></div><p>and you'll see it is identical to Example 1:</p> -<div class="fragment"><pre class="fragment"> -madeByHand.xml: -Document -+ Declaration -+ Element [Hello] - + Text: [World] -</pre></div><p>This code produces exactly the same XML DOM but it shows a different ordering to node creation and linking:</p> -<div class="fragment"><pre class="fragment"> -void write_simple_doc2( ) -{ - // same as write_simple_doc1 but add each node - // as early as possible into the tree. - - TiXmlDocument doc; - TiXmlDeclaration * decl = new TiXmlDeclaration( "1.0", "", "" ); - doc.LinkEndChild( decl ); - - TiXmlElement * element = new TiXmlElement( "Hello" ); - doc.LinkEndChild( element ); - - TiXmlText * text = new TiXmlText( "World" ); - element->LinkEndChild( text ); - - doc.SaveFile( "madeByHand2.xml" ); -} -</pre></div><p>Both of these produce the same XML, namely:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<Hello>World</Hello> -</pre></div><p>Or in structure form:</p> -<div class="fragment"><pre class="fragment"> -DOCUMENT -+ DECLARATION -+ ELEMENT Hello - + TEXT[World] -</pre></div><h2>Attributes </h2> -<p>Given an existing node, settings attributes is easy:</p> -<div class="fragment"><pre class="fragment"> -window = new TiXmlElement( "Demo" ); -window->SetAttribute("name", "Circle"); -window->SetAttribute("x", 5); -window->SetAttribute("y", 15); -window->SetDoubleAttribute("radius", 3.14159); -</pre></div><p>You can it also work with the <a class="el" href="classTiXmlAttribute.html" title="An attribute is a name-value pair.">TiXmlAttribute</a> objects if you want.</p> -<p>The following code shows one way (not the only way) to get all attributes of an element, print the name and string value, and if the value can be converted to an integer or double, print that value too:</p> -<div class="fragment"><pre class="fragment"> -// print all attributes of pElement. -// returns the number of attributes printed -int dump_attribs_to_stdout(TiXmlElement* pElement, unsigned int indent) -{ - if ( !pElement ) return 0; - - TiXmlAttribute* pAttrib=pElement->FirstAttribute(); - int i=0; - int ival; - double dval; - const char* pIndent=getIndent(indent); - printf("\n"); - while (pAttrib) - { - printf( "%s%s: value=[%s]", pIndent, pAttrib->Name(), pAttrib->Value()); - - if (pAttrib->QueryIntValue(&ival)==TIXML_SUCCESS) printf( " int=%d", ival); - if (pAttrib->QueryDoubleValue(&dval)==TIXML_SUCCESS) printf( " d=%1.1f", dval); - printf( "\n" ); - i++; - pAttrib=pAttrib->Next(); - } - return i; -} -</pre></div><h2>Writing a document to a file </h2> -<p>Writing a pre-built DOM to a file is trivial:</p> -<div class="fragment"><pre class="fragment"> -doc.SaveFile( saveFilename ); -</pre></div><p>Recall, for example, example 4:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<MyApp> - <!-- Settings for MyApp --> - <Messages> - <Welcome>Welcome to MyApp</Welcome> - <Farewell>Thank you for using MyApp</Farewell> - </Messages> - <Windows> - <Window name="MainFrame" x="5" y="15" w="400" h="250" /> - </Windows> - <Connection ip="192.168.0.1" timeout="123.456000" /> -</MyApp> -</pre></div><p>The following function builds this DOM and writes the file "appsettings.xml":</p> -<div class="fragment"><pre class="fragment"> -void write_app_settings_doc( ) -{ - TiXmlDocument doc; - TiXmlElement* msg; - TiXmlDeclaration* decl = new TiXmlDeclaration( "1.0", "", "" ); - doc.LinkEndChild( decl ); - - TiXmlElement * root = new TiXmlElement( "MyApp" ); - doc.LinkEndChild( root ); - - TiXmlComment * comment = new TiXmlComment(); - comment->SetValue(" Settings for MyApp " ); - root->LinkEndChild( comment ); - - TiXmlElement * msgs = new TiXmlElement( "Messages" ); - root->LinkEndChild( msgs ); - - msg = new TiXmlElement( "Welcome" ); - msg->LinkEndChild( new TiXmlText( "Welcome to MyApp" )); - msgs->LinkEndChild( msg ); - - msg = new TiXmlElement( "Farewell" ); - msg->LinkEndChild( new TiXmlText( "Thank you for using MyApp" )); - msgs->LinkEndChild( msg ); - - TiXmlElement * windows = new TiXmlElement( "Windows" ); - root->LinkEndChild( windows ); - - TiXmlElement * window; - window = new TiXmlElement( "Window" ); - windows->LinkEndChild( window ); - window->SetAttribute("name", "MainFrame"); - window->SetAttribute("x", 5); - window->SetAttribute("y", 15); - window->SetAttribute("w", 400); - window->SetAttribute("h", 250); - - TiXmlElement * cxn = new TiXmlElement( "Connection" ); - root->LinkEndChild( cxn ); - cxn->SetAttribute("ip", "192.168.0.1"); - cxn->SetDoubleAttribute("timeout", 123.456); // floating point attrib - - dump_to_stdout( &doc ); - doc.SaveFile( "appsettings.xml" ); -} -</pre></div><p>The dump_to_stdout function will show this structure:</p> -<div class="fragment"><pre class="fragment"> -Document -+ Declaration -+ Element [MyApp] - (No attributes) - + Comment: [ Settings for MyApp ] - + Element [Messages] - (No attributes) - + Element [Welcome] - (No attributes) - + Text: [Welcome to MyApp] - + Element [Farewell] - (No attributes) - + Text: [Thank you for using MyApp] - + Element [Windows] - (No attributes) - + Element [Window] - + name: value=[MainFrame] - + x: value=[5] int=5 d=5.0 - + y: value=[15] int=15 d=15.0 - + w: value=[400] int=400 d=400.0 - + h: value=[250] int=250 d=250.0 - 5 attributes - + Element [Connection] - + ip: value=[192.168.0.1] int=192 d=192.2 - + timeout: value=[123.456000] int=123 d=123.5 - 2 attributes -</pre></div><p>I was surprised that TinyXml, by default, writes the XML in what other APIs call a "pretty" format - it modifies the whitespace of text of elements that contain other nodes so that writing the tree includes an indication of nesting level.</p> -<p>I haven't looked yet to see if there is a way to turn off indenting when writing a file - its bound to be easy.</p> -<p>[Lee: It's easy in STL mode, just use cout << myDoc. Non-STL mode is always in "pretty" format. Adding a switch would be a nice feature and has been requested.]</p> -<h1>XML to/from C++ objects </h1> -<h2>Intro </h2> -<p>This example assumes you're loading and saving your app settings in an XML file, e.g. something like example4.xml.</p> -<p>There are a number of ways to do this. For example, look into the TinyBind project at <a href="http://sourceforge.net/projects/tinybind">http://sourceforge.net/projects/tinybind</a></p> -<p>This section shows a plain-old approach to loading and saving a basic object structure using XML.</p> -<h2>Set up your object classes </h2> -<p>Start off with some basic classes like these:</p> -<div class="fragment"><pre class="fragment"> -#include <string> -#include <map> -using namespace std; - -typedef std::map<std::string,std::string> MessageMap; - -// a basic window abstraction - demo purposes only -class WindowSettings -{ -public: - int x,y,w,h; - string name; - - WindowSettings() - : x(0), y(0), w(100), h(100), name("Untitled") - { - } - - WindowSettings(int x, int y, int w, int h, const string& name) - { - this->x=x; - this->y=y; - this->w=w; - this->h=h; - this->name=name; - } -}; - -class ConnectionSettings -{ -public: - string ip; - double timeout; -}; - -class AppSettings -{ -public: - string m_name; - MessageMap m_messages; - list<WindowSettings> m_windows; - ConnectionSettings m_connection; - - AppSettings() {} - - void save(const char* pFilename); - void load(const char* pFilename); - - // just to show how to do it - void setDemoValues() - { - m_name="MyApp"; - m_messages.clear(); - m_messages["Welcome"]="Welcome to "+m_name; - m_messages["Farewell"]="Thank you for using "+m_name; - m_windows.clear(); - m_windows.push_back(WindowSettings(15,15,400,250,"Main")); - m_connection.ip="Unknown"; - m_connection.timeout=123.456; - } -}; -</pre></div><p>This is a basic main() that shows how to create a default settings object tree, save it and load it again:</p> -<div class="fragment"><pre class="fragment"> -int main(void) -{ - AppSettings settings; - - settings.save("appsettings2.xml"); - settings.load("appsettings2.xml"); - return 0; -} -</pre></div><p>The following main() shows creation, modification, saving and then loading of a settings structure:</p> -<div class="fragment"><pre class="fragment"> -int main(void) -{ - // block: customise and save settings - { - AppSettings settings; - settings.m_name="HitchHikerApp"; - settings.m_messages["Welcome"]="Don't Panic"; - settings.m_messages["Farewell"]="Thanks for all the fish"; - settings.m_windows.push_back(WindowSettings(15,25,300,250,"BookFrame")); - settings.m_connection.ip="192.168.0.77"; - settings.m_connection.timeout=42.0; - - settings.save("appsettings2.xml"); - } - - // block: load settings - { - AppSettings settings; - settings.load("appsettings2.xml"); - printf("%s: %s\n", settings.m_name.c_str(), - settings.m_messages["Welcome"].c_str()); - WindowSettings & w=settings.m_windows.front(); - printf("%s: Show window '%s' at %d,%d (%d x %d)\n", - settings.m_name.c_str(), w.name.c_str(), w.x, w.y, w.w, w.h); - printf("%s: %s\n", settings.m_name.c_str(), settings.m_messages["Farewell"].c_str()); - } - return 0; -} -</pre></div><p>When the save() and load() are completed (see below), running this main() displays on the console:</p> -<div class="fragment"><pre class="fragment"> -HitchHikerApp: Don't Panic -HitchHikerApp: Show window 'BookFrame' at 15,25 (300 x 100) -HitchHikerApp: Thanks for all the fish -</pre></div><h2>Encode C++ state as XML </h2> -<p>There are lots of different ways to approach saving this to a file. Here's one:</p> -<div class="fragment"><pre class="fragment"> -void AppSettings::save(const char* pFilename) -{ - TiXmlDocument doc; - TiXmlElement* msg; - TiXmlComment * comment; - string s; - TiXmlDeclaration* decl = new TiXmlDeclaration( "1.0", "", "" ); - doc.LinkEndChild( decl ); - - TiXmlElement * root = new TiXmlElement(m_name.c_str()); - doc.LinkEndChild( root ); - - comment = new TiXmlComment(); - s=" Settings for "+m_name+" "; - comment->SetValue(s.c_str()); - root->LinkEndChild( comment ); - - // block: messages - { - MessageMap::iterator iter; - - TiXmlElement * msgs = new TiXmlElement( "Messages" ); - root->LinkEndChild( msgs ); - - for (iter=m_messages.begin(); iter != m_messages.end(); iter++) - { - const string & key=(*iter).first; - const string & value=(*iter).second; - msg = new TiXmlElement(key.c_str()); - msg->LinkEndChild( new TiXmlText(value.c_str())); - msgs->LinkEndChild( msg ); - } - } - - // block: windows - { - TiXmlElement * windowsNode = new TiXmlElement( "Windows" ); - root->LinkEndChild( windowsNode ); - - list<WindowSettings>::iterator iter; - - for (iter=m_windows.begin(); iter != m_windows.end(); iter++) - { - const WindowSettings& w=*iter; - - TiXmlElement * window; - window = new TiXmlElement( "Window" ); - windowsNode->LinkEndChild( window ); - window->SetAttribute("name", w.name.c_str()); - window->SetAttribute("x", w.x); - window->SetAttribute("y", w.y); - window->SetAttribute("w", w.w); - window->SetAttribute("h", w.h); - } - } - - // block: connection - { - TiXmlElement * cxn = new TiXmlElement( "Connection" ); - root->LinkEndChild( cxn ); - cxn->SetAttribute("ip", m_connection.ip.c_str()); - cxn->SetDoubleAttribute("timeout", m_connection.timeout); - } - - doc.SaveFile(pFilename); -} -</pre></div><p>Running this with the modified main produces this file:</p> -<div class="fragment"><pre class="fragment"> -<?xml version="1.0" ?> -<HitchHikerApp> - <!-- Settings for HitchHikerApp --> - <Messages> - <Farewell>Thanks for all the fish</Farewell> - <Welcome>Don&apos;t Panic</Welcome> - </Messages> - <Windows> - <Window name="BookFrame" x="15" y="25" w="300" h="250" /> - </Windows> - <Connection ip="192.168.0.77" timeout="42.000000" /> -</HitchHikerApp> -</pre></div><h2>Decoding state from XML </h2> -<p>As with encoding objects, there are a number of approaches to decoding XML into your own C++ object structure. The following approach uses TiXmlHandles.</p> -<div class="fragment"><pre class="fragment"> -void AppSettings::load(const char* pFilename) -{ - TiXmlDocument doc(pFilename); - if (!doc.LoadFile()) return; - - TiXmlHandle hDoc(&doc); - TiXmlElement* pElem; - TiXmlHandle hRoot(0); - - // block: name - { - pElem=hDoc.FirstChildElement().Element(); - // should always have a valid root but handle gracefully if it does - if (!pElem) return; - m_name=pElem->Value(); - - // save this for later - hRoot=TiXmlHandle(pElem); - } - - // block: string table - { - m_messages.clear(); // trash existing table - - pElem=hRoot.FirstChild( "Messages" ).FirstChild().Element(); - for( pElem; pElem; pElem=pElem->NextSiblingElement()) - { - const char *pKey=pElem->Value(); - const char *pText=pElem->GetText(); - if (pKey && pText) - { - m_messages[pKey]=pText; - } - } - } - - // block: windows - { - m_windows.clear(); // trash existing list - - TiXmlElement* pWindowNode=hRoot.FirstChild( "Windows" ).FirstChild().Element(); - for( pWindowNode; pWindowNode; pWindowNode=pWindowNode->NextSiblingElement()) - { - WindowSettings w; - const char *pName=pWindowNode->Attribute("name"); - if (pName) w.name=pName; - - pWindowNode->QueryIntAttribute("x", &w.x); // If this fails, original value is left as-is - pWindowNode->QueryIntAttribute("y", &w.y); - pWindowNode->QueryIntAttribute("w", &w.w); - pWindowNode->QueryIntAttribute("hh", &w.h); - - m_windows.push_back(w); - } - } - - // block: connection - { - pElem=hRoot.FirstChild("Connection").Element(); - if (pElem) - { - m_connection.ip=pElem->Attribute("ip"); - pElem->QueryDoubleAttribute("timeout",&m_connection.timeout); - } - } -} -</pre></div><h1>Full listing for dump_to_stdout </h1> -<p>Below is a copy-and-paste demo program for loading arbitrary XML files and dumping the structure to STDOUT using the recursive traversal listed above.</p> -<div class="fragment"><pre class="fragment"> -// tutorial demo program -#include "stdafx.h" -#include "tinyxml.h" - -// ---------------------------------------------------------------------- -// STDOUT dump and indenting utility functions -// ---------------------------------------------------------------------- -const unsigned int NUM_INDENTS_PER_SPACE=2; - -const char * getIndent( unsigned int numIndents ) -{ - static const char * pINDENT=" + "; - static const unsigned int LENGTH=strlen( pINDENT ); - unsigned int n=numIndents*NUM_INDENTS_PER_SPACE; - if ( n > LENGTH ) n = LENGTH; - - return &pINDENT[ LENGTH-n ]; -} - -// same as getIndent but no "+" at the end -const char * getIndentAlt( unsigned int numIndents ) -{ - static const char * pINDENT=" "; - static const unsigned int LENGTH=strlen( pINDENT ); - unsigned int n=numIndents*NUM_INDENTS_PER_SPACE; - if ( n > LENGTH ) n = LENGTH; - - return &pINDENT[ LENGTH-n ]; -} - -int dump_attribs_to_stdout(TiXmlElement* pElement, unsigned int indent) -{ - if ( !pElement ) return 0; - - TiXmlAttribute* pAttrib=pElement->FirstAttribute(); - int i=0; - int ival; - double dval; - const char* pIndent=getIndent(indent); - printf("\n"); - while (pAttrib) - { - printf( "%s%s: value=[%s]", pIndent, pAttrib->Name(), pAttrib->Value()); - - if (pAttrib->QueryIntValue(&ival)==TIXML_SUCCESS) printf( " int=%d", ival); - if (pAttrib->QueryDoubleValue(&dval)==TIXML_SUCCESS) printf( " d=%1.1f", dval); - printf( "\n" ); - i++; - pAttrib=pAttrib->Next(); - } - return i; -} - -void dump_to_stdout( TiXmlNode* pParent, unsigned int indent = 0 ) -{ - if ( !pParent ) return; - - TiXmlNode* pChild; - TiXmlText* pText; - int t = pParent->Type(); - printf( "%s", getIndent(indent)); - int num; - - switch ( t ) - { - case TiXmlNode::TINYXML_DOCUMENT: - printf( "Document" ); - break; - - case TiXmlNode::TINYXML_ELEMENT: - printf( "Element [%s]", pParent->Value() ); - num=dump_attribs_to_stdout(pParent->ToElement(), indent+1); - switch(num) - { - case 0: printf( " (No attributes)"); break; - case 1: printf( "%s1 attribute", getIndentAlt(indent)); break; - default: printf( "%s%d attributes", getIndentAlt(indent), num); break; - } - break; - - case TiXmlNode::TINYXML_COMMENT: - printf( "Comment: [%s]", pParent->Value()); - break; - - case TiXmlNode::TINYXML_UNKNOWN: - printf( "Unknown" ); - break; - - case TiXmlNode::TINYXML_TEXT: - pText = pParent->ToText(); - printf( "Text: [%s]", pText->Value() ); - break; - - case TiXmlNode::TINYXML_DECLARATION: - printf( "Declaration" ); - break; - default: - break; - } - printf( "\n" ); - for ( pChild = pParent->FirstChild(); pChild != 0; pChild = pChild->NextSibling()) - { - dump_to_stdout( pChild, indent+1 ); - } -} - -// load the named file and dump its structure to STDOUT -void dump_to_stdout(const char* pFilename) -{ - TiXmlDocument doc(pFilename); - bool loadOkay = doc.LoadFile(); - if (loadOkay) - { - printf("\n%s:\n", pFilename); - dump_to_stdout( &doc ); // defined later in the tutorial - } - else - { - printf("Failed to load file \"%s\"\n", pFilename); - } -} - -// ---------------------------------------------------------------------- -// main() for printing files named on the command line -// ---------------------------------------------------------------------- -int main(int argc, char* argv[]) -{ - for (int i=1; i<argc; i++) - { - dump_to_stdout(argv[i]); - } - return 0; -} -</pre></div><p>Run this from the command line or a DOS window, e.g.:</p> -<div class="fragment"><pre class="fragment"> -C:\dev\tinyxml> Debug\tinyxml_1.exe example1.xml - -example1.xml: -Document -+ Declaration -+ Element [Hello] - (No attributes) - + Text: [World] -</pre></div><p><em> Authors and Changes </p> -<ul> -<li> -Written by Ellers, April, May, June 2005 </li> -<li> -Minor edits and integration into doc system, Lee Thomason September 2005 </li> -<li> -Updated by Ellers, October 2005 </li> -</ul> -<p></em> </p> -</div> -<hr size="1"/><address style="text-align: right;"><small>Generated by -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> -</body> -</html> diff --git a/shared/tinyxml/readme.txt b/shared/tinyxml/readme.txt deleted file mode 100644 index 89d9e8d3..00000000 --- a/shared/tinyxml/readme.txt +++ /dev/null @@ -1,530 +0,0 @@ -/** @mainpage - -<h1> TinyXML </h1> - -TinyXML is a simple, small, C++ XML parser that can be easily -integrated into other programs. - -<h2> What it does. </h2> - -In brief, TinyXML parses an XML document, and builds from that a -Document Object Model (DOM) that can be read, modified, and saved. - -XML stands for "eXtensible Markup Language." It allows you to create -your own document markups. Where HTML does a very good job of marking -documents for browsers, XML allows you to define any kind of document -markup, for example a document that describes a "to do" list for an -organizer application. XML is a very structured and convenient format. -All those random file formats created to store application data can -all be replaced with XML. One parser for everything. - -The best place for the complete, correct, and quite frankly hard to -read spec is at <a href="http://www.w3.org/TR/2004/REC-xml-20040204/"> -http://www.w3.org/TR/2004/REC-xml-20040204/</a>. An intro to XML -(that I really like) can be found at -<a href="http://skew.org/xml/tutorial/">http://skew.org/xml/tutorial</a>. - -There are different ways to access and interact with XML data. -TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed -into a C++ objects that can be browsed and manipulated, and then -written to disk or another output stream. You can also construct an XML document -from scratch with C++ objects and write this to disk or another output -stream. - -TinyXML is designed to be easy and fast to learn. It is two headers -and four cpp files. Simply add these to your project and off you go. -There is an example file - xmltest.cpp - to get you started. - -TinyXML is released under the ZLib license, -so you can use it in open source or commercial code. The details -of the license are at the top of every source file. - -TinyXML attempts to be a flexible parser, but with truly correct and -compliant XML output. TinyXML should compile on any reasonably C++ -compliant system. It does not rely on exceptions or RTTI. It can be -compiled with or without STL support. TinyXML fully supports -the UTF-8 encoding, and the first 64k character entities. - - -<h2> What it doesn't do. </h2> - -TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs -(eXtensible Stylesheet Language.) There are other parsers out there -(check out www.sourceforge.org, search for XML) that are much more fully -featured. But they are also much bigger, take longer to set up in -your project, have a higher learning curve, and often have a more -restrictive license. If you are working with browsers or have more -complete XML needs, TinyXML is not the parser for you. - -The following DTD syntax will not parse at this time in TinyXML: - -@verbatim - <!DOCTYPE Archiv [ - <!ELEMENT Comment (#PCDATA)> - ]> -@endverbatim - -because TinyXML sees this as a !DOCTYPE node with an illegally -embedded !ELEMENT node. This may be addressed in the future. - -<h2> Tutorials. </h2> - -For the impatient, here is a tutorial to get you going. A great way to get started, -but it is worth your time to read this (very short) manual completely. - -- @subpage tutorial0 - -<h2> Code Status. </h2> - -TinyXML is mature, tested code. It is very stable. If you find -bugs, please file a bug report on the sourceforge web site -(www.sourceforge.net/projects/tinyxml). We'll get them straightened -out as soon as possible. - -There are some areas of improvement; please check sourceforge if you are -interested in working on TinyXML. - -<h2> Related Projects </h2> - -TinyXML projects you may find useful! (Descriptions provided by the projects.) - -<ul> -<li> <b>TinyXPath</b> (http://tinyxpath.sourceforge.net). TinyXPath is a small footprint - XPath syntax decoder, written in C++.</li> -<li> <b>TinyXML++</b> (http://code.google.com/p/ticpp/). TinyXML++ is a completely new - interface to TinyXML that uses MANY of the C++ strengths. Templates, - exceptions, and much better error handling.</li> -</ul> - -<h2> Features </h2> - -<h3> Using STL </h3> - -TinyXML can be compiled to use or not use STL. When using STL, TinyXML -uses the std::string class, and fully supports std::istream, std::ostream, -operator<<, and operator>>. Many API methods have both 'const char*' and -'const std::string&' forms. - -When STL support is compiled out, no STL files are included whatsoever. All -the string classes are implemented by TinyXML itself. API methods -all use the 'const char*' form for input. - -Use the compile time #define: - - TIXML_USE_STL - -to compile one version or the other. This can be passed by the compiler, -or set as the first line of "tinyxml.h". - -Note: If compiling the test code in Linux, setting the environment -variable TINYXML_USE_STL=YES/NO will control STL compilation. In the -Windows project file, STL and non STL targets are provided. In your project, -It's probably easiest to add the line "#define TIXML_USE_STL" as the first -line of tinyxml.h. - -<h3> UTF-8 </h3> - -TinyXML supports UTF-8 allowing to manipulate XML files in any language. TinyXML -also supports "legacy mode" - the encoding used before UTF-8 support and -probably best described as "extended ascii". - -Normally, TinyXML will try to detect the correct encoding and use it. However, -by setting the value of TIXML_DEFAULT_ENCODING in the header file, TinyXML -can be forced to always use one encoding. - -TinyXML will assume Legacy Mode until one of the following occurs: -<ol> - <li> If the non-standard but common "UTF-8 lead bytes" (0xef 0xbb 0xbf) - begin the file or data stream, TinyXML will read it as UTF-8. </li> - <li> If the declaration tag is read, and it has an encoding="UTF-8", then - TinyXML will read it as UTF-8. </li> - <li> If the declaration tag is read, and it has no encoding specified, then TinyXML will - read it as UTF-8. </li> - <li> If the declaration tag is read, and it has an encoding="something else", then TinyXML - will read it as Legacy Mode. In legacy mode, TinyXML will work as it did before. It's - not clear what that mode does exactly, but old content should keep working.</li> - <li> Until one of the above criteria is met, TinyXML runs in Legacy Mode.</li> -</ol> - -What happens if the encoding is incorrectly set or detected? TinyXML will try -to read and pass through text seen as improperly encoded. You may get some strange results or -mangled characters. You may want to force TinyXML to the correct mode. - -You may force TinyXML to Legacy Mode by using LoadFile( TIXML_ENCODING_LEGACY ) or -LoadFile( filename, TIXML_ENCODING_LEGACY ). You may force it to use legacy mode all -the time by setting TIXML_DEFAULT_ENCODING = TIXML_ENCODING_LEGACY. Likewise, you may -force it to TIXML_ENCODING_UTF8 with the same technique. - -For English users, using English XML, UTF-8 is the same as low-ASCII. You -don't need to be aware of UTF-8 or change your code in any way. You can think -of UTF-8 as a "superset" of ASCII. - -UTF-8 is not a double byte format - but it is a standard encoding of Unicode! -TinyXML does not use or directly support wchar, TCHAR, or Microsoft's _UNICODE at this time. -It is common to see the term "Unicode" improperly refer to UTF-16, a wide byte encoding -of unicode. This is a source of confusion. - -For "high-ascii" languages - everything not English, pretty much - TinyXML can -handle all languages, at the same time, as long as the XML is encoded -in UTF-8. That can be a little tricky, older programs and operating systems -tend to use the "default" or "traditional" code page. Many apps (and almost all -modern ones) can output UTF-8, but older or stubborn (or just broken) ones -still output text in the default code page. - -For example, Japanese systems traditionally use SHIFT-JIS encoding. -Text encoded as SHIFT-JIS can not be read by TinyXML. -A good text editor can import SHIFT-JIS and then save as UTF-8. - -The <a href="http://skew.org/xml/tutorial/">Skew.org link</a> does a great -job covering the encoding issue. - -The test file "utf8test.xml" is an XML containing English, Spanish, Russian, -and Simplified Chinese. (Hopefully they are translated correctly). The file -"utf8test.gif" is a screen capture of the XML file, rendered in IE. Note that -if you don't have the correct fonts (Simplified Chinese or Russian) on your -system, you won't see output that matches the GIF file even if you can parse -it correctly. Also note that (at least on my Windows machine) console output -is in a Western code page, so that Print() or printf() cannot correctly display -the file. This is not a bug in TinyXML - just an OS issue. No data is lost or -destroyed by TinyXML. The console just doesn't render UTF-8. - - -<h3> Entities </h3> -TinyXML recognizes the pre-defined "character entities", meaning special -characters. Namely: - -@verbatim - & & - < < - > > - " " - ' ' -@endverbatim - -These are recognized when the XML document is read, and translated to there -UTF-8 equivalents. For instance, text with the XML of: - -@verbatim - Far & Away -@endverbatim - -will have the Value() of "Far & Away" when queried from the TiXmlText object, -and will be written back to the XML stream/file as an ampersand. Older versions -of TinyXML "preserved" character entities, but the newer versions will translate -them into characters. - -Additionally, any character can be specified by its Unicode code point: -The syntax " " or " " are both to the non-breaking space characher. - -<h3> Printing </h3> -TinyXML can print output in several different ways that all have strengths and limitations. - -- Print( FILE* ). Output to a std-C stream, which includes all C files as well as stdout. - - "Pretty prints", but you don't have control over printing options. - - The output is streamed directly to the FILE object, so there is no memory overhead - in the TinyXML code. - - used by Print() and SaveFile() - -- operator<<. Output to a c++ stream. - - Integrates with standart C++ iostreams. - - Outputs in "network printing" mode without line breaks. Good for network transmission - and moving XML between C++ objects, but hard for a human to read. - -- TiXmlPrinter. Output to a std::string or memory buffer. - - API is less concise - - Future printing options will be put here. - - Printing may change slightly in future versions as it is refined and expanded. - -<h3> Streams </h3> -With TIXML_USE_STL on TinyXML supports C++ streams (operator <<,>>) streams as well -as C (FILE*) streams. There are some differences that you may need to be aware of. - -C style output: - - based on FILE* - - the Print() and SaveFile() methods - - Generates formatted output, with plenty of white space, intended to be as - human-readable as possible. They are very fast, and tolerant of ill formed - XML documents. For example, an XML document that contains 2 root elements - and 2 declarations, will still print. - -C style input: - - based on FILE* - - the Parse() and LoadFile() methods - - A fast, tolerant read. Use whenever you don't need the C++ streams. - -C++ style output: - - based on std::ostream - - operator<< - - Generates condensed output, intended for network transmission rather than - readability. Depending on your system's implementation of the ostream class, - these may be somewhat slower. (Or may not.) Not tolerant of ill formed XML: - a document should contain the correct one root element. Additional root level - elements will not be streamed out. - -C++ style input: - - based on std::istream - - operator>> - - Reads XML from a stream, making it useful for network transmission. The tricky - part is knowing when the XML document is complete, since there will almost - certainly be other data in the stream. TinyXML will assume the XML data is - complete after it reads the root element. Put another way, documents that - are ill-constructed with more than one root element will not read correctly. - Also note that operator>> is somewhat slower than Parse, due to both - implementation of the STL and limitations of TinyXML. - -<h3> White space </h3> -The world simply does not agree on whether white space should be kept, or condensed. -For example, pretend the '_' is a space, and look at "Hello____world". HTML, and -at least some XML parsers, will interpret this as "Hello_world". They condense white -space. Some XML parsers do not, and will leave it as "Hello____world". (Remember -to keep pretending the _ is a space.) Others suggest that __Hello___world__ should become -Hello___world. - -It's an issue that hasn't been resolved to my satisfaction. TinyXML supports the -first 2 approaches. Call TiXmlBase::SetCondenseWhiteSpace( bool ) to set the desired behavior. -The default is to condense white space. - -If you change the default, you should call TiXmlBase::SetCondenseWhiteSpace( bool ) -before making any calls to Parse XML data, and I don't recommend changing it after -it has been set. - - -<h3> Handles </h3> - -Where browsing an XML document in a robust way, it is important to check -for null returns from method calls. An error safe implementation can -generate a lot of code like: - -@verbatim -TiXmlElement* root = document.FirstChildElement( "Document" ); -if ( root ) -{ - TiXmlElement* element = root->FirstChildElement( "Element" ); - if ( element ) - { - TiXmlElement* child = element->FirstChildElement( "Child" ); - if ( child ) - { - TiXmlElement* child2 = child->NextSiblingElement( "Child" ); - if ( child2 ) - { - // Finally do something useful. -@endverbatim - -Handles have been introduced to clean this up. Using the TiXmlHandle class, -the previous code reduces to: - -@verbatim -TiXmlHandle docHandle( &document ); -TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement(); -if ( child2 ) -{ - // do something useful -@endverbatim - -Which is much easier to deal with. See TiXmlHandle for more information. - - -<h3> Row and Column tracking </h3> -Being able to track nodes and attributes back to their origin location -in source files can be very important for some applications. Additionally, -knowing where parsing errors occured in the original source can be very -time saving. - -TinyXML can tracks the row and column origin of all nodes and attributes -in a text file. The TiXmlBase::Row() and TiXmlBase::Column() methods return -the origin of the node in the source text. The correct tabs can be -configured in TiXmlDocument::SetTabSize(). - - -<h2> Using and Installing </h2> - -To Compile and Run xmltest: - -A Linux Makefile and a Windows Visual C++ .dsw file is provided. -Simply compile and run. It will write the file demotest.xml to your -disk and generate output on the screen. It also tests walking the -DOM by printing out the number of nodes found using different -techniques. - -The Linux makefile is very generic and runs on many systems - it -is currently tested on mingw and -MacOSX. You do not need to run 'make depend'. The dependecies have been -hard coded. - -<h3>Windows project file for VC6</h3> -<ul> -<li>tinyxml: tinyxml library, non-STL </li> -<li>tinyxmlSTL: tinyxml library, STL </li> -<li>tinyXmlTest: test app, non-STL </li> -<li>tinyXmlTestSTL: test app, STL </li> -</ul> - -<h3>Makefile</h3> -At the top of the makefile you can set: - -PROFILE, DEBUG, and TINYXML_USE_STL. Details (such that they are) are in -the makefile. - -In the tinyxml directory, type "make clean" then "make". The executable -file 'xmltest' will be created. - - - -<h3>To Use in an Application:</h3> - -Add tinyxml.cpp, tinyxml.h, tinyxmlerror.cpp, tinyxmlparser.cpp, tinystr.cpp, and tinystr.h to your -project or make file. That's it! It should compile on any reasonably -compliant C++ system. You do not need to enable exceptions or -RTTI for TinyXML. - - -<h2> How TinyXML works. </h2> - -An example is probably the best way to go. Take: -@verbatim - <?xml version="1.0" standalone=no> - <!-- Our to do list data --> - <ToDo> - <Item priority="1"> Go to the <bold>Toy store!</bold></Item> - <Item priority="2"> Do bills</Item> - </ToDo> -@endverbatim - -Its not much of a To Do list, but it will do. To read this file -(say "demo.xml") you would create a document, and parse it in: -@verbatim - TiXmlDocument doc( "demo.xml" ); - doc.LoadFile(); -@endverbatim - -And its ready to go. Now lets look at some lines and how they -relate to the DOM. - -@verbatim -<?xml version="1.0" standalone=no> -@endverbatim - - The first line is a declaration, and gets turned into the - TiXmlDeclaration class. It will be the first child of the - document node. - - This is the only directive/special tag parsed by TinyXML. - Generally directive tags are stored in TiXmlUnknown so the - commands wont be lost when it is saved back to disk. - -@verbatim -<!-- Our to do list data --> -@endverbatim - - A comment. Will become a TiXmlComment object. - -@verbatim -<ToDo> -@endverbatim - - The "ToDo" tag defines a TiXmlElement object. This one does not have - any attributes, but does contain 2 other elements. - -@verbatim -<Item priority="1"> -@endverbatim - - Creates another TiXmlElement which is a child of the "ToDo" element. - This element has 1 attribute, with the name "priority" and the value - "1". - -@verbatim -Go to the -@endverbatim - - A TiXmlText. This is a leaf node and cannot contain other nodes. - It is a child of the "Item" TiXmlElement. - -@verbatim -<bold> -@endverbatim - - - Another TiXmlElement, this one a child of the "Item" element. - -Etc. - -Looking at the entire object tree, you end up with: -@verbatim -TiXmlDocument "demo.xml" - TiXmlDeclaration "version='1.0'" "standalone=no" - TiXmlComment " Our to do list data" - TiXmlElement "ToDo" - TiXmlElement "Item" Attribtutes: priority = 1 - TiXmlText "Go to the " - TiXmlElement "bold" - TiXmlText "Toy store!" - TiXmlElement "Item" Attributes: priority=2 - TiXmlText "Do bills" -@endverbatim - -<h2> Documentation </h2> - -The documentation is build with Doxygen, using the 'dox' -configuration file. - -<h2> License </h2> - -TinyXML is released under the zlib license: - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. - -<h2> References </h2> - -The World Wide Web Consortium is the definitive standard body for -XML, and their web pages contain huge amounts of information. - -The definitive spec: <a href="http://www.w3.org/TR/2004/REC-xml-20040204/"> -http://www.w3.org/TR/2004/REC-xml-20040204/</a> - -I also recommend "XML Pocket Reference" by Robert Eckstein and published by -OReilly...the book that got the whole thing started. - -<h2> Contributors, Contacts, and a Brief History </h2> - -Thanks very much to everyone who sends suggestions, bugs, ideas, and -encouragement. It all helps, and makes this project fun. A special thanks -to the contributors on the web pages that keep it lively. - -So many people have sent in bugs and ideas, that rather than list here -we try to give credit due in the "changes.txt" file. - -TinyXML was originally written by Lee Thomason. (Often the "I" still -in the documentation.) Lee reviews changes and releases new versions, -with the help of Yves Berquin, Andrew Ellerton, and the tinyXml community. - -We appreciate your suggestions, and would love to know if you -use TinyXML. Hopefully you will enjoy it and find it useful. -Please post questions, comments, file bugs, or contact us at: - -www.sourceforge.net/projects/tinyxml - -Lee Thomason, Yves Berquin, Andrew Ellerton -*/ diff --git a/shared/tinyxml/tinyXmlTest.vcxproj b/shared/tinyxml/tinyXmlTest.vcxproj deleted file mode 100644 index 573b5543..00000000 --- a/shared/tinyxml/tinyXmlTest.vcxproj +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{34719950-09E8-457E-BE23-8F1CE3A1F1F6}</ProjectGuid> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(LibraryPath)</LibraryPath> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Midl> - <TypeLibraryName>.\tinyXmlTest___Win32_Debug/tinyXmlTest.tlb</TypeLibraryName> - <HeaderFileName> - </HeaderFileName> - </Midl> - <ClCompile> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;TUNE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <MinimalRebuild>true</MinimalRebuild> - <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level4</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> - <SuppressStartupBanner>true</SuppressStartupBanner> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Console</SubSystem> - <RandomizedBaseAddress>false</RandomizedBaseAddress> - <DataExecutionPrevention> - </DataExecutionPrevention> - <TargetMachine>MachineX86</TargetMachine> - </Link> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Midl> - <TypeLibraryName>.\tinyXmlTest___Win32_Release/tinyXmlTest.tlb</TypeLibraryName> - <HeaderFileName> - </HeaderFileName> - </Midl> - <ClCompile> - <Optimization>MaxSpeed</Optimization> - <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <StringPooling>true</StringPooling> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <FunctionLevelLinking>true</FunctionLevelLinking> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level3</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> - <SuppressStartupBanner>true</SuppressStartupBanner> - <SubSystem>Console</SubSystem> - <RandomizedBaseAddress>false</RandomizedBaseAddress> - <DataExecutionPrevention> - </DataExecutionPrevention> - <TargetMachine>MachineX86</TargetMachine> - </Link> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="xmltest.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="tinyxml_lib.vcxproj"> - <Project>{c406daec-0886-4771-8dea-9d7329b46cc1}</Project> - <ReferenceOutputAssembly>false</ReferenceOutputAssembly> - </ProjectReference> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/shared/tinyxml/tinyXmlTestSTL.vcxproj b/shared/tinyxml/tinyXmlTestSTL.vcxproj deleted file mode 100644 index 71cc6301..00000000 --- a/shared/tinyxml/tinyXmlTestSTL.vcxproj +++ /dev/null @@ -1,135 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{53ED5965-5BCA-47B5-9EB0-EDD20882F22F}</ProjectGuid> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> - <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(LibraryPath)</LibraryPath> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(LibraryPath)</LibraryPath> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Midl> - <TypeLibraryName>.\tinyXmlTestSTL___Win32_Debug/tinyXmlTestSTL.tlb</TypeLibraryName> - <HeaderFileName> - </HeaderFileName> - </Midl> - <ClCompile> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;TIXML_USE_STL;TUNE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <MinimalRebuild>true</MinimalRebuild> - <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level4</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> - <SuppressStartupBanner>true</SuppressStartupBanner> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Console</SubSystem> - <RandomizedBaseAddress>false</RandomizedBaseAddress> - <DataExecutionPrevention> - </DataExecutionPrevention> - <TargetMachine>MachineX86</TargetMachine> - </Link> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Midl> - <TypeLibraryName>.\tinyXmlTestSTL___Win32_Release/tinyXmlTestSTL.tlb</TypeLibraryName> - <HeaderFileName> - </HeaderFileName> - </Midl> - <ClCompile> - <Optimization>MaxSpeed</Optimization> - <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;TIXML_USE_STL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <StringPooling>true</StringPooling> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <FunctionLevelLinking>true</FunctionLevelLinking> - <WarningLevel>Level3</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Link> - <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> - <SuppressStartupBanner>true</SuppressStartupBanner> - <SubSystem>Console</SubSystem> - <RandomizedBaseAddress>false</RandomizedBaseAddress> - <DataExecutionPrevention> - </DataExecutionPrevention> - <TargetMachine>MachineX86</TargetMachine> - </Link> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="xmltest.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="tinyxmlSTL.vcxproj"> - <Project>{a3a84737-5017-4577-b8a2-79429a25b8b6}</Project> - <ReferenceOutputAssembly>false</ReferenceOutputAssembly> - </ProjectReference> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/shared/tinyxml/tinystr.cpp b/shared/tinyxml/tinystr.cpp deleted file mode 100644 index 2e28a874..00000000 --- a/shared/tinyxml/tinystr.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - - -#ifndef TIXML_USE_STL - -#include "tinystr.h" - -// Error value for find primitive -const TiXmlString::size_type TiXmlString::npos = static_cast< TiXmlString::size_type >(-1); - - -// Null rep. -TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, { '\0' } }; - - -void TiXmlString::reserve (size_type cap) -{ - if (cap > capacity()) - { - TiXmlString tmp; - tmp.init(length(), cap); - memcpy(tmp.start(), data(), length()); - swap(tmp); - } -} - - -TiXmlString& TiXmlString::assign(const char* str, size_type len) -{ - size_type cap = capacity(); - if (len > cap || cap > 3*(len + 8)) - { - TiXmlString tmp; - tmp.init(len); - memcpy(tmp.start(), str, len); - swap(tmp); - } - else - { - memmove(start(), str, len); - set_size(len); - } - return *this; -} - - -TiXmlString& TiXmlString::append(const char* str, size_type len) -{ - size_type newsize = length() + len; - if (newsize > capacity()) - { - reserve (newsize + capacity()); - } - memmove(finish(), str, len); - set_size(newsize); - return *this; -} - - -TiXmlString operator + (const TiXmlString& a, const TiXmlString& b) -{ - TiXmlString tmp; - tmp.reserve(a.length() + b.length()); - tmp += a; - tmp += b; - return tmp; -} - -TiXmlString operator + (const TiXmlString& a, const char* b) -{ - TiXmlString tmp; - TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); - tmp.reserve(a.length() + b_len); - tmp += a; - tmp.append(b, b_len); - return tmp; -} - -TiXmlString operator + (const char* a, const TiXmlString& b) -{ - TiXmlString tmp; - TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) ); - tmp.reserve(a_len + b.length()); - tmp.append(a, a_len); - tmp += b; - return tmp; -} - - -#endif // TIXML_USE_STL diff --git a/shared/tinyxml/tinystr.h b/shared/tinyxml/tinystr.h deleted file mode 100644 index 9555549f..00000000 --- a/shared/tinyxml/tinystr.h +++ /dev/null @@ -1,305 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - - -#ifndef TIXML_USE_STL - -#ifndef TIXML_STRING_INCLUDED -#define TIXML_STRING_INCLUDED - -#include <assert.h> -#include <string.h> - -/* The support for explicit isn't that universal, and it isn't really - required - it is used to check that the TiXmlString class isn't incorrectly - used. Be nice to old compilers and macro it here: -*/ -#if defined(_MSC_VER) && (_MSC_VER >= 1200 ) -// Microsoft visual studio, version 6 and higher. -#define TIXML_EXPLICIT explicit -#elif defined(__GNUC__) && (__GNUC__ >= 3 ) -// GCC version 3 and higher.s -#define TIXML_EXPLICIT explicit -#else -#define TIXML_EXPLICIT -#endif - - -/* - TiXmlString is an emulation of a subset of the std::string template. - Its purpose is to allow compiling TinyXML on compilers with no or poor STL support. - Only the member functions relevant to the TinyXML project have been implemented. - The buffer allocation is made by a simplistic power of 2 like mechanism : if we increase - a string and there's no more room, we allocate a buffer twice as big as we need. -*/ -class TiXmlString -{ -public : - // The size type used - typedef size_t size_type; - - // Error value for find primitive - static const size_type npos; // = -1; - - - // TiXmlString empty constructor - TiXmlString () : rep_(&nullrep_) - { - } - - // TiXmlString copy constructor - TiXmlString ( const TiXmlString& copy) : rep_(0) - { - init(copy.length()); - memcpy(start(), copy.data(), length()); - } - - // TiXmlString constructor, based on a string - TIXML_EXPLICIT TiXmlString ( const char* copy) : rep_(0) - { - init( static_cast<size_type>( strlen(copy) )); - memcpy(start(), copy, length()); - } - - // TiXmlString constructor, based on a string - TIXML_EXPLICIT TiXmlString ( const char* str, size_type len) : rep_(0) - { - init(len); - memcpy(start(), str, len); - } - - // TiXmlString destructor - ~TiXmlString () - { - quit(); - } - - TiXmlString& operator = (const char* copy) - { - return assign( copy, (size_type)strlen(copy)); - } - - TiXmlString& operator = (const TiXmlString& copy) - { - return assign(copy.start(), copy.length()); - } - - - // += operator. Maps to append - TiXmlString& operator += (const char* suffix) - { - return append(suffix, static_cast<size_type>( strlen(suffix) )); - } - - // += operator. Maps to append - TiXmlString& operator += (char single) - { - return append(&single, 1); - } - - // += operator. Maps to append - TiXmlString& operator += (const TiXmlString& suffix) - { - return append(suffix.data(), suffix.length()); - } - - - // Convert a TiXmlString into a null-terminated char * - const char* c_str () const { return rep_->str; } - - // Convert a TiXmlString into a char * (need not be null terminated). - const char* data () const { return rep_->str; } - - // Return the length of a TiXmlString - size_type length () const { return rep_->size; } - - // Alias for length() - size_type size () const { return rep_->size; } - - // Checks if a TiXmlString is empty - bool empty () const { return rep_->size == 0; } - - // Return capacity of string - size_type capacity () const { return rep_->capacity; } - - - // single char extraction - const char& at (size_type index) const - { - assert( index < length() ); - return rep_->str[ index ]; - } - - // [] operator - char& operator [] (size_type index) const - { - assert( index < length() ); - return rep_->str[ index ]; - } - - // find a char in a string. Return TiXmlString::npos if not found - size_type find (char lookup) const - { - return find(lookup, 0); - } - - // find a char in a string from an offset. Return TiXmlString::npos if not found - size_type find (char tofind, size_type offset) const - { - if (offset >= length()) return npos; - - for (const char* p = c_str() + offset; *p != '\0'; ++p) - { - if (*p == tofind) return static_cast< size_type >( p - c_str() ); - } - return npos; - } - - void clear () - { - //Lee: - //The original was just too strange, though correct: - // TiXmlString().swap(*this); - //Instead use the quit & re-init: - quit(); - init(0,0); - } - - /* Function to reserve a big amount of data when we know we'll need it. Be aware that this - function DOES NOT clear the content of the TiXmlString if any exists. - */ - void reserve (size_type cap); - - TiXmlString& assign (const char* str, size_type len); - - TiXmlString& append (const char* str, size_type len); - - void swap (TiXmlString& other) - { - Rep* r = rep_; - rep_ = other.rep_; - other.rep_ = r; - } - -private: - - void init(size_type sz) { init(sz, sz); } - void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } - char* start() const { return rep_->str; } - char* finish() const { return rep_->str + rep_->size; } - - struct Rep - { - size_type size, capacity; - char str[1]; - }; - - void init(size_type sz, size_type cap) - { - if (cap) - { - // Lee: the original form: - // rep_ = static_cast<Rep*>(operator new(sizeof(Rep) + cap)); - // doesn't work in some cases of new being overloaded. Switching - // to the normal allocation, although use an 'int' for systems - // that are overly picky about structure alignment. - const size_type bytesNeeded = sizeof(Rep) + cap; - const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); - rep_ = reinterpret_cast<Rep*>( new int[ intsNeeded ] ); - - rep_->str[ rep_->size = sz ] = '\0'; - rep_->capacity = cap; - } - else - { - rep_ = &nullrep_; - } - } - - void quit() - { - if (rep_ != &nullrep_) - { - // The rep_ is really an array of ints. (see the allocator, above). - // Cast it back before delete, so the compiler won't incorrectly call destructors. - delete [] ( reinterpret_cast<int*>( rep_ ) ); - } - } - - Rep* rep_; - static Rep nullrep_; - -} ; - - -inline bool operator == (const TiXmlString& a, const TiXmlString& b) -{ - return ( a.length() == b.length() ) // optimization on some platforms - && ( strcmp(a.c_str(), b.c_str()) == 0 ); // actual compare -} -inline bool operator < (const TiXmlString& a, const TiXmlString& b) -{ - return strcmp(a.c_str(), b.c_str()) < 0; -} - -inline bool operator != (const TiXmlString& a, const TiXmlString& b) { return !(a == b); } -inline bool operator > (const TiXmlString& a, const TiXmlString& b) { return b < a; } -inline bool operator <= (const TiXmlString& a, const TiXmlString& b) { return !(b < a); } -inline bool operator >= (const TiXmlString& a, const TiXmlString& b) { return !(a < b); } - -inline bool operator == (const TiXmlString& a, const char* b) { return strcmp(a.c_str(), b) == 0; } -inline bool operator == (const char* a, const TiXmlString& b) { return b == a; } -inline bool operator != (const TiXmlString& a, const char* b) { return !(a == b); } -inline bool operator != (const char* a, const TiXmlString& b) { return !(b == a); } - -TiXmlString operator + (const TiXmlString& a, const TiXmlString& b); -TiXmlString operator + (const TiXmlString& a, const char* b); -TiXmlString operator + (const char* a, const TiXmlString& b); - - -/* - TiXmlOutStream is an emulation of std::ostream. It is based on TiXmlString. - Only the operators that we need for TinyXML have been developped. -*/ -class TiXmlOutStream : public TiXmlString -{ -public : - - // TiXmlOutStream << operator. - TiXmlOutStream& operator << (const TiXmlString& in) - { - *this += in; - return *this; - } - - // TiXmlOutStream << operator. - TiXmlOutStream& operator << (const char* in) - { - *this += in; - return *this; - } - -} ; - -#endif // TIXML_STRING_INCLUDED -#endif // TIXML_USE_STL diff --git a/shared/tinyxml/tinyxml.cpp b/shared/tinyxml/tinyxml.cpp deleted file mode 100644 index a9c6e22b..00000000 --- a/shared/tinyxml/tinyxml.cpp +++ /dev/null @@ -1,1931 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml -Original code by Lee Thomason (www.grinninglizard.com) - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - -#include <ctype.h> - -#ifdef TIXML_USE_STL -#include <sstream> -#include <iostream> -#endif - -#include "tinyxml.h" - -FILE* TiXmlFOpen( const char* filename, const char* mode ); - -bool TiXmlBase::condenseWhiteSpace = true; - -// Microsoft compiler security -FILE* TiXmlFOpen( const char* filename, const char* mode ) -{ -#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) - FILE* fp = 0; - errno_t err = fopen_s( &fp, filename, mode ); - if ( !err && fp ) - return fp; - return 0; -#else - return fopen( filename, mode ); -#endif -} - -void TiXmlBase::EncodeString( const TIXML_STRING& str, TIXML_STRING* outString ) -{ - int i=0; - - while( i<(int)str.length() ) - { - unsigned char c = (unsigned char) str[i]; - - if ( c == '&' - && i < ( (int)str.length() - 2 ) - && str[i+1] == '#' - && str[i+2] == 'x' ) - { - // Hexadecimal character reference. - // Pass through unchanged. - // © -- copyright symbol, for example. - // - // The -1 is a bug fix from Rob Laveaux. It keeps - // an overflow from happening if there is no ';'. - // There are actually 2 ways to exit this loop - - // while fails (error case) and break (semicolon found). - // However, there is no mechanism (currently) for - // this function to return an error. - while ( i<(int)str.length()-1 ) - { - outString->append( str.c_str() + i, 1 ); - ++i; - if ( str[i] == ';' ) - break; - } - } - else if ( c == '&' ) - { - outString->append( entity[0].str, entity[0].strLength ); - ++i; - } - else if ( c == '<' ) - { - outString->append( entity[1].str, entity[1].strLength ); - ++i; - } - else if ( c == '>' ) - { - outString->append( entity[2].str, entity[2].strLength ); - ++i; - } - else if ( c == '\"' ) - { - outString->append( entity[3].str, entity[3].strLength ); - ++i; - } - else if ( c == '\'' ) - { - outString->append( entity[4].str, entity[4].strLength ); - ++i; - } - else if ( c < 32 ) - { - // Easy pass at non-alpha/numeric/symbol - // Below 32 is symbolic. - char buf[ 32 ]; - -#if defined(TIXML_SNPRINTF) - TIXML_SNPRINTF( buf, sizeof(buf), "&#x%02X;", (unsigned) ( c & 0xff ) ); -#else - sprintf( buf, "&#x%02X;", (unsigned) ( c & 0xff ) ); -#endif - - //*ME: warning C4267: convert 'size_t' to 'int' - //*ME: Int-Cast to make compiler happy ... - outString->append( buf, (int)strlen( buf ) ); - ++i; - } - else - { - //char realc = (char) c; - //outString->append( &realc, 1 ); - *outString += (char) c; // somewhat more efficient function call. - ++i; - } - } -} - - -TiXmlNode::TiXmlNode( NodeType _type ) : TiXmlBase() -{ - parent = 0; - type = _type; - firstChild = 0; - lastChild = 0; - prev = 0; - next = 0; -} - - -TiXmlNode::~TiXmlNode() -{ - TiXmlNode* node = firstChild; - TiXmlNode* temp = 0; - - while ( node ) - { - temp = node; - node = node->next; - delete temp; - } -} - - -void TiXmlNode::CopyTo( TiXmlNode* target ) const -{ - target->SetValue (value.c_str() ); - target->userData = userData; - target->location = location; -} - - -void TiXmlNode::Clear() -{ - TiXmlNode* node = firstChild; - TiXmlNode* temp = 0; - - while ( node ) - { - temp = node; - node = node->next; - delete temp; - } - - firstChild = 0; - lastChild = 0; -} - - -TiXmlNode* TiXmlNode::LinkEndChild( TiXmlNode* node ) -{ - assert( node->parent == 0 || node->parent == this ); - assert( node->GetDocument() == 0 || node->GetDocument() == this->GetDocument() ); - - if ( node->Type() == TiXmlNode::TINYXML_DOCUMENT ) - { - delete node; - if ( GetDocument() ) - GetDocument()->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - node->parent = this; - - node->prev = lastChild; - node->next = 0; - - if ( lastChild ) - lastChild->next = node; - else - firstChild = node; // it was an empty list. - - lastChild = node; - return node; -} - - -TiXmlNode* TiXmlNode::InsertEndChild( const TiXmlNode& addThis ) -{ - if ( addThis.Type() == TiXmlNode::TINYXML_DOCUMENT ) - { - if ( GetDocument() ) - GetDocument()->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - TiXmlNode* node = addThis.Clone(); - if ( !node ) - return 0; - - return LinkEndChild( node ); -} - - -TiXmlNode* TiXmlNode::InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis ) -{ - if ( !beforeThis || beforeThis->parent != this ) - { - return 0; - } - if ( addThis.Type() == TiXmlNode::TINYXML_DOCUMENT ) - { - if ( GetDocument() ) - GetDocument()->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - TiXmlNode* node = addThis.Clone(); - if ( !node ) - return 0; - node->parent = this; - - node->next = beforeThis; - node->prev = beforeThis->prev; - if ( beforeThis->prev ) - { - beforeThis->prev->next = node; - } - else - { - assert( firstChild == beforeThis ); - firstChild = node; - } - beforeThis->prev = node; - return node; -} - - -TiXmlNode* TiXmlNode::InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis ) -{ - if ( !afterThis || afterThis->parent != this ) - { - return 0; - } - if ( addThis.Type() == TiXmlNode::TINYXML_DOCUMENT ) - { - if ( GetDocument() ) - GetDocument()->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - TiXmlNode* node = addThis.Clone(); - if ( !node ) - return 0; - node->parent = this; - - node->prev = afterThis; - node->next = afterThis->next; - if ( afterThis->next ) - { - afterThis->next->prev = node; - } - else - { - assert( lastChild == afterThis ); - lastChild = node; - } - afterThis->next = node; - return node; -} - - -TiXmlNode* TiXmlNode::ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis ) -{ - if ( !replaceThis ) - return 0; - - if ( replaceThis->parent != this ) - return 0; - - if ( withThis.ToDocument() ) - { - // A document can never be a child. Thanks to Noam. - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - TiXmlNode* node = withThis.Clone(); - if ( !node ) - return 0; - - node->next = replaceThis->next; - node->prev = replaceThis->prev; - - if ( replaceThis->next ) - replaceThis->next->prev = node; - else - lastChild = node; - - if ( replaceThis->prev ) - replaceThis->prev->next = node; - else - firstChild = node; - - delete replaceThis; - node->parent = this; - return node; -} - - -bool TiXmlNode::RemoveChild( TiXmlNode* removeThis ) -{ - if ( !removeThis ) - { - return false; - } - - if ( removeThis->parent != this ) - { - assert( 0 ); - return false; - } - - if ( removeThis->next ) - removeThis->next->prev = removeThis->prev; - else - lastChild = removeThis->prev; - - if ( removeThis->prev ) - removeThis->prev->next = removeThis->next; - else - firstChild = removeThis->next; - - delete removeThis; - return true; -} - -const TiXmlNode* TiXmlNode::FirstChild( const char* _value ) const -{ - const TiXmlNode* node; - for ( node = firstChild; node; node = node->next ) - { - if ( strcmp( node->Value(), _value ) == 0 ) - return node; - } - return 0; -} - - -const TiXmlNode* TiXmlNode::LastChild( const char* _value ) const -{ - const TiXmlNode* node; - for ( node = lastChild; node; node = node->prev ) - { - if ( strcmp( node->Value(), _value ) == 0 ) - return node; - } - return 0; -} - - -const TiXmlNode* TiXmlNode::IterateChildren( const TiXmlNode* previous ) const -{ - if ( !previous ) - { - return FirstChild(); - } - else - { - assert( previous->parent == this ); - return previous->NextSibling(); - } -} - - -const TiXmlNode* TiXmlNode::IterateChildren( const char* val, const TiXmlNode* previous ) const -{ - if ( !previous ) - { - return FirstChild( val ); - } - else - { - assert( previous->parent == this ); - return previous->NextSibling( val ); - } -} - - -const TiXmlNode* TiXmlNode::NextSibling( const char* _value ) const -{ - const TiXmlNode* node; - for ( node = next; node; node = node->next ) - { - if ( strcmp( node->Value(), _value ) == 0 ) - return node; - } - return 0; -} - - -const TiXmlNode* TiXmlNode::PreviousSibling( const char* _value ) const -{ - const TiXmlNode* node; - for ( node = prev; node; node = node->prev ) - { - if ( strcmp( node->Value(), _value ) == 0 ) - return node; - } - return 0; -} - - -void TiXmlElement::RemoveAttribute( const char* name ) -{ -#ifdef TIXML_USE_STL - TIXML_STRING str( name ); - TiXmlAttribute* node = attributeSet.Find( str ); -#else - TiXmlAttribute* node = attributeSet.Find( name ); -#endif - if ( node ) - { - attributeSet.Remove( node ); - delete node; - } -} - -const TiXmlElement* TiXmlNode::FirstChildElement() const -{ - const TiXmlNode* node; - - for ( node = FirstChild(); - node; - node = node->NextSibling() ) - { - if ( node->ToElement() ) - return node->ToElement(); - } - return 0; -} - - -const TiXmlElement* TiXmlNode::FirstChildElement( const char* _value ) const -{ - const TiXmlNode* node; - - for ( node = FirstChild( _value ); - node; - node = node->NextSibling( _value ) ) - { - if ( node->ToElement() ) - return node->ToElement(); - } - return 0; -} - - -const TiXmlElement* TiXmlNode::NextSiblingElement() const -{ - const TiXmlNode* node; - - for ( node = NextSibling(); - node; - node = node->NextSibling() ) - { - if ( node->ToElement() ) - return node->ToElement(); - } - return 0; -} - - -const TiXmlElement* TiXmlNode::NextSiblingElement( const char* _value ) const -{ - const TiXmlNode* node; - - for ( node = NextSibling( _value ); - node; - node = node->NextSibling( _value ) ) - { - if ( node->ToElement() ) - return node->ToElement(); - } - return 0; -} - - -const TiXmlDocument* TiXmlNode::GetDocument() const -{ - const TiXmlNode* node; - - for( node = this; node; node = node->parent ) - { - if ( node->ToDocument() ) - return node->ToDocument(); - } - return 0; -} - - -TiXmlElement::TiXmlElement (const char* _value) - : TiXmlNode( TiXmlNode::TINYXML_ELEMENT ) -{ - firstChild = lastChild = 0; - value = _value; -} - - -#ifdef TIXML_USE_STL -TiXmlElement::TiXmlElement( const std::string& _value ) - : TiXmlNode( TiXmlNode::TINYXML_ELEMENT ) -{ - firstChild = lastChild = 0; - value = _value; -} -#endif - - -TiXmlElement::TiXmlElement( const TiXmlElement& copy) - : TiXmlNode( TiXmlNode::TINYXML_ELEMENT ) -{ - firstChild = lastChild = 0; - copy.CopyTo( this ); -} - - -TiXmlElement& TiXmlElement::operator=( const TiXmlElement& base ) -{ - ClearThis(); - base.CopyTo( this ); - return *this; -} - - -TiXmlElement::~TiXmlElement() -{ - ClearThis(); -} - - -void TiXmlElement::ClearThis() -{ - Clear(); - while( attributeSet.First() ) - { - TiXmlAttribute* node = attributeSet.First(); - attributeSet.Remove( node ); - delete node; - } -} - - -const char* TiXmlElement::Attribute( const char* name ) const -{ - const TiXmlAttribute* node = attributeSet.Find( name ); - if ( node ) - return node->Value(); - return 0; -} - - -#ifdef TIXML_USE_STL -const std::string* TiXmlElement::Attribute( const std::string& name ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - if ( attrib ) - return &attrib->ValueStr(); - return 0; -} -#endif - - -const char* TiXmlElement::Attribute( const char* name, int* i ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - const char* result = 0; - - if ( attrib ) - { - result = attrib->Value(); - if ( i ) - { - attrib->QueryIntValue( i ); - } - } - return result; -} - - -#ifdef TIXML_USE_STL -const std::string* TiXmlElement::Attribute( const std::string& name, int* i ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - const std::string* result = 0; - - if ( attrib ) - { - result = &attrib->ValueStr(); - if ( i ) - { - attrib->QueryIntValue( i ); - } - } - return result; -} -#endif - - -const char* TiXmlElement::Attribute( const char* name, double* d ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - const char* result = 0; - - if ( attrib ) - { - result = attrib->Value(); - if ( d ) - { - attrib->QueryDoubleValue( d ); - } - } - return result; -} - - -#ifdef TIXML_USE_STL -const std::string* TiXmlElement::Attribute( const std::string& name, double* d ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - const std::string* result = 0; - - if ( attrib ) - { - result = &attrib->ValueStr(); - if ( d ) - { - attrib->QueryDoubleValue( d ); - } - } - return result; -} -#endif - - -int TiXmlElement::QueryIntAttribute( const char* name, int* ival ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - if ( !attrib ) - return TIXML_NO_ATTRIBUTE; - return attrib->QueryIntValue( ival ); -} - - -int TiXmlElement::QueryUnsignedAttribute( const char* name, unsigned* value2 ) const -{ - const TiXmlAttribute* node = attributeSet.Find( name ); - if ( !node ) - return TIXML_NO_ATTRIBUTE; - - int ival = 0; - int result = node->QueryIntValue( &ival ); - *value2 = (unsigned)ival; - return result; -} - - -int TiXmlElement::QueryBoolAttribute( const char* name, bool* bval ) const -{ - const TiXmlAttribute* node = attributeSet.Find( name ); - if ( !node ) - return TIXML_NO_ATTRIBUTE; - - int result = TIXML_WRONG_TYPE; - if ( StringEqual( node->Value(), "true", true, TIXML_ENCODING_UNKNOWN ) - || StringEqual( node->Value(), "yes", true, TIXML_ENCODING_UNKNOWN ) - || StringEqual( node->Value(), "1", true, TIXML_ENCODING_UNKNOWN ) ) - { - *bval = true; - result = TIXML_SUCCESS; - } - else if ( StringEqual( node->Value(), "false", true, TIXML_ENCODING_UNKNOWN ) - || StringEqual( node->Value(), "no", true, TIXML_ENCODING_UNKNOWN ) - || StringEqual( node->Value(), "0", true, TIXML_ENCODING_UNKNOWN ) ) - { - *bval = false; - result = TIXML_SUCCESS; - } - return result; -} - - - -#ifdef TIXML_USE_STL -int TiXmlElement::QueryIntAttribute( const std::string& name, int* ival ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - if ( !attrib ) - return TIXML_NO_ATTRIBUTE; - return attrib->QueryIntValue( ival ); -} -#endif - - -int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - if ( !attrib ) - return TIXML_NO_ATTRIBUTE; - return attrib->QueryDoubleValue( dval ); -} - - -#ifdef TIXML_USE_STL -int TiXmlElement::QueryDoubleAttribute( const std::string& name, double* dval ) const -{ - const TiXmlAttribute* attrib = attributeSet.Find( name ); - if ( !attrib ) - return TIXML_NO_ATTRIBUTE; - return attrib->QueryDoubleValue( dval ); -} -#endif - - -void TiXmlElement::SetAttribute( const char* name, int val ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( name ); - if ( attrib ) - { - attrib->SetIntValue( val ); - } -} - - -#ifdef TIXML_USE_STL -void TiXmlElement::SetAttribute( const std::string& name, int val ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( name ); - if ( attrib ) - { - attrib->SetIntValue( val ); - } -} -#endif - - -void TiXmlElement::SetDoubleAttribute( const char* name, double val ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( name ); - if ( attrib ) - { - attrib->SetDoubleValue( val ); - } -} - - -#ifdef TIXML_USE_STL -void TiXmlElement::SetDoubleAttribute( const std::string& name, double val ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( name ); - if ( attrib ) - { - attrib->SetDoubleValue( val ); - } -} -#endif - - -void TiXmlElement::SetAttribute( const char* cname, const char* cvalue ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( cname ); - if ( attrib ) - { - attrib->SetValue( cvalue ); - } -} - - -#ifdef TIXML_USE_STL -void TiXmlElement::SetAttribute( const std::string& _name, const std::string& _value ) -{ - TiXmlAttribute* attrib = attributeSet.FindOrCreate( _name ); - if ( attrib ) - { - attrib->SetValue( _value ); - } -} -#endif - - -void TiXmlElement::Print( FILE* cfile, int depth ) const -{ - int i; - assert( cfile ); - for ( i=0; i<depth; i++ ) - { - fprintf( cfile, " " ); - } - - fprintf( cfile, "<%s", value.c_str() ); - - const TiXmlAttribute* attrib; - for ( attrib = attributeSet.First(); attrib; attrib = attrib->Next() ) - { - fprintf( cfile, " " ); - attrib->Print( cfile, depth ); - } - - // There are 3 different formatting approaches: - // 1) An element without children is printed as a <foo /> node - // 2) An element with only a text child is printed as <foo> text </foo> - // 3) An element with children is printed on multiple lines. - TiXmlNode* node; - if ( !firstChild ) - { - fprintf( cfile, " />" ); - } - else if ( firstChild == lastChild && firstChild->ToText() ) - { - fprintf( cfile, ">" ); - firstChild->Print( cfile, depth + 1 ); - fprintf( cfile, "</%s>", value.c_str() ); - } - else - { - fprintf( cfile, ">" ); - - for ( node = firstChild; node; node=node->NextSibling() ) - { - if ( !node->ToText() ) - { - fprintf( cfile, "\n" ); - } - node->Print( cfile, depth+1 ); - } - fprintf( cfile, "\n" ); - for( i=0; i<depth; ++i ) - { - fprintf( cfile, " " ); - } - fprintf( cfile, "</%s>", value.c_str() ); - } -} - - -void TiXmlElement::CopyTo( TiXmlElement* target ) const -{ - // superclass: - TiXmlNode::CopyTo( target ); - - // Element class: - // Clone the attributes, then clone the children. - const TiXmlAttribute* attribute = 0; - for( attribute = attributeSet.First(); - attribute; - attribute = attribute->Next() ) - { - target->SetAttribute( attribute->Name(), attribute->Value() ); - } - - TiXmlNode* node = 0; - for ( node = firstChild; node; node = node->NextSibling() ) - { - target->LinkEndChild( node->Clone() ); - } -} - -bool TiXmlElement::Accept( TiXmlVisitor* visitor ) const -{ - if ( visitor->VisitEnter( *this, attributeSet.First() ) ) - { - for ( const TiXmlNode* node=FirstChild(); node; node=node->NextSibling() ) - { - if ( !node->Accept( visitor ) ) - break; - } - } - return visitor->VisitExit( *this ); -} - - -TiXmlNode* TiXmlElement::Clone() const -{ - TiXmlElement* clone = new TiXmlElement( Value() ); - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -const char* TiXmlElement::GetText() const -{ - const TiXmlNode* child = this->FirstChild(); - if ( child ) - { - const TiXmlText* childText = child->ToText(); - if ( childText ) - { - return childText->Value(); - } - } - return 0; -} - - -TiXmlDocument::TiXmlDocument() : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT ) -{ - tabsize = 4; - useMicrosoftBOM = false; - ClearError(); -} - -TiXmlDocument::TiXmlDocument( const char* documentName ) : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT ) -{ - tabsize = 4; - useMicrosoftBOM = false; - value = documentName; - ClearError(); -} - - -#ifdef TIXML_USE_STL -TiXmlDocument::TiXmlDocument( const std::string& documentName ) : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT ) -{ - tabsize = 4; - useMicrosoftBOM = false; - value = documentName; - ClearError(); -} -#endif - - -TiXmlDocument::TiXmlDocument( const TiXmlDocument& copy ) : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT ) -{ - copy.CopyTo( this ); -} - - -TiXmlDocument& TiXmlDocument::operator=( const TiXmlDocument& copy ) -{ - Clear(); - copy.CopyTo( this ); - return *this; -} - - -bool TiXmlDocument::LoadFile( TiXmlEncoding encoding ) -{ - return LoadFile( Value(), encoding ); -} - - -bool TiXmlDocument::SaveFile() const -{ - return SaveFile( Value() ); -} - -bool TiXmlDocument::LoadFile( const char* _filename, TiXmlEncoding encoding ) -{ - TIXML_STRING filename( _filename ); - value = filename; - - // reading in binary mode so that tinyxml can normalize the EOL - FILE* file = TiXmlFOpen( value.c_str (), "rb" ); - - if ( file ) - { - bool result = LoadFile( file, encoding ); - fclose( file ); - return result; - } - else - { - SetError( TIXML_ERROR_OPENING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN ); - return false; - } -} - -bool TiXmlDocument::LoadFile( FILE* file, TiXmlEncoding encoding ) -{ - if ( !file ) - { - SetError( TIXML_ERROR_OPENING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN ); - return false; - } - - // Delete the existing data: - Clear(); - location.Clear(); - - // Get the file size, so we can pre-allocate the string. HUGE speed impact. - long length = 0; - fseek( file, 0, SEEK_END ); - length = ftell( file ); - fseek( file, 0, SEEK_SET ); - - // Strange case, but good to handle up front. - if ( length <= 0 ) - { - SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return false; - } - - // Subtle bug here. TinyXml did use fgets. But from the XML spec: - // 2.11 End-of-Line Handling - // <snip> - // <quote> - // ...the XML processor MUST behave as if it normalized all line breaks in external - // parsed entities (including the document entity) on input, before parsing, by translating - // both the two-character sequence #xD #xA and any #xD that is not followed by #xA to - // a single #xA character. - // </quote> - // - // It is not clear fgets does that, and certainly isn't clear it works cross platform. - // Generally, you expect fgets to translate from the convention of the OS to the c/unix - // convention, and not work generally. - - /* - while( fgets( buf, sizeof(buf), file ) ) - { - data += buf; - } - */ - - char* buf = new char[ length+1 ]; - buf[0] = 0; - - if ( fread( buf, length, 1, file ) != 1 ) - { - delete [] buf; - SetError( TIXML_ERROR_OPENING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN ); - return false; - } - - // Process the buffer in place to normalize new lines. (See comment above.) - // Copies from the 'p' to 'q' pointer, where p can advance faster if - // a newline-carriage return is hit. - // - // Wikipedia: - // Systems based on ASCII or a compatible character set use either LF (Line feed, '\n', 0x0A, 10 in decimal) or - // CR (Carriage return, '\r', 0x0D, 13 in decimal) individually, or CR followed by LF (CR+LF, 0x0D 0x0A)... - // * LF: Multics, Unix and Unix-like systems (GNU/Linux, AIX, Xenix, Mac OS X, FreeBSD, etc.), BeOS, Amiga, RISC OS, and others - // * CR+LF: DEC RT-11 and most other early non-Unix, non-IBM OSes, CP/M, MP/M, DOS, OS/2, Microsoft Windows, Symbian OS - // * CR: Commodore 8-bit machines, Apple II family, Mac OS up to version 9 and OS-9 - - const char* p = buf; // the read head - char* q = buf; // the write head - const char CR = 0x0d; - const char LF = 0x0a; - - buf[length] = 0; - while( *p ) - { - assert( p < (buf+length) ); - assert( q <= (buf+length) ); - assert( q <= p ); - - if ( *p == CR ) - { - *q++ = LF; - p++; - if ( *p == LF ) // check for CR+LF (and skip LF) - { - p++; - } - } - else - { - *q++ = *p++; - } - } - assert( q <= (buf+length) ); - *q = 0; - - Parse( buf, 0, encoding ); - - delete [] buf; - return !Error(); -} - - -bool TiXmlDocument::SaveFile( const char* filename ) const -{ - // The old c stuff lives on... - FILE* fp = TiXmlFOpen( filename, "w" ); - if ( fp ) - { - bool result = SaveFile( fp ); - fclose( fp ); - return result; - } - return false; -} - - -bool TiXmlDocument::SaveFile( FILE* fp ) const -{ - if ( useMicrosoftBOM ) - { - const unsigned char TIXML_UTF_LEAD_0 = 0xefU; - const unsigned char TIXML_UTF_LEAD_1 = 0xbbU; - const unsigned char TIXML_UTF_LEAD_2 = 0xbfU; - - fputc( TIXML_UTF_LEAD_0, fp ); - fputc( TIXML_UTF_LEAD_1, fp ); - fputc( TIXML_UTF_LEAD_2, fp ); - } - Print( fp, 0 ); - return (ferror(fp) == 0); -} - - -void TiXmlDocument::CopyTo( TiXmlDocument* target ) const -{ - TiXmlNode::CopyTo( target ); - - target->error = error; - target->errorId = errorId; - target->errorDesc = errorDesc; - target->tabsize = tabsize; - target->errorLocation = errorLocation; - target->useMicrosoftBOM = useMicrosoftBOM; - - TiXmlNode* node = 0; - for ( node = firstChild; node; node = node->NextSibling() ) - { - target->LinkEndChild( node->Clone() ); - } -} - - -TiXmlNode* TiXmlDocument::Clone() const -{ - TiXmlDocument* clone = new TiXmlDocument(); - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -void TiXmlDocument::Print( FILE* cfile, int depth ) const -{ - assert( cfile ); - for ( const TiXmlNode* node=FirstChild(); node; node=node->NextSibling() ) - { - node->Print( cfile, depth ); - fprintf( cfile, "\n" ); - } -} - - -bool TiXmlDocument::Accept( TiXmlVisitor* visitor ) const -{ - if ( visitor->VisitEnter( *this ) ) - { - for ( const TiXmlNode* node=FirstChild(); node; node=node->NextSibling() ) - { - if ( !node->Accept( visitor ) ) - break; - } - } - return visitor->VisitExit( *this ); -} - - -const TiXmlAttribute* TiXmlAttribute::Next() const -{ - // We are using knowledge of the sentinel. The sentinel - // have a value or name. - if ( next->value.empty() && next->name.empty() ) - return 0; - return next; -} - -/* -TiXmlAttribute* TiXmlAttribute::Next() -{ - // We are using knowledge of the sentinel. The sentinel - // have a value or name. - if ( next->value.empty() && next->name.empty() ) - return 0; - return next; -} -*/ - -const TiXmlAttribute* TiXmlAttribute::Previous() const -{ - // We are using knowledge of the sentinel. The sentinel - // have a value or name. - if ( prev->value.empty() && prev->name.empty() ) - return 0; - return prev; -} - -/* -TiXmlAttribute* TiXmlAttribute::Previous() -{ - // We are using knowledge of the sentinel. The sentinel - // have a value or name. - if ( prev->value.empty() && prev->name.empty() ) - return 0; - return prev; -} -*/ - -void TiXmlAttribute::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const -{ - TIXML_STRING n, v; - - EncodeString( name, &n ); - EncodeString( value, &v ); - - if (value.find ('\"') == TIXML_STRING::npos) - { - if ( cfile ) - { - fprintf (cfile, "%s=\"%s\"", n.c_str(), v.c_str() ); - } - if ( str ) - { - (*str) += n; - (*str) += "=\""; - (*str) += v; - (*str) += "\""; - } - } - else - { - if ( cfile ) - { - fprintf (cfile, "%s='%s'", n.c_str(), v.c_str() ); - } - if ( str ) - { - (*str) += n; - (*str) += "='"; - (*str) += v; - (*str) += "'"; - } - } -} - - -int TiXmlAttribute::QueryIntValue( int* ival ) const -{ - if ( TIXML_SSCANF( value.c_str(), "%d", ival ) == 1 ) - return TIXML_SUCCESS; - return TIXML_WRONG_TYPE; -} - -int TiXmlAttribute::QueryDoubleValue( double* dval ) const -{ - if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 ) - return TIXML_SUCCESS; - return TIXML_WRONG_TYPE; -} - -void TiXmlAttribute::SetIntValue( int _value ) -{ - char buf [64]; -#if defined(TIXML_SNPRINTF) - TIXML_SNPRINTF(buf, sizeof(buf), "%d", _value); -#else - sprintf (buf, "%d", _value); -#endif - SetValue (buf); -} - -void TiXmlAttribute::SetDoubleValue( double _value ) -{ - char buf [256]; -#if defined(TIXML_SNPRINTF) - TIXML_SNPRINTF( buf, sizeof(buf), "%g", _value); -#else - sprintf (buf, "%g", _value); -#endif - SetValue (buf); -} - -int TiXmlAttribute::IntValue() const -{ - return atoi (value.c_str ()); -} - -double TiXmlAttribute::DoubleValue() const -{ - return atof (value.c_str ()); -} - - -TiXmlComment::TiXmlComment( const TiXmlComment& copy ) : TiXmlNode( TiXmlNode::TINYXML_COMMENT ) -{ - copy.CopyTo( this ); -} - - -TiXmlComment& TiXmlComment::operator=( const TiXmlComment& base ) -{ - Clear(); - base.CopyTo( this ); - return *this; -} - - -void TiXmlComment::Print( FILE* cfile, int depth ) const -{ - assert( cfile ); - for ( int i=0; i<depth; i++ ) - { - fprintf( cfile, " " ); - } - fprintf( cfile, "<!--%s-->", value.c_str() ); -} - - -void TiXmlComment::CopyTo( TiXmlComment* target ) const -{ - TiXmlNode::CopyTo( target ); -} - - -bool TiXmlComment::Accept( TiXmlVisitor* visitor ) const -{ - return visitor->Visit( *this ); -} - - -TiXmlNode* TiXmlComment::Clone() const -{ - TiXmlComment* clone = new TiXmlComment(); - - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -void TiXmlText::Print( FILE* cfile, int depth ) const -{ - assert( cfile ); - if ( cdata ) - { - int i; - fprintf( cfile, "\n" ); - for ( i=0; i<depth; i++ ) - { - fprintf( cfile, " " ); - } - fprintf( cfile, "<![CDATA[%s]]>\n", value.c_str() ); // unformatted output - } - else - { - TIXML_STRING buffer; - EncodeString( value, &buffer ); - fprintf( cfile, "%s", buffer.c_str() ); - } -} - - -void TiXmlText::CopyTo( TiXmlText* target ) const -{ - TiXmlNode::CopyTo( target ); - target->cdata = cdata; -} - - -bool TiXmlText::Accept( TiXmlVisitor* visitor ) const -{ - return visitor->Visit( *this ); -} - - -TiXmlNode* TiXmlText::Clone() const -{ - TiXmlText* clone = 0; - clone = new TiXmlText( "" ); - - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -TiXmlDeclaration::TiXmlDeclaration( const char* _version, - const char* _encoding, - const char* _standalone ) - : TiXmlNode( TiXmlNode::TINYXML_DECLARATION ) -{ - version = _version; - encoding = _encoding; - standalone = _standalone; -} - - -#ifdef TIXML_USE_STL -TiXmlDeclaration::TiXmlDeclaration( const std::string& _version, - const std::string& _encoding, - const std::string& _standalone ) - : TiXmlNode( TiXmlNode::TINYXML_DECLARATION ) -{ - version = _version; - encoding = _encoding; - standalone = _standalone; -} -#endif - - -TiXmlDeclaration::TiXmlDeclaration( const TiXmlDeclaration& copy ) - : TiXmlNode( TiXmlNode::TINYXML_DECLARATION ) -{ - copy.CopyTo( this ); -} - - -TiXmlDeclaration& TiXmlDeclaration::operator=( const TiXmlDeclaration& copy ) -{ - Clear(); - copy.CopyTo( this ); - return *this; -} - - -void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const -{ - if ( cfile ) fprintf( cfile, "<?xml " ); - if ( str ) (*str) += "<?xml "; - - if ( !version.empty() ) - { - if ( cfile ) fprintf (cfile, "version=\"%s\" ", version.c_str ()); - if ( str ) { (*str) += "version=\""; (*str) += version; (*str) += "\" "; } - } - if ( !encoding.empty() ) - { - if ( cfile ) fprintf (cfile, "encoding=\"%s\" ", encoding.c_str ()); - if ( str ) { (*str) += "encoding=\""; (*str) += encoding; (*str) += "\" "; } - } - if ( !standalone.empty() ) - { - if ( cfile ) fprintf (cfile, "standalone=\"%s\" ", standalone.c_str ()); - if ( str ) { (*str) += "standalone=\""; (*str) += standalone; (*str) += "\" "; } - } - if ( cfile ) fprintf( cfile, "?>" ); - if ( str ) (*str) += "?>"; -} - - -void TiXmlDeclaration::CopyTo( TiXmlDeclaration* target ) const -{ - TiXmlNode::CopyTo( target ); - - target->version = version; - target->encoding = encoding; - target->standalone = standalone; -} - - -bool TiXmlDeclaration::Accept( TiXmlVisitor* visitor ) const -{ - return visitor->Visit( *this ); -} - - -TiXmlNode* TiXmlDeclaration::Clone() const -{ - TiXmlDeclaration* clone = new TiXmlDeclaration(); - - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -void TiXmlUnknown::Print( FILE* cfile, int depth ) const -{ - for ( int i=0; i<depth; i++ ) - fprintf( cfile, " " ); - fprintf( cfile, "<%s>", value.c_str() ); -} - - -void TiXmlUnknown::CopyTo( TiXmlUnknown* target ) const -{ - TiXmlNode::CopyTo( target ); -} - - -bool TiXmlUnknown::Accept( TiXmlVisitor* visitor ) const -{ - return visitor->Visit( *this ); -} - - -TiXmlNode* TiXmlUnknown::Clone() const -{ - TiXmlUnknown* clone = new TiXmlUnknown(); - - if ( !clone ) - return 0; - - CopyTo( clone ); - return clone; -} - - -TiXmlAttributeSet::TiXmlAttributeSet() -{ - sentinel.next = &sentinel; - sentinel.prev = &sentinel; -} - - -TiXmlAttributeSet::~TiXmlAttributeSet() -{ - assert( sentinel.next == &sentinel ); - assert( sentinel.prev == &sentinel ); -} - - -void TiXmlAttributeSet::Add( TiXmlAttribute* addMe ) -{ -#ifdef TIXML_USE_STL - assert( !Find( TIXML_STRING( addMe->Name() ) ) ); // Shouldn't be multiply adding to the set. -#else - assert( !Find( addMe->Name() ) ); // Shouldn't be multiply adding to the set. -#endif - - addMe->next = &sentinel; - addMe->prev = sentinel.prev; - - sentinel.prev->next = addMe; - sentinel.prev = addMe; -} - -void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe ) -{ - TiXmlAttribute* node; - - for( node = sentinel.next; node != &sentinel; node = node->next ) - { - if ( node == removeMe ) - { - node->prev->next = node->next; - node->next->prev = node->prev; - node->next = 0; - node->prev = 0; - return; - } - } - assert( 0 ); // we tried to remove a non-linked attribute. -} - - -#ifdef TIXML_USE_STL -TiXmlAttribute* TiXmlAttributeSet::Find( const std::string& name ) const -{ - for( TiXmlAttribute* node = sentinel.next; node != &sentinel; node = node->next ) - { - if ( node->name == name ) - return node; - } - return 0; -} - -TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name ) -{ - TiXmlAttribute* attrib = Find( _name ); - if ( !attrib ) - { - attrib = new TiXmlAttribute(); - Add( attrib ); - attrib->SetName( _name ); - } - return attrib; -} -#endif - - -TiXmlAttribute* TiXmlAttributeSet::Find( const char* name ) const -{ - for( TiXmlAttribute* node = sentinel.next; node != &sentinel; node = node->next ) - { - if ( strcmp( node->name.c_str(), name ) == 0 ) - return node; - } - return 0; -} - - -TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const char* _name ) -{ - TiXmlAttribute* attrib = Find( _name ); - if ( !attrib ) - { - attrib = new TiXmlAttribute(); - Add( attrib ); - attrib->SetName( _name ); - } - return attrib; -} - - -#ifdef TIXML_USE_STL -std::istream& operator>> (std::istream& in, TiXmlNode& base) -{ - TIXML_STRING tag; - tag.reserve( 8 * 1000 ); - base.StreamIn( &in, &tag ); - - base.Parse( tag.c_str(), 0, TIXML_DEFAULT_ENCODING ); - return in; -} -#endif - - -#ifdef TIXML_USE_STL -std::ostream& operator<< (std::ostream& out, const TiXmlNode& base) -{ - TiXmlPrinter printer; - printer.SetStreamPrinting(); - base.Accept( &printer ); - out << printer.Str(); - - return out; -} - - -std::string& operator<< (std::string& out, const TiXmlNode& base ) -{ - TiXmlPrinter printer; - printer.SetStreamPrinting(); - base.Accept( &printer ); - out.append( printer.Str() ); - - return out; -} -#endif - - -TiXmlHandle TiXmlHandle::FirstChild() const -{ - if ( node ) - { - TiXmlNode* child = node->FirstChild(); - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::FirstChild( const char* value ) const -{ - if ( node ) - { - TiXmlNode* child = node->FirstChild( value ); - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::FirstChildElement() const -{ - if ( node ) - { - TiXmlElement* child = node->FirstChildElement(); - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::FirstChildElement( const char* value ) const -{ - if ( node ) - { - TiXmlElement* child = node->FirstChildElement( value ); - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::Child( int count ) const -{ - if ( node ) - { - int i; - TiXmlNode* child = node->FirstChild(); - for ( i=0; - child && i<count; - child = child->NextSibling(), ++i ) - { - // nothing - } - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::Child( const char* value, int count ) const -{ - if ( node ) - { - int i; - TiXmlNode* child = node->FirstChild( value ); - for ( i=0; - child && i<count; - child = child->NextSibling( value ), ++i ) - { - // nothing - } - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::ChildElement( int count ) const -{ - if ( node ) - { - int i; - TiXmlElement* child = node->FirstChildElement(); - for ( i=0; - child && i<count; - child = child->NextSiblingElement(), ++i ) - { - // nothing - } - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const -{ - if ( node ) - { - int i; - TiXmlElement* child = node->FirstChildElement( value ); - for ( i=0; - child && i<count; - child = child->NextSiblingElement( value ), ++i ) - { - // nothing - } - if ( child ) - return TiXmlHandle( child ); - } - return TiXmlHandle( 0 ); -} - - -bool TiXmlPrinter::VisitEnter( const TiXmlDocument& ) -{ - return true; -} - -bool TiXmlPrinter::VisitExit( const TiXmlDocument& ) -{ - return true; -} - -bool TiXmlPrinter::VisitEnter( const TiXmlElement& element, const TiXmlAttribute* firstAttribute ) -{ - DoIndent(); - buffer += "<"; - buffer += element.Value(); - - for( const TiXmlAttribute* attrib = firstAttribute; attrib; attrib = attrib->Next() ) - { - buffer += " "; - attrib->Print( 0, 0, &buffer ); - } - - if ( !element.FirstChild() ) - { - buffer += " />"; - DoLineBreak(); - } - else - { - buffer += ">"; - if ( element.FirstChild()->ToText() - && element.LastChild() == element.FirstChild() - && element.FirstChild()->ToText()->CDATA() == false ) - { - simpleTextPrint = true; - // no DoLineBreak()! - } - else - { - DoLineBreak(); - } - } - ++depth; - return true; -} - - -bool TiXmlPrinter::VisitExit( const TiXmlElement& element ) -{ - --depth; - if ( !element.FirstChild() ) - { - // nothing. - } - else - { - if ( simpleTextPrint ) - { - simpleTextPrint = false; - } - else - { - DoIndent(); - } - buffer += "</"; - buffer += element.Value(); - buffer += ">"; - DoLineBreak(); - } - return true; -} - - -bool TiXmlPrinter::Visit( const TiXmlText& text ) -{ - if ( text.CDATA() ) - { - DoIndent(); - buffer += "<![CDATA["; - buffer += text.Value(); - buffer += "]]>"; - DoLineBreak(); - } - else if ( simpleTextPrint ) - { - TIXML_STRING str; - TiXmlBase::EncodeString( text.ValueTStr(), &str ); - buffer += str; - } - else - { - DoIndent(); - TIXML_STRING str; - TiXmlBase::EncodeString( text.ValueTStr(), &str ); - buffer += str; - DoLineBreak(); - } - return true; -} - - -bool TiXmlPrinter::Visit( const TiXmlDeclaration& declaration ) -{ - DoIndent(); - declaration.Print( 0, 0, &buffer ); - DoLineBreak(); - return true; -} - - -bool TiXmlPrinter::Visit( const TiXmlComment& comment ) -{ - DoIndent(); - buffer += "<!--"; - buffer += comment.Value(); - buffer += "-->"; - DoLineBreak(); - return true; -} - - -bool TiXmlPrinter::Visit( const TiXmlUnknown& unknown ) -{ - DoIndent(); - buffer += "<"; - buffer += unknown.Value(); - buffer += ">"; - DoLineBreak(); - return true; -} - diff --git a/shared/tinyxml/tinyxml.h b/shared/tinyxml/tinyxml.h deleted file mode 100644 index 32801d0f..00000000 --- a/shared/tinyxml/tinyxml.h +++ /dev/null @@ -1,1832 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml -Original code by Lee Thomason (www.grinninglizard.com) - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - - -#ifndef TINYXML_INCLUDED -#define TINYXML_INCLUDED - -#ifdef _MSC_VER -#pragma warning( push ) -#pragma warning( disable : 4530 ) -#pragma warning( disable : 4786 ) -#endif - -#include <ctype.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <assert.h> - -// Help out windows: -#if defined( _DEBUG ) && !defined( DEBUG ) -#define DEBUG -#endif - -#ifdef TIXML_USE_STL -#include <string> -#include <iostream> -#include <sstream> -#define TIXML_STRING std::string -#else -#include "tinystr.h" -#define TIXML_STRING TiXmlString -#endif - -// Deprecated library function hell. Compilers want to use the -// new safe versions. This probably doesn't fully address the problem, -// but it gets closer. There are too many compilers for me to fully -// test. If you get compilation troubles, undefine TIXML_SAFE -#define TIXML_SAFE - -#ifdef TIXML_SAFE -#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) -// Microsoft visual studio, version 2005 and higher. -#define TIXML_SNPRINTF _snprintf_s -#define TIXML_SSCANF sscanf_s -#elif defined(_MSC_VER) && (_MSC_VER >= 1200 ) -// Microsoft visual studio, version 6 and higher. -//#pragma message( "Using _sn* functions." ) -#define TIXML_SNPRINTF _snprintf -#define TIXML_SSCANF sscanf -#elif defined(__GNUC__) && (__GNUC__ >= 3 ) -// GCC version 3 and higher.s -//#warning( "Using sn* functions." ) -#define TIXML_SNPRINTF snprintf -#define TIXML_SSCANF sscanf -#else -#define TIXML_SNPRINTF snprintf -#define TIXML_SSCANF sscanf -#endif -#endif - -class TiXmlDocument; -class TiXmlElement; -class TiXmlComment; -class TiXmlUnknown; -class TiXmlAttribute; -class TiXmlText; -class TiXmlDeclaration; -class TiXmlParsingData; - -const int TIXML_MAJOR_VERSION = 2; -const int TIXML_MINOR_VERSION = 6; -const int TIXML_PATCH_VERSION = 2; - -/* Internal structure for tracking location of items - in the XML file. -*/ -struct TiXmlCursor -{ - TiXmlCursor() { Clear(); } - void Clear() { row = col = -1; } - - int row; // 0 based. - int col; // 0 based. -}; - - -/** - Implements the interface to the "Visitor pattern" (see the Accept() method.) - If you call the Accept() method, it requires being passed a TiXmlVisitor - class to handle callbacks. For nodes that contain other nodes (Document, Element) - you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves - are simply called with Visit(). - - If you return 'true' from a Visit method, recursive parsing will continue. If you return - false, <b>no children of this node or its sibilings</b> will be Visited. - - All flavors of Visit methods have a default implementation that returns 'true' (continue - visiting). You need to only override methods that are interesting to you. - - Generally Accept() is called on the TiXmlDocument, although all nodes suppert Visiting. - - You should never change the document from a callback. - - @sa TiXmlNode::Accept() -*/ -class TiXmlVisitor -{ -public: - virtual ~TiXmlVisitor() {} - - /// Visit a document. - virtual bool VisitEnter( const TiXmlDocument& /*doc*/ ) { return true; } - /// Visit a document. - virtual bool VisitExit( const TiXmlDocument& /*doc*/ ) { return true; } - - /// Visit an element. - virtual bool VisitEnter( const TiXmlElement& /*element*/, const TiXmlAttribute* /*firstAttribute*/ ) { return true; } - /// Visit an element. - virtual bool VisitExit( const TiXmlElement& /*element*/ ) { return true; } - - /// Visit a declaration - virtual bool Visit( const TiXmlDeclaration& /*declaration*/ ) { return true; } - /// Visit a text node - virtual bool Visit( const TiXmlText& /*text*/ ) { return true; } - /// Visit a comment node - virtual bool Visit( const TiXmlComment& /*comment*/ ) { return true; } - /// Visit an unknown node - virtual bool Visit( const TiXmlUnknown& /*unknown*/ ) { return true; } -}; - -// Only used by Attribute::Query functions -enum -{ - TIXML_SUCCESS, - TIXML_NO_ATTRIBUTE, - TIXML_WRONG_TYPE -}; - - -// Used by the parsing routines. -enum TiXmlEncoding -{ - TIXML_ENCODING_UNKNOWN, - TIXML_ENCODING_UTF8, - TIXML_ENCODING_LEGACY -}; - -const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN; - -/** TiXmlBase is a base class for every class in TinyXml. - It does little except to establish that TinyXml classes - can be printed and provide some utility functions. - - In XML, the document and elements can contain - other elements and other types of nodes. - - @verbatim - A Document can contain: Element (container or leaf) - Comment (leaf) - Unknown (leaf) - Declaration( leaf ) - - An Element can contain: Element (container or leaf) - Text (leaf) - Attributes (not on tree) - Comment (leaf) - Unknown (leaf) - - A Decleration contains: Attributes (not on tree) - @endverbatim -*/ -class TiXmlBase -{ - friend class TiXmlNode; - friend class TiXmlElement; - friend class TiXmlDocument; - -public: - TiXmlBase() : userData(0) {} - virtual ~TiXmlBase() {} - - /** All TinyXml classes can print themselves to a filestream - or the string class (TiXmlString in non-STL mode, std::string - in STL mode.) Either or both cfile and str can be null. - - This is a formatted print, and will insert - tabs and newlines. - - (For an unformatted stream, use the << operator.) - */ - virtual void Print( FILE* cfile, int depth ) const = 0; - - /** The world does not agree on whether white space should be kept or - not. In order to make everyone happy, these global, static functions - are provided to set whether or not TinyXml will condense all white space - into a single space or not. The default is to condense. Note changing this - value is not thread safe. - */ - static void SetCondenseWhiteSpace( bool condense ) { condenseWhiteSpace = condense; } - - /// Return the current white space setting. - static bool IsWhiteSpaceCondensed() { return condenseWhiteSpace; } - - /** Return the position, in the original source file, of this node or attribute. - The row and column are 1-based. (That is the first row and first column is - 1,1). If the returns values are 0 or less, then the parser does not have - a row and column value. - - Generally, the row and column value will be set when the TiXmlDocument::Load(), - TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set - when the DOM was created from operator>>. - - The values reflect the initial load. Once the DOM is modified programmatically - (by adding or changing nodes and attributes) the new values will NOT update to - reflect changes in the document. - - There is a minor performance cost to computing the row and column. Computation - can be disabled if TiXmlDocument::SetTabSize() is called with 0 as the value. - - @sa TiXmlDocument::SetTabSize() - */ - int Row() const { return location.row + 1; } - int Column() const { return location.col + 1; } ///< See Row() - - void SetUserData( void* user ) { userData = user; } ///< Set a pointer to arbitrary user data. - void* GetUserData() { return userData; } ///< Get a pointer to arbitrary user data. - const void* GetUserData() const { return userData; } ///< Get a pointer to arbitrary user data. - - // Table that returs, for a given lead byte, the total number of bytes - // in the UTF-8 sequence. - static const int utf8ByteTable[256]; - - virtual const char* Parse( const char* p, - TiXmlParsingData* data, - TiXmlEncoding encoding /*= TIXML_ENCODING_UNKNOWN */ ) = 0; - - /** Expands entities in a string. Note this should not contian the tag's '<', '>', etc, - or they will be transformed into entities! - */ - static void EncodeString( const TIXML_STRING& str, TIXML_STRING* out ); - - enum - { - TIXML_NO_ERROR = 0, - TIXML_ERROR, - TIXML_ERROR_OPENING_FILE, - TIXML_ERROR_PARSING_ELEMENT, - TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, - TIXML_ERROR_READING_ELEMENT_VALUE, - TIXML_ERROR_READING_ATTRIBUTES, - TIXML_ERROR_PARSING_EMPTY, - TIXML_ERROR_READING_END_TAG, - TIXML_ERROR_PARSING_UNKNOWN, - TIXML_ERROR_PARSING_COMMENT, - TIXML_ERROR_PARSING_DECLARATION, - TIXML_ERROR_DOCUMENT_EMPTY, - TIXML_ERROR_EMBEDDED_NULL, - TIXML_ERROR_PARSING_CDATA, - TIXML_ERROR_DOCUMENT_TOP_ONLY, - - TIXML_ERROR_STRING_COUNT - }; - -protected: - - static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding ); - - inline static bool IsWhiteSpace( char c ) - { - return ( isspace( (unsigned char) c ) || c == '\n' || c == '\r' ); - } - inline static bool IsWhiteSpace( int c ) - { - if ( c < 256 ) - return IsWhiteSpace( (char) c ); - return false; // Again, only truly correct for English/Latin...but usually works. - } - -#ifdef TIXML_USE_STL - static bool StreamWhiteSpace( std::istream* in, TIXML_STRING* tag ); - static bool StreamTo( std::istream* in, int character, TIXML_STRING* tag ); -#endif - - /* Reads an XML name into the string provided. Returns - a pointer just past the last character of the name, - or 0 if the function has an error. - */ - static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding ); - - /* Reads text. Returns a pointer past the given end tag. - Wickedly complex options, but it keeps the (sensitive) code in one place. - */ - static const char* ReadText( const char* in, // where to start - TIXML_STRING* text, // the string read - bool ignoreWhiteSpace, // whether to keep the white space - const char* endTag, // what ends this text - bool ignoreCase, // whether to ignore case in the end tag - TiXmlEncoding encoding ); // the current encoding - - // If an entity has been found, transform it into a character. - static const char* GetEntity( const char* in, char* value, int* length, TiXmlEncoding encoding ); - - // Get a character, while interpreting entities. - // The length can be from 0 to 4 bytes. - inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding ) - { - assert( p ); - if ( encoding == TIXML_ENCODING_UTF8 ) - { - *length = utf8ByteTable[ *((const unsigned char*)p) ]; - assert( *length >= 0 && *length < 5 ); - } - else - { - *length = 1; - } - - if ( *length == 1 ) - { - if ( *p == '&' ) - return GetEntity( p, _value, length, encoding ); - *_value = *p; - return p+1; - } - else if ( *length ) - { - //strncpy( _value, p, *length ); // lots of compilers don't like this function (unsafe), - // and the null terminator isn't needed - for( int i=0; p[i] && i<*length; ++i ) - { - _value[i] = p[i]; - } - return p + (*length); - } - else - { - // Not valid text. - return 0; - } - } - - // Return true if the next characters in the stream are any of the endTag sequences. - // Ignore case only works for english, and should only be relied on when comparing - // to English words: StringEqual( p, "version", true ) is fine. - static bool StringEqual( const char* p, - const char* endTag, - bool ignoreCase, - TiXmlEncoding encoding ); - - static const char* errorString[ TIXML_ERROR_STRING_COUNT ]; - - TiXmlCursor location; - - /// Field containing a generic user pointer - void* userData; - - // None of these methods are reliable for any language except English. - // Good for approximation, not great for accuracy. - static int IsAlpha( unsigned char anyByte, TiXmlEncoding encoding ); - static int IsAlphaNum( unsigned char anyByte, TiXmlEncoding encoding ); - inline static int ToLower( int v, TiXmlEncoding encoding ) - { - if ( encoding == TIXML_ENCODING_UTF8 ) - { - if ( v < 128 ) return tolower( v ); - return v; - } - else - { - return tolower( v ); - } - } - static void ConvertUTF32ToUTF8( unsigned long input, char* output, int* length ); - -private: - TiXmlBase( const TiXmlBase& ); // not implemented. - void operator=( const TiXmlBase& base ); // not allowed. - - struct Entity - { - const char* str; - unsigned int strLength; - char chr; - }; - enum - { - NUM_ENTITY = 5, - MAX_ENTITY_LENGTH = 6 - - }; - static Entity entity[ NUM_ENTITY ]; - static bool condenseWhiteSpace; -}; - - -/** The parent class for everything in the Document Object Model. - (Except for attributes). - Nodes have siblings, a parent, and children. A node can be - in a document, or stand on its own. The type of a TiXmlNode - can be queried, and it can be cast to its more defined type. -*/ -class TiXmlNode : public TiXmlBase -{ - friend class TiXmlDocument; - friend class TiXmlElement; - -public: -#ifdef TIXML_USE_STL - - /** An input stream operator, for every class. Tolerant of newlines and - formatting, but doesn't expect them. - */ - friend std::istream& operator >> (std::istream& in, TiXmlNode& base); - - /** An output stream operator, for every class. Note that this outputs - without any newlines or formatting, as opposed to Print(), which - includes tabs and new lines. - - The operator<< and operator>> are not completely symmetric. Writing - a node to a stream is very well defined. You'll get a nice stream - of output, without any extra whitespace or newlines. - - But reading is not as well defined. (As it always is.) If you create - a TiXmlElement (for example) and read that from an input stream, - the text needs to define an element or junk will result. This is - true of all input streams, but it's worth keeping in mind. - - A TiXmlDocument will read nodes until it reads a root element, and - all the children of that root element. - */ - friend std::ostream& operator<< (std::ostream& out, const TiXmlNode& base); - - /// Appends the XML node or attribute to a std::string. - friend std::string& operator<< (std::string& out, const TiXmlNode& base ); - -#endif - - /** The types of XML nodes supported by TinyXml. (All the - unsupported types are picked up by UNKNOWN.) - */ - enum NodeType - { - TINYXML_DOCUMENT, - TINYXML_ELEMENT, - TINYXML_COMMENT, - TINYXML_UNKNOWN, - TINYXML_TEXT, - TINYXML_DECLARATION, - TINYXML_TYPECOUNT - }; - - virtual ~TiXmlNode(); - - /** The meaning of 'value' changes for the specific type of - TiXmlNode. - @verbatim - Document: filename of the xml file - Element: name of the element - Comment: the comment text - Unknown: the tag contents - Text: the text string - @endverbatim - - The subclasses will wrap this function. - */ - const char* Value() const { return value.c_str (); } - -#ifdef TIXML_USE_STL - /** Return Value() as a std::string. If you only use STL, - this is more efficient than calling Value(). - Only available in STL mode. - */ - const std::string& ValueStr() const { return value; } -#endif - - const TIXML_STRING& ValueTStr() const { return value; } - - /** Changes the value of the node. Defined as: - @verbatim - Document: filename of the xml file - Element: name of the element - Comment: the comment text - Unknown: the tag contents - Text: the text string - @endverbatim - */ - void SetValue(const char* _value) { value = _value;} - -#ifdef TIXML_USE_STL - /// STL std::string form. - void SetValue( const std::string& _value ) { value = _value; } -#endif - - /// Delete all the children of this node. Does not affect 'this'. - void Clear(); - - /// One step up the DOM. - TiXmlNode* Parent() { return parent; } - const TiXmlNode* Parent() const { return parent; } - - const TiXmlNode* FirstChild() const { return firstChild; } ///< The first child of this node. Will be null if there are no children. - TiXmlNode* FirstChild() { return firstChild; } - const TiXmlNode* FirstChild( const char* value ) const; ///< The first child of this node with the matching 'value'. Will be null if none found. - /// The first child of this node with the matching 'value'. Will be null if none found. - TiXmlNode* FirstChild( const char* _value ) - { - // Call through to the const version - safe since nothing is changed. Exiting syntax: cast this to a const (always safe) - // call the method, cast the return back to non-const. - return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->FirstChild( _value )); - } - const TiXmlNode* LastChild() const { return lastChild; } /// The last child of this node. Will be null if there are no children. - TiXmlNode* LastChild() { return lastChild; } - - const TiXmlNode* LastChild( const char* value ) const; /// The last child of this node matching 'value'. Will be null if there are no children. - TiXmlNode* LastChild( const char* _value ) - { - return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->LastChild( _value )); - } - -#ifdef TIXML_USE_STL - const TiXmlNode* FirstChild( const std::string& _value ) const { return FirstChild (_value.c_str ()); } ///< STL std::string form. - TiXmlNode* FirstChild( const std::string& _value ) { return FirstChild (_value.c_str ()); } ///< STL std::string form. - const TiXmlNode* LastChild( const std::string& _value ) const { return LastChild (_value.c_str ()); } ///< STL std::string form. - TiXmlNode* LastChild( const std::string& _value ) { return LastChild (_value.c_str ()); } ///< STL std::string form. -#endif - - /** An alternate way to walk the children of a node. - One way to iterate over nodes is: - @verbatim - for( child = parent->FirstChild(); child; child = child->NextSibling() ) - @endverbatim - - IterateChildren does the same thing with the syntax: - @verbatim - child = 0; - while( child = parent->IterateChildren( child ) ) - @endverbatim - - IterateChildren takes the previous child as input and finds - the next one. If the previous child is null, it returns the - first. IterateChildren will return null when done. - */ - const TiXmlNode* IterateChildren( const TiXmlNode* previous ) const; - TiXmlNode* IterateChildren( const TiXmlNode* previous ) - { - return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( previous ) ); - } - - /// This flavor of IterateChildren searches for children with a particular 'value' - const TiXmlNode* IterateChildren( const char* value, const TiXmlNode* previous ) const; - TiXmlNode* IterateChildren( const char* _value, const TiXmlNode* previous ) - { - return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( _value, previous ) ); - } - -#ifdef TIXML_USE_STL - const TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) const { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form. - TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form. -#endif - - /** Add a new node related to this. Adds a child past the LastChild. - Returns a pointer to the new object or NULL if an error occured. - */ - TiXmlNode* InsertEndChild( const TiXmlNode& addThis ); - - - /** Add a new node related to this. Adds a child past the LastChild. - - NOTE: the node to be added is passed by pointer, and will be - henceforth owned (and deleted) by tinyXml. This method is efficient - and avoids an extra copy, but should be used with care as it - uses a different memory model than the other insert functions. - - @sa InsertEndChild - */ - TiXmlNode* LinkEndChild( TiXmlNode* addThis ); - - /** Add a new node related to this. Adds a child before the specified child. - Returns a pointer to the new object or NULL if an error occured. - */ - TiXmlNode* InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis ); - - /** Add a new node related to this. Adds a child after the specified child. - Returns a pointer to the new object or NULL if an error occured. - */ - TiXmlNode* InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis ); - - /** Replace a child of this node. - Returns a pointer to the new object or NULL if an error occured. - */ - TiXmlNode* ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis ); - - /// Delete a child of this node. - bool RemoveChild( TiXmlNode* removeThis ); - - /// Navigate to a sibling node. - const TiXmlNode* PreviousSibling() const { return prev; } - TiXmlNode* PreviousSibling() { return prev; } - - /// Navigate to a sibling node. - const TiXmlNode* PreviousSibling( const char* ) const; - TiXmlNode* PreviousSibling( const char* _prev ) - { - return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->PreviousSibling( _prev ) ); - } - -#ifdef TIXML_USE_STL - const TiXmlNode* PreviousSibling( const std::string& _value ) const { return PreviousSibling (_value.c_str ()); } ///< STL std::string form. - TiXmlNode* PreviousSibling( const std::string& _value ) { return PreviousSibling (_value.c_str ()); } ///< STL std::string form. - const TiXmlNode* NextSibling( const std::string& _value) const { return NextSibling (_value.c_str ()); } ///< STL std::string form. - TiXmlNode* NextSibling( const std::string& _value) { return NextSibling (_value.c_str ()); } ///< STL std::string form. -#endif - - /// Navigate to a sibling node. - const TiXmlNode* NextSibling() const { return next; } - TiXmlNode* NextSibling() { return next; } - - /// Navigate to a sibling node with the given 'value'. - const TiXmlNode* NextSibling( const char* ) const; - TiXmlNode* NextSibling( const char* _next ) - { - return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->NextSibling( _next ) ); - } - - /** Convenience function to get through elements. - Calls NextSibling and ToElement. Will skip all non-Element - nodes. Returns 0 if there is not another element. - */ - const TiXmlElement* NextSiblingElement() const; - TiXmlElement* NextSiblingElement() - { - return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement() ); - } - - /** Convenience function to get through elements. - Calls NextSibling and ToElement. Will skip all non-Element - nodes. Returns 0 if there is not another element. - */ - const TiXmlElement* NextSiblingElement( const char* ) const; - TiXmlElement* NextSiblingElement( const char* _next ) - { - return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement( _next ) ); - } - -#ifdef TIXML_USE_STL - const TiXmlElement* NextSiblingElement( const std::string& _value) const { return NextSiblingElement (_value.c_str ()); } ///< STL std::string form. - TiXmlElement* NextSiblingElement( const std::string& _value) { return NextSiblingElement (_value.c_str ()); } ///< STL std::string form. -#endif - - /// Convenience function to get through elements. - const TiXmlElement* FirstChildElement() const; - TiXmlElement* FirstChildElement() - { - return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement() ); - } - - /// Convenience function to get through elements. - const TiXmlElement* FirstChildElement( const char* _value ) const; - TiXmlElement* FirstChildElement( const char* _value ) - { - return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement( _value ) ); - } - -#ifdef TIXML_USE_STL - const TiXmlElement* FirstChildElement( const std::string& _value ) const { return FirstChildElement (_value.c_str ()); } ///< STL std::string form. - TiXmlElement* FirstChildElement( const std::string& _value ) { return FirstChildElement (_value.c_str ()); } ///< STL std::string form. -#endif - - /** Query the type (as an enumerated value, above) of this node. - The possible types are: TINYXML_DOCUMENT, TINYXML_ELEMENT, TINYXML_COMMENT, - TINYXML_UNKNOWN, TINYXML_TEXT, and TINYXML_DECLARATION. - */ - int Type() const { return type; } - - /** Return a pointer to the Document this node lives in. - Returns null if not in a document. - */ - const TiXmlDocument* GetDocument() const; - TiXmlDocument* GetDocument() - { - return const_cast< TiXmlDocument* >( (const_cast< const TiXmlNode* >(this))->GetDocument() ); - } - - /// Returns true if this node has no children. - bool NoChildren() const { return !firstChild; } - - virtual const TiXmlDocument* ToDocument() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual const TiXmlElement* ToElement() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual const TiXmlComment* ToComment() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual const TiXmlUnknown* ToUnknown() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual const TiXmlText* ToText() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual const TiXmlDeclaration* ToDeclaration() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - - virtual TiXmlDocument* ToDocument() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual TiXmlElement* ToElement() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual TiXmlComment* ToComment() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual TiXmlUnknown* ToUnknown() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual TiXmlText* ToText() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - virtual TiXmlDeclaration* ToDeclaration() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type. - - /** Create an exact duplicate of this node and return it. The memory must be deleted - by the caller. - */ - virtual TiXmlNode* Clone() const = 0; - - /** Accept a hierchical visit the nodes in the TinyXML DOM. Every node in the - XML tree will be conditionally visited and the host will be called back - via the TiXmlVisitor interface. - - This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse - the XML for the callbacks, so the performance of TinyXML is unchanged by using this - interface versus any other.) - - The interface has been based on ideas from: - - - http://www.saxproject.org/ - - http://c2.com/cgi/wiki?HierarchicalVisitorPattern - - Which are both good references for "visiting". - - An example of using Accept(): - @verbatim - TiXmlPrinter printer; - tinyxmlDoc.Accept( &printer ); - const char* xmlcstr = printer.CStr(); - @endverbatim - */ - virtual bool Accept( TiXmlVisitor* visitor ) const = 0; - -protected: - TiXmlNode( NodeType _type ); - - // Copy to the allocated object. Shared functionality between Clone, Copy constructor, - // and the assignment operator. - void CopyTo( TiXmlNode* target ) const; - -#ifdef TIXML_USE_STL - // The real work of the input operator. - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ) = 0; -#endif - - // Figure out what is at *p, and parse it. Returns null if it is not an xml node. - TiXmlNode* Identify( const char* start, TiXmlEncoding encoding ); - - TiXmlNode* parent; - NodeType type; - - TiXmlNode* firstChild; - TiXmlNode* lastChild; - - TIXML_STRING value; - - TiXmlNode* prev; - TiXmlNode* next; - -private: - TiXmlNode( const TiXmlNode& ); // not implemented. - void operator=( const TiXmlNode& base ); // not allowed. -}; - - -/** An attribute is a name-value pair. Elements have an arbitrary - number of attributes, each with a unique name. - - @note The attributes are not TiXmlNodes, since they are not - part of the tinyXML document object model. There are other - suggested ways to look at this problem. -*/ -class TiXmlAttribute : public TiXmlBase -{ - friend class TiXmlAttributeSet; - -public: - /// Construct an empty attribute. - TiXmlAttribute() : TiXmlBase() - { - document = 0; - prev = next = 0; - } - -#ifdef TIXML_USE_STL - /// std::string constructor. - TiXmlAttribute( const std::string& _name, const std::string& _value ) - { - name = _name; - value = _value; - document = 0; - prev = next = 0; - } -#endif - - /// Construct an attribute with a name and value. - TiXmlAttribute( const char* _name, const char* _value ) - { - name = _name; - value = _value; - document = 0; - prev = next = 0; - } - - const char* Name() const { return name.c_str(); } ///< Return the name of this attribute. - const char* Value() const { return value.c_str(); } ///< Return the value of this attribute. -#ifdef TIXML_USE_STL - const std::string& ValueStr() const { return value; } ///< Return the value of this attribute. -#endif - int IntValue() const; ///< Return the value of this attribute, converted to an integer. - double DoubleValue() const; ///< Return the value of this attribute, converted to a double. - - // Get the tinyxml string representation - const TIXML_STRING& NameTStr() const { return name; } - - /** QueryIntValue examines the value string. It is an alternative to the - IntValue() method with richer error checking. - If the value is an integer, it is stored in 'value' and - the call returns TIXML_SUCCESS. If it is not - an integer, it returns TIXML_WRONG_TYPE. - - A specialized but useful call. Note that for success it returns 0, - which is the opposite of almost all other TinyXml calls. - */ - int QueryIntValue( int* _value ) const; - /// QueryDoubleValue examines the value string. See QueryIntValue(). - int QueryDoubleValue( double* _value ) const; - - void SetName( const char* _name ) { name = _name; } ///< Set the name of this attribute. - void SetValue( const char* _value ) { value = _value; } ///< Set the value. - - void SetIntValue( int _value ); ///< Set the value from an integer. - void SetDoubleValue( double _value ); ///< Set the value from a double. - -#ifdef TIXML_USE_STL - /// STL std::string form. - void SetName( const std::string& _name ) { name = _name; } - /// STL std::string form. - void SetValue( const std::string& _value ) { value = _value; } -#endif - - /// Get the next sibling attribute in the DOM. Returns null at end. - const TiXmlAttribute* Next() const; - TiXmlAttribute* Next() - { - return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Next() ); - } - - /// Get the previous sibling attribute in the DOM. Returns null at beginning. - const TiXmlAttribute* Previous() const; - TiXmlAttribute* Previous() - { - return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Previous() ); - } - - bool operator==( const TiXmlAttribute& rhs ) const { return rhs.name == name; } - bool operator<( const TiXmlAttribute& rhs ) const { return name < rhs.name; } - bool operator>( const TiXmlAttribute& rhs ) const { return name > rhs.name; } - - /* Attribute parsing starts: first letter of the name - returns: the next char after the value end quote - */ - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - // Prints this Attribute to a FILE stream. - virtual void Print( FILE* cfile, int depth ) const - { - Print( cfile, depth, 0 ); - } - void Print( FILE* cfile, int depth, TIXML_STRING* str ) const; - - // [internal use] - // Set the document pointer so the attribute can report errors. - void SetDocument( TiXmlDocument* doc ) { document = doc; } - -private: - TiXmlAttribute( const TiXmlAttribute& ); // not implemented. - void operator=( const TiXmlAttribute& base ); // not allowed. - - TiXmlDocument* document; // A pointer back to a document, for error reporting. - TIXML_STRING name; - TIXML_STRING value; - TiXmlAttribute* prev; - TiXmlAttribute* next; -}; - - -/* A class used to manage a group of attributes. - It is only used internally, both by the ELEMENT and the DECLARATION. - - The set can be changed transparent to the Element and Declaration - classes that use it, but NOT transparent to the Attribute - which has to implement a next() and previous() method. Which makes - it a bit problematic and prevents the use of STL. - - This version is implemented with circular lists because: - - I like circular lists - - it demonstrates some independence from the (typical) doubly linked list. -*/ -class TiXmlAttributeSet -{ -public: - TiXmlAttributeSet(); - ~TiXmlAttributeSet(); - - void Add( TiXmlAttribute* attribute ); - void Remove( TiXmlAttribute* attribute ); - - const TiXmlAttribute* First() const { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } - TiXmlAttribute* First() { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } - const TiXmlAttribute* Last() const { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } - TiXmlAttribute* Last() { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } - - TiXmlAttribute* Find( const char* _name ) const; - TiXmlAttribute* FindOrCreate( const char* _name ); - -# ifdef TIXML_USE_STL - TiXmlAttribute* Find( const std::string& _name ) const; - TiXmlAttribute* FindOrCreate( const std::string& _name ); -# endif - - -private: - //*ME: Because of hidden/disabled copy-construktor in TiXmlAttribute (sentinel-element), - //*ME: this class must be also use a hidden/disabled copy-constructor !!! - TiXmlAttributeSet( const TiXmlAttributeSet& ); // not allowed - void operator=( const TiXmlAttributeSet& ); // not allowed (as TiXmlAttribute) - - TiXmlAttribute sentinel; -}; - - -/** The element is a container class. It has a value, the element name, - and can contain other elements, text, comments, and unknowns. - Elements also contain an arbitrary number of attributes. -*/ -class TiXmlElement : public TiXmlNode -{ -public: - /// Construct an element. - TiXmlElement (const char* in_value); - -#ifdef TIXML_USE_STL - /// std::string constructor. - TiXmlElement( const std::string& _value ); -#endif - - TiXmlElement( const TiXmlElement& ); - - TiXmlElement& operator=( const TiXmlElement& base ); - - virtual ~TiXmlElement(); - - /** Given an attribute name, Attribute() returns the value - for the attribute of that name, or null if none exists. - */ - const char* Attribute( const char* name ) const; - - /** Given an attribute name, Attribute() returns the value - for the attribute of that name, or null if none exists. - If the attribute exists and can be converted to an integer, - the integer value will be put in the return 'i', if 'i' - is non-null. - */ - const char* Attribute( const char* name, int* i ) const; - - /** Given an attribute name, Attribute() returns the value - for the attribute of that name, or null if none exists. - If the attribute exists and can be converted to an double, - the double value will be put in the return 'd', if 'd' - is non-null. - */ - const char* Attribute( const char* name, double* d ) const; - - /** QueryIntAttribute examines the attribute - it is an alternative to the - Attribute() method with richer error checking. - If the attribute is an integer, it is stored in 'value' and - the call returns TIXML_SUCCESS. If it is not - an integer, it returns TIXML_WRONG_TYPE. If the attribute - does not exist, then TIXML_NO_ATTRIBUTE is returned. - */ - int QueryIntAttribute( const char* name, int* _value ) const; - /// QueryUnsignedAttribute examines the attribute - see QueryIntAttribute(). - int QueryUnsignedAttribute( const char* name, unsigned* _value ) const; - /** QueryBoolAttribute examines the attribute - see QueryIntAttribute(). - Note that '1', 'true', or 'yes' are considered true, while '0', 'false' - and 'no' are considered false. - */ - int QueryBoolAttribute( const char* name, bool* _value ) const; - /// QueryDoubleAttribute examines the attribute - see QueryIntAttribute(). - int QueryDoubleAttribute( const char* name, double* _value ) const; - /// QueryFloatAttribute examines the attribute - see QueryIntAttribute(). - int QueryFloatAttribute( const char* name, float* _value ) const - { - double d; - int result = QueryDoubleAttribute( name, &d ); - if ( result == TIXML_SUCCESS ) - { - *_value = (float)d; - } - return result; - } - -#ifdef TIXML_USE_STL - /// QueryStringAttribute examines the attribute - see QueryIntAttribute(). - int QueryStringAttribute( const char* name, std::string* _value ) const - { - const char* cstr = Attribute( name ); - if ( cstr ) - { - *_value = std::string( cstr ); - return TIXML_SUCCESS; - } - return TIXML_NO_ATTRIBUTE; - } - - /** Template form of the attribute query which will try to read the - attribute into the specified type. Very easy, very powerful, but - be careful to make sure to call this with the correct type. - - NOTE: This method doesn't work correctly for 'string' types that contain spaces. - - @return TIXML_SUCCESS, TIXML_WRONG_TYPE, or TIXML_NO_ATTRIBUTE - */ - template< typename T > int QueryValueAttribute( const std::string& name, T* outValue ) const - { - const TiXmlAttribute* node = attributeSet.Find( name ); - if ( !node ) - return TIXML_NO_ATTRIBUTE; - - std::stringstream sstream( node->ValueStr() ); - sstream >> *outValue; - if ( !sstream.fail() ) - return TIXML_SUCCESS; - return TIXML_WRONG_TYPE; - } - - int QueryValueAttribute( const std::string& name, std::string* outValue ) const - { - const TiXmlAttribute* node = attributeSet.Find( name ); - if ( !node ) - return TIXML_NO_ATTRIBUTE; - *outValue = node->ValueStr(); - return TIXML_SUCCESS; - } -#endif - - /** Sets an attribute of name to a given value. The attribute - will be created if it does not exist, or changed if it does. - */ - void SetAttribute( const char* name, const char* _value ); - -#ifdef TIXML_USE_STL - const std::string* Attribute( const std::string& name ) const; - const std::string* Attribute( const std::string& name, int* i ) const; - const std::string* Attribute( const std::string& name, double* d ) const; - int QueryIntAttribute( const std::string& name, int* _value ) const; - int QueryDoubleAttribute( const std::string& name, double* _value ) const; - - /// STL std::string form. - void SetAttribute( const std::string& name, const std::string& _value ); - ///< STL std::string form. - void SetAttribute( const std::string& name, int _value ); - ///< STL std::string form. - void SetDoubleAttribute( const std::string& name, double value ); -#endif - - /** Sets an attribute of name to a given value. The attribute - will be created if it does not exist, or changed if it does. - */ - void SetAttribute( const char* name, int value ); - - /** Sets an attribute of name to a given value. The attribute - will be created if it does not exist, or changed if it does. - */ - void SetDoubleAttribute( const char* name, double value ); - - /** Deletes an attribute with the given name. - */ - void RemoveAttribute( const char* name ); -#ifdef TIXML_USE_STL - void RemoveAttribute( const std::string& name ) { RemoveAttribute (name.c_str ()); } ///< STL std::string form. -#endif - - const TiXmlAttribute* FirstAttribute() const { return attributeSet.First(); } ///< Access the first attribute in this element. - TiXmlAttribute* FirstAttribute() { return attributeSet.First(); } - const TiXmlAttribute* LastAttribute() const { return attributeSet.Last(); } ///< Access the last attribute in this element. - TiXmlAttribute* LastAttribute() { return attributeSet.Last(); } - - /** Convenience function for easy access to the text inside an element. Although easy - and concise, GetText() is limited compared to getting the TiXmlText child - and accessing it directly. - - If the first child of 'this' is a TiXmlText, the GetText() - returns the character string of the Text node, else null is returned. - - This is a convenient method for getting the text of simple contained text: - @verbatim - <foo>This is text</foo> - const char* str = fooElement->GetText(); - @endverbatim - - 'str' will be a pointer to "This is text". - - Note that this function can be misleading. If the element foo was created from - this XML: - @verbatim - <foo><b>This is text</b></foo> - @endverbatim - - then the value of str would be null. The first child node isn't a text node, it is - another element. From this XML: - @verbatim - <foo>This is <b>text</b></foo> - @endverbatim - GetText() will return "This is ". - - WARNING: GetText() accesses a child node - don't become confused with the - similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are - safe type casts on the referenced node. - */ - const char* GetText() const; - - /// Creates a new Element and returns it - the returned element is a copy. - virtual TiXmlNode* Clone() const; - // Print the Element to a FILE stream. - virtual void Print( FILE* cfile, int depth ) const; - - /* Attribtue parsing starts: next char past '<' - returns: next char past '>' - */ - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - virtual const TiXmlElement* ToElement() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlElement* ToElement() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* visitor ) const; - -protected: - - void CopyTo( TiXmlElement* target ) const; - void ClearThis(); // like clear, but initializes 'this' object as well - - // Used to be public [internal use] -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - /* [internal use] - Reads the "value" of the element -- another element, or text. - This should terminate with the current end tag. - */ - const char* ReadValue( const char* in, TiXmlParsingData* prevData, TiXmlEncoding encoding ); - -private: - TiXmlAttributeSet attributeSet; -}; - - -/** An XML comment. -*/ -class TiXmlComment : public TiXmlNode -{ -public: - /// Constructs an empty comment. - TiXmlComment() : TiXmlNode( TiXmlNode::TINYXML_COMMENT ) {} - /// Construct a comment from text. - TiXmlComment( const char* _value ) : TiXmlNode( TiXmlNode::TINYXML_COMMENT ) - { - SetValue( _value ); - } - TiXmlComment( const TiXmlComment& ); - TiXmlComment& operator=( const TiXmlComment& base ); - - virtual ~TiXmlComment() {} - - /// Returns a copy of this Comment. - virtual TiXmlNode* Clone() const; - // Write this Comment to a FILE stream. - virtual void Print( FILE* cfile, int depth ) const; - - /* Attribtue parsing starts: at the ! of the !-- - returns: next char past '>' - */ - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - virtual const TiXmlComment* ToComment() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlComment* ToComment() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* visitor ) const; - -protected: - void CopyTo( TiXmlComment* target ) const; - - // used to be public -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - // virtual void StreamOut( TIXML_OSTREAM * out ) const; - -private: - -}; - - -/** XML text. A text node can have 2 ways to output the next. "normal" output - and CDATA. It will default to the mode it was parsed from the XML file and - you generally want to leave it alone, but you can change the output mode with - SetCDATA() and query it with CDATA(). -*/ -class TiXmlText : public TiXmlNode -{ - friend class TiXmlElement; -public: - /** Constructor for text element. By default, it is treated as - normal, encoded text. If you want it be output as a CDATA text - element, set the parameter _cdata to 'true' - */ - TiXmlText (const char* initValue ) : TiXmlNode (TiXmlNode::TINYXML_TEXT) - { - SetValue( initValue ); - cdata = false; - } - virtual ~TiXmlText() {} - -#ifdef TIXML_USE_STL - /// Constructor. - TiXmlText( const std::string& initValue ) : TiXmlNode (TiXmlNode::TINYXML_TEXT) - { - SetValue( initValue ); - cdata = false; - } -#endif - - TiXmlText( const TiXmlText& copy ) : TiXmlNode( TiXmlNode::TINYXML_TEXT ) { copy.CopyTo( this ); } - TiXmlText& operator=( const TiXmlText& base ) { base.CopyTo( this ); return *this; } - - // Write this text object to a FILE stream. - virtual void Print( FILE* cfile, int depth ) const; - - /// Queries whether this represents text using a CDATA section. - bool CDATA() const { return cdata; } - /// Turns on or off a CDATA representation of text. - void SetCDATA( bool _cdata ) { cdata = _cdata; } - - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - virtual const TiXmlText* ToText() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlText* ToText() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* content ) const; - -protected : - /// [internal use] Creates a new Element and returns it. - virtual TiXmlNode* Clone() const; - void CopyTo( TiXmlText* target ) const; - - bool Blank() const; // returns true if all white space and new lines - // [internal use] -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - -private: - bool cdata; // true if this should be input and output as a CDATA style text element -}; - - -/** In correct XML the declaration is the first entry in the file. - @verbatim - <?xml version="1.0" standalone="yes"?> - @endverbatim - - TinyXml will happily read or write files without a declaration, - however. There are 3 possible attributes to the declaration: - version, encoding, and standalone. - - Note: In this version of the code, the attributes are - handled as special cases, not generic attributes, simply - because there can only be at most 3 and they are always the same. -*/ -class TiXmlDeclaration : public TiXmlNode -{ -public: - /// Construct an empty declaration. - TiXmlDeclaration() : TiXmlNode( TiXmlNode::TINYXML_DECLARATION ) {} - -#ifdef TIXML_USE_STL - /// Constructor. - TiXmlDeclaration( const std::string& _version, - const std::string& _encoding, - const std::string& _standalone ); -#endif - - /// Construct. - TiXmlDeclaration( const char* _version, - const char* _encoding, - const char* _standalone ); - - TiXmlDeclaration( const TiXmlDeclaration& copy ); - TiXmlDeclaration& operator=( const TiXmlDeclaration& copy ); - - virtual ~TiXmlDeclaration() {} - - /// Version. Will return an empty string if none was found. - const char* Version() const { return version.c_str (); } - /// Encoding. Will return an empty string if none was found. - const char* Encoding() const { return encoding.c_str (); } - /// Is this a standalone document? - const char* Standalone() const { return standalone.c_str (); } - - /// Creates a copy of this Declaration and returns it. - virtual TiXmlNode* Clone() const; - // Print this declaration to a FILE stream. - virtual void Print( FILE* cfile, int depth, TIXML_STRING* str ) const; - virtual void Print( FILE* cfile, int depth ) const - { - Print( cfile, depth, 0 ); - } - - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - virtual const TiXmlDeclaration* ToDeclaration() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlDeclaration* ToDeclaration() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* visitor ) const; - -protected: - void CopyTo( TiXmlDeclaration* target ) const; - // used to be public -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - -private: - - TIXML_STRING version; - TIXML_STRING encoding; - TIXML_STRING standalone; -}; - - -/** Any tag that tinyXml doesn't recognize is saved as an - unknown. It is a tag of text, but should not be modified. - It will be written back to the XML, unchanged, when the file - is saved. - - DTD tags get thrown into TiXmlUnknowns. -*/ -class TiXmlUnknown : public TiXmlNode -{ -public: - TiXmlUnknown() : TiXmlNode( TiXmlNode::TINYXML_UNKNOWN ) {} - virtual ~TiXmlUnknown() {} - - TiXmlUnknown( const TiXmlUnknown& copy ) : TiXmlNode( TiXmlNode::TINYXML_UNKNOWN ) { copy.CopyTo( this ); } - TiXmlUnknown& operator=( const TiXmlUnknown& copy ) { copy.CopyTo( this ); return *this; } - - /// Creates a copy of this Unknown and returns it. - virtual TiXmlNode* Clone() const; - // Print this Unknown to a FILE stream. - virtual void Print( FILE* cfile, int depth ) const; - - virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ); - - virtual const TiXmlUnknown* ToUnknown() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlUnknown* ToUnknown() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* content ) const; - -protected: - void CopyTo( TiXmlUnknown* target ) const; - -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - -private: - -}; - - -/** Always the top level node. A document binds together all the - XML pieces. It can be saved, loaded, and printed to the screen. - The 'value' of a document node is the xml file name. -*/ -class TiXmlDocument : public TiXmlNode -{ -public: - /// Create an empty document, that has no name. - TiXmlDocument(); - /// Create a document with a name. The name of the document is also the filename of the xml. - TiXmlDocument( const char* documentName ); - -#ifdef TIXML_USE_STL - /// Constructor. - TiXmlDocument( const std::string& documentName ); -#endif - - TiXmlDocument( const TiXmlDocument& copy ); - TiXmlDocument& operator=( const TiXmlDocument& copy ); - - virtual ~TiXmlDocument() {} - - /** Load a file using the current document value. - Returns true if successful. Will delete any existing - document data before loading. - */ - bool LoadFile( TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); - /// Save a file using the current document value. Returns true if successful. - bool SaveFile() const; - /// Load a file using the given filename. Returns true if successful. - bool LoadFile( const char* filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); - /// Save a file using the given filename. Returns true if successful. - bool SaveFile( const char* filename ) const; - /** Load a file using the given FILE*. Returns true if successful. Note that this method - doesn't stream - the entire object pointed at by the FILE* - will be interpreted as an XML file. TinyXML doesn't stream in XML from the current - file location. Streaming may be added in the future. - */ - bool LoadFile( FILE*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); - /// Save a file using the given FILE*. Returns true if successful. - bool SaveFile( FILE* ) const; - -#ifdef TIXML_USE_STL - bool LoadFile( const std::string& filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ) ///< STL std::string version. - { - return LoadFile( filename.c_str(), encoding ); - } - bool SaveFile( const std::string& filename ) const ///< STL std::string version. - { - return SaveFile( filename.c_str() ); - } -#endif - - /** Parse the given null terminated block of xml data. Passing in an encoding to this - method (either TIXML_ENCODING_LEGACY or TIXML_ENCODING_UTF8 will force TinyXml - to use that encoding, regardless of what TinyXml might otherwise try to detect. - */ - virtual const char* Parse( const char* p, TiXmlParsingData* data = 0, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); - - /** Get the root element -- the only top level element -- of the document. - In well formed XML, there should only be one. TinyXml is tolerant of - multiple elements at the document level. - */ - const TiXmlElement* RootElement() const { return FirstChildElement(); } - TiXmlElement* RootElement() { return FirstChildElement(); } - - /** If an error occurs, Error will be set to true. Also, - - The ErrorId() will contain the integer identifier of the error (not generally useful) - - The ErrorDesc() method will return the name of the error. (very useful) - - The ErrorRow() and ErrorCol() will return the location of the error (if known) - */ - bool Error() const { return error; } - - /// Contains a textual (english) description of the error if one occurs. - const char* ErrorDesc() const { return errorDesc.c_str (); } - - /** Generally, you probably want the error string ( ErrorDesc() ). But if you - prefer the ErrorId, this function will fetch it. - */ - int ErrorId() const { return errorId; } - - /** Returns the location (if known) of the error. The first column is column 1, - and the first row is row 1. A value of 0 means the row and column wasn't applicable - (memory errors, for example, have no row/column) or the parser lost the error. (An - error in the error reporting, in that case.) - - @sa SetTabSize, Row, Column - */ - int ErrorRow() const { return errorLocation.row+1; } - int ErrorCol() const { return errorLocation.col+1; } ///< The column where the error occured. See ErrorRow() - - /** SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) - to report the correct values for row and column. It does not change the output - or input in any way. - - By calling this method, with a tab size - greater than 0, the row and column of each node and attribute is stored - when the file is loaded. Very useful for tracking the DOM back in to - the source file. - - The tab size is required for calculating the location of nodes. If not - set, the default of 4 is used. The tabsize is set per document. Setting - the tabsize to 0 disables row/column tracking. - - Note that row and column tracking is not supported when using operator>>. - - The tab size needs to be enabled before the parse or load. Correct usage: - @verbatim - TiXmlDocument doc; - doc.SetTabSize( 8 ); - doc.Load( "myfile.xml" ); - @endverbatim - - @sa Row, Column - */ - void SetTabSize( int _tabsize ) { tabsize = _tabsize; } - - int TabSize() const { return tabsize; } - - /** If you have handled the error, it can be reset with this call. The error - state is automatically cleared if you Parse a new XML block. - */ - void ClearError() - { - error = false; - errorId = 0; - errorDesc = ""; - errorLocation.row = errorLocation.col = 0; - //errorLocation.last = 0; - } - - /** Write the document to standard out using formatted printing ("pretty print"). */ - void Print() const { Print( stdout, 0 ); } - - /* Write the document to a string using formatted printing ("pretty print"). This - will allocate a character array (new char[]) and return it as a pointer. The - calling code pust call delete[] on the return char* to avoid a memory leak. - */ - //char* PrintToMemory() const; - - /// Print this Document to a FILE stream. - virtual void Print( FILE* cfile, int depth = 0 ) const; - // [internal use] - void SetError( int err, const char* errorLocation, TiXmlParsingData* prevData, TiXmlEncoding encoding ); - - virtual const TiXmlDocument* ToDocument() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - virtual TiXmlDocument* ToDocument() { return this; } ///< Cast to a more defined type. Will return null not of the requested type. - - /** Walk the XML tree visiting this node and all of its children. - */ - virtual bool Accept( TiXmlVisitor* content ) const; - -protected : - // [internal use] - virtual TiXmlNode* Clone() const; -#ifdef TIXML_USE_STL - virtual void StreamIn( std::istream* in, TIXML_STRING* tag ); -#endif - -private: - void CopyTo( TiXmlDocument* target ) const; - - bool error; - int errorId; - TIXML_STRING errorDesc; - int tabsize; - TiXmlCursor errorLocation; - bool useMicrosoftBOM; // the UTF-8 BOM were found when read. Note this, and try to write. -}; - - -/** - A TiXmlHandle is a class that wraps a node pointer with null checks; this is - an incredibly useful thing. Note that TiXmlHandle is not part of the TinyXml - DOM structure. It is a separate utility class. - - Take an example: - @verbatim - <Document> - <Element attributeA = "valueA"> - <Child attributeB = "value1" /> - <Child attributeB = "value2" /> - </Element> - <Document> - @endverbatim - - Assuming you want the value of "attributeB" in the 2nd "Child" element, it's very - easy to write a *lot* of code that looks like: - - @verbatim - TiXmlElement* root = document.FirstChildElement( "Document" ); - if ( root ) - { - TiXmlElement* element = root->FirstChildElement( "Element" ); - if ( element ) - { - TiXmlElement* child = element->FirstChildElement( "Child" ); - if ( child ) - { - TiXmlElement* child2 = child->NextSiblingElement( "Child" ); - if ( child2 ) - { - // Finally do something useful. - @endverbatim - - And that doesn't even cover "else" cases. TiXmlHandle addresses the verbosity - of such code. A TiXmlHandle checks for null pointers so it is perfectly safe - and correct to use: - - @verbatim - TiXmlHandle docHandle( &document ); - TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement(); - if ( child2 ) - { - // do something useful - @endverbatim - - Which is MUCH more concise and useful. - - It is also safe to copy handles - internally they are nothing more than node pointers. - @verbatim - TiXmlHandle handleCopy = handle; - @endverbatim - - What they should not be used for is iteration: - - @verbatim - int i=0; - while ( true ) - { - TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement(); - if ( !child ) - break; - // do something - ++i; - } - @endverbatim - - It seems reasonable, but it is in fact two embedded while loops. The Child method is - a linear walk to find the element, so this code would iterate much more than it needs - to. Instead, prefer: - - @verbatim - TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement(); - - for( child; child; child=child->NextSiblingElement() ) - { - // do something - } - @endverbatim -*/ -class TiXmlHandle -{ -public: - /// Create a handle from any node (at any depth of the tree.) This can be a null pointer. - TiXmlHandle( TiXmlNode* _node ) { this->node = _node; } - /// Copy constructor - TiXmlHandle( const TiXmlHandle& ref ) { this->node = ref.node; } - TiXmlHandle operator=( const TiXmlHandle& ref ) { if ( &ref != this ) this->node = ref.node; return *this; } - - /// Return a handle to the first child node. - TiXmlHandle FirstChild() const; - /// Return a handle to the first child node with the given name. - TiXmlHandle FirstChild( const char* value ) const; - /// Return a handle to the first child element. - TiXmlHandle FirstChildElement() const; - /// Return a handle to the first child element with the given name. - TiXmlHandle FirstChildElement( const char* value ) const; - - /** Return a handle to the "index" child with the given name. - The first child is 0, the second 1, etc. - */ - TiXmlHandle Child( const char* value, int index ) const; - /** Return a handle to the "index" child. - The first child is 0, the second 1, etc. - */ - TiXmlHandle Child( int index ) const; - /** Return a handle to the "index" child element with the given name. - The first child element is 0, the second 1, etc. Note that only TiXmlElements - are indexed: other types are not counted. - */ - TiXmlHandle ChildElement( const char* value, int index ) const; - /** Return a handle to the "index" child element. - The first child element is 0, the second 1, etc. Note that only TiXmlElements - are indexed: other types are not counted. - */ - TiXmlHandle ChildElement( int index ) const; - -#ifdef TIXML_USE_STL - TiXmlHandle FirstChild( const std::string& _value ) const { return FirstChild( _value.c_str() ); } - TiXmlHandle FirstChildElement( const std::string& _value ) const { return FirstChildElement( _value.c_str() ); } - - TiXmlHandle Child( const std::string& _value, int index ) const { return Child( _value.c_str(), index ); } - TiXmlHandle ChildElement( const std::string& _value, int index ) const { return ChildElement( _value.c_str(), index ); } -#endif - - /** Return the handle as a TiXmlNode. This may return null. - */ - TiXmlNode* ToNode() const { return node; } - /** Return the handle as a TiXmlElement. This may return null. - */ - TiXmlElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); } - /** Return the handle as a TiXmlText. This may return null. - */ - TiXmlText* ToText() const { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); } - /** Return the handle as a TiXmlUnknown. This may return null. - */ - TiXmlUnknown* ToUnknown() const { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); } - - /** @deprecated use ToNode. - Return the handle as a TiXmlNode. This may return null. - */ - TiXmlNode* Node() const { return ToNode(); } - /** @deprecated use ToElement. - Return the handle as a TiXmlElement. This may return null. - */ - TiXmlElement* Element() const { return ToElement(); } - /** @deprecated use ToText() - Return the handle as a TiXmlText. This may return null. - */ - TiXmlText* Text() const { return ToText(); } - /** @deprecated use ToUnknown() - Return the handle as a TiXmlUnknown. This may return null. - */ - TiXmlUnknown* Unknown() const { return ToUnknown(); } - -private: - TiXmlNode* node; -}; - - -/** Print to memory functionality. The TiXmlPrinter is useful when you need to: - - -# Print to memory (especially in non-STL mode) - -# Control formatting (line endings, etc.) - - When constructed, the TiXmlPrinter is in its default "pretty printing" mode. - Before calling Accept() you can call methods to control the printing - of the XML document. After TiXmlNode::Accept() is called, the printed document can - be accessed via the CStr(), Str(), and Size() methods. - - TiXmlPrinter uses the Visitor API. - @verbatim - TiXmlPrinter printer; - printer.SetIndent( "\t" ); - - doc.Accept( &printer ); - fprintf( stdout, "%s", printer.CStr() ); - @endverbatim -*/ -class TiXmlPrinter : public TiXmlVisitor -{ -public: - TiXmlPrinter() : depth( 0 ), simpleTextPrint( false ), - buffer(), indent( " " ), lineBreak( "\n" ) {} - - virtual bool VisitEnter( const TiXmlDocument& doc ); - virtual bool VisitExit( const TiXmlDocument& doc ); - - virtual bool VisitEnter( const TiXmlElement& element, const TiXmlAttribute* firstAttribute ); - virtual bool VisitExit( const TiXmlElement& element ); - - virtual bool Visit( const TiXmlDeclaration& declaration ); - virtual bool Visit( const TiXmlText& text ); - virtual bool Visit( const TiXmlComment& comment ); - virtual bool Visit( const TiXmlUnknown& unknown ); - - /** Set the indent characters for printing. By default 4 spaces - but tab (\t) is also useful, or null/empty string for no indentation. - */ - void SetIndent( const char* _indent ) { indent = _indent ? _indent : "" ; } - /// Query the indention string. - const char* Indent() { return indent.c_str(); } - /** Set the line breaking string. By default set to newline (\n). - Some operating systems prefer other characters, or can be - set to the null/empty string for no indenation. - */ - void SetLineBreak( const char* _lineBreak ) { lineBreak = _lineBreak ? _lineBreak : ""; } - /// Query the current line breaking string. - const char* LineBreak() { return lineBreak.c_str(); } - - /** Switch over to "stream printing" which is the most dense formatting without - linebreaks. Common when the XML is needed for network transmission. - */ - void SetStreamPrinting() - { - indent = ""; - lineBreak = ""; - } - /// Return the result. - const char* CStr() { return buffer.c_str(); } - /// Return the length of the result string. - size_t Size() { return buffer.size(); } - -#ifdef TIXML_USE_STL - /// Return the result. - const std::string& Str() { return buffer; } -#endif - -private: - void DoIndent() - { - for( int i=0; i<depth; ++i ) - buffer += indent; - } - void DoLineBreak() - { - buffer += lineBreak; - } - - int depth; - bool simpleTextPrint; - TIXML_STRING buffer; - TIXML_STRING indent; - TIXML_STRING lineBreak; -}; - - -#ifdef _MSC_VER -#pragma warning( pop ) -#endif - -#endif diff --git a/shared/tinyxml/tinyxml.sln b/shared/tinyxml/tinyxml.sln deleted file mode 100644 index b3a4d3d7..00000000 --- a/shared/tinyxml/tinyxml.sln +++ /dev/null @@ -1,38 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual C++ Express 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyXmlTest", "tinyXmlTest.vcxproj", "{34719950-09E8-457E-BE23-8F1CE3A1F1F6}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyXmlTestSTL", "tinyXmlTestSTL.vcxproj", "{53ED5965-5BCA-47B5-9EB0-EDD20882F22F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxml", "tinyxml_lib.vcxproj", "{C406DAEC-0886-4771-8DEA-9D7329B46CC1}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxmlSTL", "tinyxmlSTL.vcxproj", "{A3A84737-5017-4577-B8A2-79429A25B8B6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {34719950-09E8-457E-BE23-8F1CE3A1F1F6}.Debug|Win32.ActiveCfg = Debug|Win32 - {34719950-09E8-457E-BE23-8F1CE3A1F1F6}.Debug|Win32.Build.0 = Debug|Win32 - {34719950-09E8-457E-BE23-8F1CE3A1F1F6}.Release|Win32.ActiveCfg = Release|Win32 - {34719950-09E8-457E-BE23-8F1CE3A1F1F6}.Release|Win32.Build.0 = Release|Win32 - {53ED5965-5BCA-47B5-9EB0-EDD20882F22F}.Debug|Win32.ActiveCfg = Debug|Win32 - {53ED5965-5BCA-47B5-9EB0-EDD20882F22F}.Debug|Win32.Build.0 = Debug|Win32 - {53ED5965-5BCA-47B5-9EB0-EDD20882F22F}.Release|Win32.ActiveCfg = Release|Win32 - {53ED5965-5BCA-47B5-9EB0-EDD20882F22F}.Release|Win32.Build.0 = Release|Win32 - {C406DAEC-0886-4771-8DEA-9D7329B46CC1}.Debug|Win32.ActiveCfg = Debug|Win32 - {C406DAEC-0886-4771-8DEA-9D7329B46CC1}.Debug|Win32.Build.0 = Debug|Win32 - {C406DAEC-0886-4771-8DEA-9D7329B46CC1}.Release|Win32.ActiveCfg = Release|Win32 - {C406DAEC-0886-4771-8DEA-9D7329B46CC1}.Release|Win32.Build.0 = Release|Win32 - {A3A84737-5017-4577-B8A2-79429A25B8B6}.Debug|Win32.ActiveCfg = Debug|Win32 - {A3A84737-5017-4577-B8A2-79429A25B8B6}.Debug|Win32.Build.0 = Debug|Win32 - {A3A84737-5017-4577-B8A2-79429A25B8B6}.Release|Win32.ActiveCfg = Release|Win32 - {A3A84737-5017-4577-B8A2-79429A25B8B6}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/shared/tinyxml/tinyxmlSTL.vcxproj b/shared/tinyxml/tinyxmlSTL.vcxproj deleted file mode 100644 index db7a2fc9..00000000 --- a/shared/tinyxml/tinyxmlSTL.vcxproj +++ /dev/null @@ -1,125 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{A3A84737-5017-4577-B8A2-79429A25B8B6}</ProjectGuid> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(LibraryPath)</LibraryPath> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(LibraryPath)</LibraryPath> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <MinimalRebuild>true</MinimalRebuild> - <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level4</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Lib> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Lib> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <Optimization>MaxSpeed</Optimization> - <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <StringPooling>true</StringPooling> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <FunctionLevelLinking>true</FunctionLevelLinking> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level3</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0409</Culture> - </ResourceCompile> - <Lib> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Lib> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="tinystr.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxml.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxmlerror.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxmlparser.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ClInclude Include="tinystr.h" /> - <ClInclude Include="tinyxml.h" /> - </ItemGroup> - <ItemGroup> - <None Include="changes.txt" /> - <None Include="readme.txt" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/shared/tinyxml/tinyxml_lib.vcxproj b/shared/tinyxml/tinyxml_lib.vcxproj deleted file mode 100644 index 0da3981a..00000000 --- a/shared/tinyxml/tinyxml_lib.vcxproj +++ /dev/null @@ -1,126 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectName>tinyxml</ProjectName> - <ProjectGuid>{C406DAEC-0886-4771-8DEA-9D7329B46CC1}</ProjectGuid> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseOfMfc>false</UseOfMfc> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(LibraryPath)</LibraryPath> - <IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IncludePath)</IncludePath> - <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(LibraryPath)</LibraryPath> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <Optimization>MaxSpeed</Optimization> - <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <StringPooling>true</StringPooling> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <FunctionLevelLinking>true</FunctionLevelLinking> - <WarningLevel>Level3</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0407</Culture> - </ResourceCompile> - <Lib> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Lib> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <MinimalRebuild>true</MinimalRebuild> - <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> - <BrowseInformation>true</BrowseInformation> - <WarningLevel>Level4</WarningLevel> - <SuppressStartupBanner>true</SuppressStartupBanner> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - </ClCompile> - <ResourceCompile> - <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <Culture>0x0407</Culture> - </ResourceCompile> - <Lib> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Lib> - <Bscmake> - <SuppressStartupBanner>true</SuppressStartupBanner> - </Bscmake> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="tinystr.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxml.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxmlerror.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <ClCompile Include="tinyxmlparser.cpp"> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ClInclude Include="tinystr.h" /> - <ClInclude Include="tinyxml.h" /> - </ItemGroup> - <ItemGroup> - <None Include="changes.txt" /> - <None Include="readme.txt" /> - <None Include="tutorial_gettingStarted.txt" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/shared/tinyxml/tinyxmlerror.cpp b/shared/tinyxml/tinyxmlerror.cpp deleted file mode 100644 index 12d90c2a..00000000 --- a/shared/tinyxml/tinyxmlerror.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml -Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - -#include "tinyxml.h" - -// The goal of the seperate error file is to make the first -// step towards localization. tinyxml (currently) only supports -// english error messages, but the could now be translated. -// -// It also cleans up the code a bit. -// - -const char* TiXmlBase::errorString[ TiXmlBase::TIXML_ERROR_STRING_COUNT ] = -{ - "No error", - "Error", - "Failed to open file", - "Error parsing Element.", - "Failed to read Element name", - "Error reading Element value.", - "Error reading Attributes.", - "Error: empty tag.", - "Error reading end tag.", - "Error parsing Unknown.", - "Error parsing Comment.", - "Error parsing Declaration.", - "Error document empty.", - "Error null (0) or unexpected EOF found in input stream.", - "Error parsing CDATA.", - "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", -}; diff --git a/shared/tinyxml/tinyxmlparser.cpp b/shared/tinyxml/tinyxmlparser.cpp deleted file mode 100644 index 6b21a2b5..00000000 --- a/shared/tinyxml/tinyxmlparser.cpp +++ /dev/null @@ -1,1649 +0,0 @@ -/* -www.sourceforge.net/projects/tinyxml -Original code by Lee Thomason (www.grinninglizard.com) - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any -damages arising from the use of this software. - -Permission is granted to anyone to use this software for any -purpose, including commercial applications, and to alter it and -redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must -not claim that you wrote the original software. If you use this -software in a product, an acknowledgment in the product documentation -would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and -must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source -distribution. -*/ - -#include <ctype.h> -#include <stddef.h> - -#include "tinyxml.h" - -//#define DEBUG_PARSER -#if defined( DEBUG_PARSER ) -# if defined( DEBUG ) && defined( _MSC_VER ) -# include <windows.h> -# define TIXML_LOG OutputDebugString -# else -# define TIXML_LOG printf -# endif -#endif - -// Note tha "PutString" hardcodes the same list. This -// is less flexible than it appears. Changing the entries -// or order will break putstring. -TiXmlBase::Entity TiXmlBase::entity[ TiXmlBase::NUM_ENTITY ] = -{ - { "&", 5, '&' }, - { "<", 4, '<' }, - { ">", 4, '>' }, - { """, 6, '\"' }, - { "'", 6, '\'' } -}; - -// Bunch of unicode info at: -// http://www.unicode.org/faq/utf_bom.html -// Including the basic of this table, which determines the #bytes in the -// sequence from the lead byte. 1 placed for invalid sequences -- -// although the result will be junk, pass it through as much as possible. -// Beware of the non-characters in UTF-8: -// ef bb bf (Microsoft "lead bytes") -// ef bf be -// ef bf bf - -const unsigned char TIXML_UTF_LEAD_0 = 0xefU; -const unsigned char TIXML_UTF_LEAD_1 = 0xbbU; -const unsigned char TIXML_UTF_LEAD_2 = 0xbfU; - -const int TiXmlBase::utf8ByteTable[256] = -{ - // 0 1 2 3 4 5 6 7 8 9 a b c d e f - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x10 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x20 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x30 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x40 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x50 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x60 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x70 End of ASCII range - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x80 0x80 to 0xc1 invalid - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x90 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0xa0 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0xb0 - 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 0xc0 0xc2 to 0xdf 2 byte - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 0xd0 - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 0xe0 0xe0 to 0xef 3 byte - 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 // 0xf0 0xf0 to 0xf4 4 byte, 0xf5 and higher invalid -}; - - -void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* length ) -{ - const unsigned long BYTE_MASK = 0xBF; - const unsigned long BYTE_MARK = 0x80; - const unsigned long FIRST_BYTE_MARK[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; - - if (input < 0x80) - *length = 1; - else if ( input < 0x800 ) - *length = 2; - else if ( input < 0x10000 ) - *length = 3; - else if ( input < 0x200000 ) - *length = 4; - else - { *length = 0; return; } // This code won't covert this correctly anyway. - - output += *length; - - // Scary scary fall throughs. - switch (*length) - { - case 4: - --output; - *output = (char)((input | BYTE_MARK) & BYTE_MASK); - input >>= 6; - case 3: - --output; - *output = (char)((input | BYTE_MARK) & BYTE_MASK); - input >>= 6; - case 2: - --output; - *output = (char)((input | BYTE_MARK) & BYTE_MASK); - input >>= 6; - case 1: - --output; - *output = (char)(input | FIRST_BYTE_MARK[*length]); - } -} - - -/*static*/ int TiXmlBase::IsAlpha( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) -{ - // This will only work for low-ascii, everything else is assumed to be a valid - // letter. I'm not sure this is the best approach, but it is quite tricky trying - // to figure out alhabetical vs. not across encoding. So take a very - // conservative approach. - - // if ( encoding == TIXML_ENCODING_UTF8 ) - // { - if ( anyByte < 127 ) - return isalpha( anyByte ); - else - return 1; // What else to do? The unicode set is huge...get the english ones right. - // } - // else - // { - // return isalpha( anyByte ); - // } -} - - -/*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) -{ - // This will only work for low-ascii, everything else is assumed to be a valid - // letter. I'm not sure this is the best approach, but it is quite tricky trying - // to figure out alhabetical vs. not across encoding. So take a very - // conservative approach. - - // if ( encoding == TIXML_ENCODING_UTF8 ) - // { - if ( anyByte < 127 ) - return isalnum( anyByte ); - else - return 1; // What else to do? The unicode set is huge...get the english ones right. - // } - // else - // { - // return isalnum( anyByte ); - // } -} - - -class TiXmlParsingData -{ - friend class TiXmlDocument; -public: - void Stamp( const char* now, TiXmlEncoding encoding ); - - const TiXmlCursor& Cursor() const { return cursor; } - -private: - // Only used by the document! - TiXmlParsingData( const char* start, int _tabsize, int row, int col ) - { - assert( start ); - stamp = start; - tabsize = _tabsize; - cursor.row = row; - cursor.col = col; - } - - TiXmlCursor cursor; - const char* stamp; - int tabsize; -}; - - -void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) -{ - assert( now ); - - // Do nothing if the tabsize is 0. - if ( tabsize < 1 ) - { - return; - } - - // Get the current row, column. - int row = cursor.row; - int col = cursor.col; - const char* p = stamp; - assert( p ); - - while ( p < now ) - { - // Treat p as unsigned, so we have a happy compiler. - const unsigned char* pU = (const unsigned char*)p; - - // Code contributed by Fletcher Dunn: (modified by lee) - switch (*pU) - { - case 0: - // We *should* never get here, but in case we do, don't - // advance past the terminating null character, ever - return; - - case '\r': - // bump down to the next line - ++row; - col = 0; - // Eat the character - ++p; - - // Check for \r\n sequence, and treat this as a single character - if (*p == '\n') - { - ++p; - } - break; - - case '\n': - // bump down to the next line - ++row; - col = 0; - - // Eat the character - ++p; - - // Check for \n\r sequence, and treat this as a single - // character. (Yes, this bizarre thing does occur still - // on some arcane platforms...) - if (*p == '\r') - { - ++p; - } - break; - - case '\t': - // Eat the character - ++p; - - // Skip to next tab stop - col = (col / tabsize + 1) * tabsize; - break; - - case TIXML_UTF_LEAD_0: - if ( encoding == TIXML_ENCODING_UTF8 ) - { - if ( *(p+1) && *(p+2) ) - { - // In these cases, don't advance the column. These are - // 0-width spaces. - if ( *(pU+1)==TIXML_UTF_LEAD_1 && *(pU+2)==TIXML_UTF_LEAD_2 ) - p += 3; - else if ( *(pU+1)==0xbfU && *(pU+2)==0xbeU ) - p += 3; - else if ( *(pU+1)==0xbfU && *(pU+2)==0xbfU ) - p += 3; - else - { p +=3; ++col; } // A normal character. - } - } - else - { - ++p; - ++col; - } - break; - - default: - if ( encoding == TIXML_ENCODING_UTF8 ) - { - // Eat the 1 to 4 byte utf8 character. - int step = TiXmlBase::utf8ByteTable[*((const unsigned char*)p)]; - if ( step == 0 ) - step = 1; // Error case from bad encoding, but handle gracefully. - p += step; - - // Just advance one column, of course. - ++col; - } - else - { - ++p; - ++col; - } - break; - } - } - cursor.row = row; - cursor.col = col; - assert( cursor.row >= -1 ); - assert( cursor.col >= -1 ); - stamp = p; - assert( stamp ); -} - - -const char* TiXmlBase::SkipWhiteSpace( const char* p, TiXmlEncoding encoding ) -{ - if ( !p || !*p ) - { - return 0; - } - if ( encoding == TIXML_ENCODING_UTF8 ) - { - while ( *p ) - { - const unsigned char* pU = (const unsigned char*)p; - - // Skip the stupid Microsoft UTF-8 Byte order marks - if ( *(pU+0)==TIXML_UTF_LEAD_0 - && *(pU+1)==TIXML_UTF_LEAD_1 - && *(pU+2)==TIXML_UTF_LEAD_2 ) - { - p += 3; - continue; - } - else if(*(pU+0)==TIXML_UTF_LEAD_0 - && *(pU+1)==0xbfU - && *(pU+2)==0xbeU ) - { - p += 3; - continue; - } - else if(*(pU+0)==TIXML_UTF_LEAD_0 - && *(pU+1)==0xbfU - && *(pU+2)==0xbfU ) - { - p += 3; - continue; - } - - if ( IsWhiteSpace( *p ) ) // Still using old rules for white space. - ++p; - else - break; - } - } - else - { - while ( *p && IsWhiteSpace( *p ) ) - ++p; - } - - return p; -} - -#ifdef TIXML_USE_STL -/*static*/ bool TiXmlBase::StreamWhiteSpace( std::istream* in, TIXML_STRING* tag ) -{ - for( ;; ) - { - if ( !in->good() ) return false; - - int c = in->peek(); - // At this scope, we can't get to a document. So fail silently. - if ( !IsWhiteSpace( c ) || c <= 0 ) - return true; - - *tag += (char) in->get(); - } -} - -/*static*/ bool TiXmlBase::StreamTo( std::istream* in, int character, TIXML_STRING* tag ) -{ - //assert( character > 0 && character < 128 ); // else it won't work in utf-8 - while ( in->good() ) - { - int c = in->peek(); - if ( c == character ) - return true; - if ( c <= 0 ) // Silent failure: can't get document at this scope - return false; - - in->get(); - *tag += (char) c; - } - return false; -} -#endif - -// One of TinyXML's more performance demanding functions. Try to keep the memory overhead down. The -// "assign" optimization removes over 10% of the execution time. -// -const char* TiXmlBase::ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding ) -{ - // Oddly, not supported on some comilers, - //name->clear(); - // So use this: - *name = ""; - assert( p ); - - // Names start with letters or underscores. - // Of course, in unicode, tinyxml has no idea what a letter *is*. The - // algorithm is generous. - // - // After that, they can be letters, underscores, numbers, - // hyphens, or colons. (Colons are valid ony for namespaces, - // but tinyxml can't tell namespaces from names.) - if ( p && *p - && ( IsAlpha( (unsigned char) *p, encoding ) || *p == '_' ) ) - { - const char* start = p; - while( p && *p - && ( IsAlphaNum( (unsigned char ) *p, encoding ) - || *p == '_' - || *p == '-' - || *p == '.' - || *p == ':' ) ) - { - //(*name) += *p; // expensive - ++p; - } - if ( p-start > 0 ) - { - name->assign( start, p-start ); - } - return p; - } - return 0; -} - -const char* TiXmlBase::GetEntity( const char* p, char* value, int* length, TiXmlEncoding encoding ) -{ - // Presume an entity, and pull it out. - TIXML_STRING ent; - int i; - *length = 0; - - if ( *(p+1) && *(p+1) == '#' && *(p+2) ) - { - unsigned long ucs = 0; - ptrdiff_t delta = 0; - unsigned mult = 1; - - if ( *(p+2) == 'x' ) - { - // Hexadecimal. - if ( !*(p+3) ) return 0; - - const char* q = p+3; - q = strchr( q, ';' ); - - if ( !q || !*q ) return 0; - - delta = q-p; - --q; - - while ( *q != 'x' ) - { - if ( *q >= '0' && *q <= '9' ) - ucs += mult * (*q - '0'); - else if ( *q >= 'a' && *q <= 'f' ) - ucs += mult * (*q - 'a' + 10); - else if ( *q >= 'A' && *q <= 'F' ) - ucs += mult * (*q - 'A' + 10 ); - else - return 0; - mult *= 16; - --q; - } - } - else - { - // Decimal. - if ( !*(p+2) ) return 0; - - const char* q = p+2; - q = strchr( q, ';' ); - - if ( !q || !*q ) return 0; - - delta = q-p; - --q; - - while ( *q != '#' ) - { - if ( *q >= '0' && *q <= '9' ) - ucs += mult * (*q - '0'); - else - return 0; - mult *= 10; - --q; - } - } - if ( encoding == TIXML_ENCODING_UTF8 ) - { - // convert the UCS to UTF-8 - ConvertUTF32ToUTF8( ucs, value, length ); - } - else - { - *value = (char)ucs; - *length = 1; - } - return p + delta + 1; - } - - // Now try to match it. - for( i=0; i<NUM_ENTITY; ++i ) - { - if ( strncmp( entity[i].str, p, entity[i].strLength ) == 0 ) - { - assert( strlen( entity[i].str ) == entity[i].strLength ); - *value = entity[i].chr; - *length = 1; - return ( p + entity[i].strLength ); - } - } - - // So it wasn't an entity, its unrecognized, or something like that. - *value = *p; // Don't put back the last one, since we return it! - //*length = 1; // Leave unrecognized entities - this doesn't really work. - // Just writes strange XML. - return p+1; -} - - -bool TiXmlBase::StringEqual( const char* p, - const char* tag, - bool ignoreCase, - TiXmlEncoding encoding ) -{ - assert( p ); - assert( tag ); - if ( !p || !*p ) - { - assert( 0 ); - return false; - } - - const char* q = p; - - if ( ignoreCase ) - { - while ( *q && *tag && ToLower( *q, encoding ) == ToLower( *tag, encoding ) ) - { - ++q; - ++tag; - } - - if ( *tag == 0 ) - return true; - } - else - { - while ( *q && *tag && *q == *tag ) - { - ++q; - ++tag; - } - - if ( *tag == 0 ) // Have we found the end of the tag, and everything equal? - return true; - } - return false; -} - -const char* TiXmlBase::ReadText( const char* p, - TIXML_STRING* text, - bool trimWhiteSpace, - const char* endTag, - bool caseInsensitive, - TiXmlEncoding encoding ) -{ - *text = ""; - if ( !trimWhiteSpace // certain tags always keep whitespace - || !condenseWhiteSpace ) // if true, whitespace is always kept - { - // Keep all the white space. - while ( p && *p - && !StringEqual( p, endTag, caseInsensitive, encoding ) - ) - { - int len; - char cArr[4] = { 0, 0, 0, 0 }; - p = GetChar( p, cArr, &len, encoding ); - text->append( cArr, len ); - } - } - else - { - bool whitespace = false; - - // Remove leading white space: - p = SkipWhiteSpace( p, encoding ); - while ( p && *p - && !StringEqual( p, endTag, caseInsensitive, encoding ) ) - { - if ( *p == '\r' || *p == '\n' ) - { - whitespace = true; - ++p; - } - else if ( IsWhiteSpace( *p ) ) - { - whitespace = true; - ++p; - } - else - { - // If we've found whitespace, add it before the - // new character. Any whitespace just becomes a space. - if ( whitespace ) - { - (*text) += ' '; - whitespace = false; - } - int len; - char cArr[4] = { 0, 0, 0, 0 }; - p = GetChar( p, cArr, &len, encoding ); - if ( len == 1 ) - (*text) += cArr[0]; // more efficient - else - text->append( cArr, len ); - } - } - } - if ( p && *p ) - p += strlen( endTag ); - return ( p && *p ) ? p : 0; -} - -#ifdef TIXML_USE_STL - -void TiXmlDocument::StreamIn( std::istream* in, TIXML_STRING* tag ) -{ - // The basic issue with a document is that we don't know what we're - // streaming. Read something presumed to be a tag (and hope), then - // identify it, and call the appropriate stream method on the tag. - // - // This "pre-streaming" will never read the closing ">" so the - // sub-tag can orient itself. - - if ( !StreamTo( in, '<', tag ) ) - { - SetError( TIXML_ERROR_PARSING_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - - while ( in->good() ) - { - int tagIndex = (int) tag->length(); - while ( in->good() && in->peek() != '>' ) - { - int c = in->get(); - if ( c <= 0 ) - { - SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - break; - } - (*tag) += (char) c; - } - - if ( in->good() ) - { - // We now have something we presume to be a node of - // some sort. Identify it, and call the node to - // continue streaming. - TiXmlNode* node = Identify( tag->c_str() + tagIndex, TIXML_DEFAULT_ENCODING ); - - if ( node ) - { - node->StreamIn( in, tag ); - bool isElement = node->ToElement() != 0; - delete node; - node = 0; - - // If this is the root element, we're done. Parsing will be - // done by the >> operator. - if ( isElement ) - { - return; - } - } - else - { - SetError( TIXML_ERROR, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - } - } - // We should have returned sooner. - SetError( TIXML_ERROR, 0, 0, TIXML_ENCODING_UNKNOWN ); -} - -#endif - -const char* TiXmlDocument::Parse( const char* p, TiXmlParsingData* prevData, TiXmlEncoding encoding ) -{ - ClearError(); - - // Parse away, at the document level. Since a document - // contains nothing but other tags, most of what happens - // here is skipping white space. - if ( !p || !*p ) - { - SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - // Note that, for a document, this needs to come - // before the while space skip, so that parsing - // starts from the pointer we are given. - location.Clear(); - if ( prevData ) - { - location.row = prevData->cursor.row; - location.col = prevData->cursor.col; - } - else - { - location.row = 0; - location.col = 0; - } - TiXmlParsingData data( p, TabSize(), location.row, location.col ); - location = data.Cursor(); - - if ( encoding == TIXML_ENCODING_UNKNOWN ) - { - // Check for the Microsoft UTF-8 lead bytes. - const unsigned char* pU = (const unsigned char*)p; - if ( *(pU+0) && *(pU+0) == TIXML_UTF_LEAD_0 - && *(pU+1) && *(pU+1) == TIXML_UTF_LEAD_1 - && *(pU+2) && *(pU+2) == TIXML_UTF_LEAD_2 ) - { - encoding = TIXML_ENCODING_UTF8; - useMicrosoftBOM = true; - } - } - - p = SkipWhiteSpace( p, encoding ); - if ( !p ) - { - SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); - return 0; - } - - while ( p && *p ) - { - TiXmlNode* node = Identify( p, encoding ); - if ( node ) - { - p = node->Parse( p, &data, encoding ); - LinkEndChild( node ); - } - else - { - break; - } - - // Did we get encoding info? - if ( encoding == TIXML_ENCODING_UNKNOWN - && node->ToDeclaration() ) - { - TiXmlDeclaration* dec = node->ToDeclaration(); - const char* enc = dec->Encoding(); - assert( enc ); - - if ( *enc == 0 ) - encoding = TIXML_ENCODING_UTF8; - else if ( StringEqual( enc, "UTF-8", true, TIXML_ENCODING_UNKNOWN ) ) - encoding = TIXML_ENCODING_UTF8; - else if ( StringEqual( enc, "UTF8", true, TIXML_ENCODING_UNKNOWN ) ) - encoding = TIXML_ENCODING_UTF8; // incorrect, but be nice - else - encoding = TIXML_ENCODING_LEGACY; - } - - p = SkipWhiteSpace( p, encoding ); - } - - // Was this empty? - if ( !firstChild ) - { - SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, encoding ); - return 0; - } - - // All is well. - return p; -} - -void TiXmlDocument::SetError( int err, const char* pError, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - // The first error in a chain is more accurate - don't set again! - if ( error ) - return; - - assert( err > 0 && err < TIXML_ERROR_STRING_COUNT ); - error = true; - errorId = err; - errorDesc = errorString[ errorId ]; - - errorLocation.Clear(); - if ( pError && data ) - { - data->Stamp( pError, encoding ); - errorLocation = data->Cursor(); - } -} - - -TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding ) -{ - TiXmlNode* returnNode = 0; - - p = SkipWhiteSpace( p, encoding ); - if( !p || !*p || *p != '<' ) - { - return 0; - } - - p = SkipWhiteSpace( p, encoding ); - - if ( !p || !*p ) - { - return 0; - } - - // What is this thing? - // - Elements start with a letter or underscore, but xml is reserved. - // - Comments: <!-- - // - Decleration: <?xml - // - Everthing else is unknown to tinyxml. - // - - const char* xmlHeader = { "<?xml" }; - const char* commentHeader = { "<!--" }; - const char* dtdHeader = { "<!" }; - const char* cdataHeader = { "<![CDATA[" }; - - if ( StringEqual( p, xmlHeader, true, encoding ) ) - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing Declaration\n" ); -#endif - returnNode = new TiXmlDeclaration(); - } - else if ( StringEqual( p, commentHeader, false, encoding ) ) - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing Comment\n" ); -#endif - returnNode = new TiXmlComment(); - } - else if ( StringEqual( p, cdataHeader, false, encoding ) ) - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing CDATA\n" ); -#endif - TiXmlText* text = new TiXmlText( "" ); - text->SetCDATA( true ); - returnNode = text; - } - else if ( StringEqual( p, dtdHeader, false, encoding ) ) - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing Unknown(1)\n" ); -#endif - returnNode = new TiXmlUnknown(); - } - else if ( IsAlpha( *(p+1), encoding ) - || *(p+1) == '_' ) - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing Element\n" ); -#endif - returnNode = new TiXmlElement( "" ); - } - else - { -#ifdef DEBUG_PARSER - TIXML_LOG( "XML parsing Unknown(2)\n" ); -#endif - returnNode = new TiXmlUnknown(); - } - - if ( returnNode ) - { - // Set the parent, so it can report errors - returnNode->parent = this; - } - return returnNode; -} - -#ifdef TIXML_USE_STL - -void TiXmlElement::StreamIn (std::istream* in, TIXML_STRING* tag) -{ - // We're called with some amount of pre-parsing. That is, some of "this" - // element is in "tag". Go ahead and stream to the closing ">" - while( in->good() ) - { - int c = in->get(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - (*tag) += (char) c ; - - if ( c == '>' ) - break; - } - - if ( tag->length() < 3 ) return; - - // Okay...if we are a "/>" tag, then we're done. We've read a complete tag. - // If not, identify and stream. - - if ( tag->at( tag->length() - 1 ) == '>' - && tag->at( tag->length() - 2 ) == '/' ) - { - // All good! - return; - } - else if ( tag->at( tag->length() - 1 ) == '>' ) - { - // There is more. Could be: - // text - // cdata text (which looks like another node) - // closing tag - // another node. - for ( ;; ) - { - StreamWhiteSpace( in, tag ); - - // Do we have text? - if ( in->good() && in->peek() != '<' ) - { - // Yep, text. - TiXmlText text( "" ); - text.StreamIn( in, tag ); - - // What follows text is a closing tag or another node. - // Go around again and figure it out. - continue; - } - - // We now have either a closing tag...or another node. - // We should be at a "<", regardless. - if ( !in->good() ) return; - assert( in->peek() == '<' ); - int tagIndex = (int) tag->length(); - - bool closingTag = false; - bool firstCharFound = false; - - for( ;; ) - { - if ( !in->good() ) - return; - - int c = in->peek(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - - if ( c == '>' ) - break; - - *tag += (char) c; - in->get(); - - // Early out if we find the CDATA id. - if ( c == '[' && tag->size() >= 9 ) - { - size_t len = tag->size(); - const char* start = tag->c_str() + len - 9; - if ( strcmp( start, "<![CDATA[" ) == 0 ) - { - assert( !closingTag ); - break; - } - } - - if ( !firstCharFound && c != '<' && !IsWhiteSpace( c ) ) - { - firstCharFound = true; - if ( c == '/' ) - closingTag = true; - } - } - // If it was a closing tag, then read in the closing '>' to clean up the input stream. - // If it was not, the streaming will be done by the tag. - if ( closingTag ) - { - if ( !in->good() ) - return; - - int c = in->get(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - assert( c == '>' ); - *tag += (char) c; - - // We are done, once we've found our closing tag. - return; - } - else - { - // If not a closing tag, id it, and stream. - const char* tagloc = tag->c_str() + tagIndex; - TiXmlNode* node = Identify( tagloc, TIXML_DEFAULT_ENCODING ); - if ( !node ) - return; - node->StreamIn( in, tag ); - delete node; - node = 0; - - // No return: go around from the beginning: text, closing tag, or node. - } - } - } -} -#endif - -const char* TiXmlElement::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - p = SkipWhiteSpace( p, encoding ); - TiXmlDocument* document = GetDocument(); - - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, 0, 0, encoding ); - return 0; - } - - if ( data ) - { - data->Stamp( p, encoding ); - location = data->Cursor(); - } - - if ( *p != '<' ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, p, data, encoding ); - return 0; - } - - p = SkipWhiteSpace( p+1, encoding ); - - // Read the name. - const char* pErr = p; - - p = ReadName( p, &value, encoding ); - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, pErr, data, encoding ); - return 0; - } - - TIXML_STRING endTag ("</"); - endTag += value; - - // Check for and read attributes. Also look for an empty - // tag or an end tag. - while ( p && *p ) - { - pErr = p; - p = SkipWhiteSpace( p, encoding ); - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, pErr, data, encoding ); - return 0; - } - if ( *p == '/' ) - { - ++p; - // Empty tag. - if ( *p != '>' ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_EMPTY, p, data, encoding ); - return 0; - } - return (p+1); - } - else if ( *p == '>' ) - { - // Done with attributes (if there were any.) - // Read the value -- which can include other - // elements -- read the end tag, and return. - ++p; - p = ReadValue( p, data, encoding ); // Note this is an Element method, and will set the error if one happens. - if ( !p || !*p ) - { - // We were looking for the end tag, but found nothing. - // Fix for [ 1663758 ] Failure to report error on bad XML - if ( document ) document->SetError( TIXML_ERROR_READING_END_TAG, p, data, encoding ); - return 0; - } - - // We should find the end tag now - // note that: - // </foo > and - // </foo> - // are both valid end tags. - if ( StringEqual( p, endTag.c_str(), false, encoding ) ) - { - p += endTag.length(); - p = SkipWhiteSpace( p, encoding ); - if ( p && *p && *p == '>' ) - { - ++p; - return p; - } - if ( document ) document->SetError( TIXML_ERROR_READING_END_TAG, p, data, encoding ); - return 0; - } - else - { - if ( document ) document->SetError( TIXML_ERROR_READING_END_TAG, p, data, encoding ); - return 0; - } - } - else - { - // Try to read an attribute: - TiXmlAttribute* attrib = new TiXmlAttribute(); - if ( !attrib ) - { - return 0; - } - - attrib->SetDocument( document ); - pErr = p; - p = attrib->Parse( p, data, encoding ); - - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, pErr, data, encoding ); - delete attrib; - return 0; - } - - // Handle the strange case of double attributes: -#ifdef TIXML_USE_STL - TiXmlAttribute* node = attributeSet.Find( attrib->NameTStr() ); -#else - TiXmlAttribute* node = attributeSet.Find( attrib->Name() ); -#endif - if ( node ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, pErr, data, encoding ); - delete attrib; - return 0; - } - - attributeSet.Add( attrib ); - } - } - return p; -} - - -const char* TiXmlElement::ReadValue( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - TiXmlDocument* document = GetDocument(); - - // Read in text and elements in any order. - const char* pWithWhiteSpace = p; - p = SkipWhiteSpace( p, encoding ); - - while ( p && *p ) - { - if ( *p != '<' ) - { - // Take what we have, make a text element. - TiXmlText* textNode = new TiXmlText( "" ); - - if ( !textNode ) - { - return 0; - } - - if ( TiXmlBase::IsWhiteSpaceCondensed() ) - { - p = textNode->Parse( p, data, encoding ); - } - else - { - // Special case: we want to keep the white space - // so that leading spaces aren't removed. - p = textNode->Parse( pWithWhiteSpace, data, encoding ); - } - - if ( !textNode->Blank() ) - LinkEndChild( textNode ); - else - delete textNode; - } - else - { - // We hit a '<' - // Have we hit a new element or an end tag? This could also be - // a TiXmlText in the "CDATA" style. - if ( StringEqual( p, "</", false, encoding ) ) - { - return p; - } - else - { - TiXmlNode* node = Identify( p, encoding ); - if ( node ) - { - p = node->Parse( p, data, encoding ); - LinkEndChild( node ); - } - else - { - return 0; - } - } - } - pWithWhiteSpace = p; - p = SkipWhiteSpace( p, encoding ); - } - - if ( !p ) - { - if ( document ) document->SetError( TIXML_ERROR_READING_ELEMENT_VALUE, 0, 0, encoding ); - } - return p; -} - - -#ifdef TIXML_USE_STL -void TiXmlUnknown::StreamIn( std::istream* in, TIXML_STRING* tag ) -{ - while ( in->good() ) - { - int c = in->get(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - (*tag) += (char) c; - - if ( c == '>' ) - { - // All is well. - return; - } - } -} -#endif - - -const char* TiXmlUnknown::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - TiXmlDocument* document = GetDocument(); - p = SkipWhiteSpace( p, encoding ); - - if ( data ) - { - data->Stamp( p, encoding ); - location = data->Cursor(); - } - if ( !p || !*p || *p != '<' ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_UNKNOWN, p, data, encoding ); - return 0; - } - ++p; - value = ""; - - while ( p && *p && *p != '>' ) - { - value += *p; - ++p; - } - - if ( !p ) - { - if ( document ) - document->SetError( TIXML_ERROR_PARSING_UNKNOWN, 0, 0, encoding ); - } - if ( p && *p == '>' ) - return p+1; - return p; -} - -#ifdef TIXML_USE_STL -void TiXmlComment::StreamIn( std::istream* in, TIXML_STRING* tag ) -{ - while ( in->good() ) - { - int c = in->get(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - - (*tag) += (char) c; - - if ( c == '>' - && tag->at( tag->length() - 2 ) == '-' - && tag->at( tag->length() - 3 ) == '-' ) - { - // All is well. - return; - } - } -} -#endif - - -const char* TiXmlComment::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - TiXmlDocument* document = GetDocument(); - value = ""; - - p = SkipWhiteSpace( p, encoding ); - - if ( data ) - { - data->Stamp( p, encoding ); - location = data->Cursor(); - } - const char* startTag = "<!--"; - const char* endTag = "-->"; - - if ( !StringEqual( p, startTag, false, encoding ) ) - { - if ( document ) - document->SetError( TIXML_ERROR_PARSING_COMMENT, p, data, encoding ); - return 0; - } - p += strlen( startTag ); - - // [ 1475201 ] TinyXML parses entities in comments - // Oops - ReadText doesn't work, because we don't want to parse the entities. - // p = ReadText( p, &value, false, endTag, false, encoding ); - // - // from the XML spec: - /* - [Definition: Comments may appear anywhere in a document outside other markup; in addition, - they may appear within the document type declaration at places allowed by the grammar. - They are not part of the document's character data; an XML processor MAY, but need not, - make it possible for an application to retrieve the text of comments. For compatibility, - the string "--" (double-hyphen) MUST NOT occur within comments.] Parameter entity - references MUST NOT be recognized within comments. - - An example of a comment: - - <!-- declarations for <head> & <body> --> - */ - - value = ""; - // Keep all the white space. - while ( p && *p && !StringEqual( p, endTag, false, encoding ) ) - { - value.append( p, 1 ); - ++p; - } - if ( p && *p ) - p += strlen( endTag ); - - return p; -} - - -const char* TiXmlAttribute::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - p = SkipWhiteSpace( p, encoding ); - if ( !p || !*p ) return 0; - - if ( data ) - { - data->Stamp( p, encoding ); - location = data->Cursor(); - } - // Read the name, the '=' and the value. - const char* pErr = p; - p = ReadName( p, &name, encoding ); - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, pErr, data, encoding ); - return 0; - } - p = SkipWhiteSpace( p, encoding ); - if ( !p || !*p || *p != '=' ) - { - if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, p, data, encoding ); - return 0; - } - - ++p; // skip '=' - p = SkipWhiteSpace( p, encoding ); - if ( !p || !*p ) - { - if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, p, data, encoding ); - return 0; - } - - const char* end; - const char SINGLE_QUOTE = '\''; - const char DOUBLE_QUOTE = '\"'; - - if ( *p == SINGLE_QUOTE ) - { - ++p; - end = "\'"; // single quote in string - p = ReadText( p, &value, false, end, false, encoding ); - } - else if ( *p == DOUBLE_QUOTE ) - { - ++p; - end = "\""; // double quote in string - p = ReadText( p, &value, false, end, false, encoding ); - } - else - { - // All attribute values should be in single or double quotes. - // But this is such a common error that the parser will try - // its best, even without them. - value = ""; - while ( p && *p // existence - && !IsWhiteSpace( *p ) // whitespace - && *p != '/' && *p != '>' ) // tag end - { - if ( *p == SINGLE_QUOTE || *p == DOUBLE_QUOTE ) - { - // [ 1451649 ] Attribute values with trailing quotes not handled correctly - // We did not have an opening quote but seem to have a - // closing one. Give up and throw an error. - if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, p, data, encoding ); - return 0; - } - value += *p; - ++p; - } - } - return p; -} - -#ifdef TIXML_USE_STL -void TiXmlText::StreamIn( std::istream* in, TIXML_STRING* tag ) -{ - while ( in->good() ) - { - int c = in->peek(); - if ( !cdata && (c == '<' ) ) - { - return; - } - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - - (*tag) += (char) c; - in->get(); // "commits" the peek made above - - if ( cdata && c == '>' && tag->size() >= 3 ) - { - size_t len = tag->size(); - if ( (*tag)[len-2] == ']' && (*tag)[len-3] == ']' ) - { - // terminator of cdata. - return; - } - } - } -} -#endif - -const char* TiXmlText::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding ) -{ - value = ""; - TiXmlDocument* document = GetDocument(); - - if ( data ) - { - data->Stamp( p, encoding ); - location = data->Cursor(); - } - - const char* const startTag = "<![CDATA["; - const char* const endTag = "]]>"; - - if ( cdata || StringEqual( p, startTag, false, encoding ) ) - { - cdata = true; - - if ( !StringEqual( p, startTag, false, encoding ) ) - { - if ( document ) - document->SetError( TIXML_ERROR_PARSING_CDATA, p, data, encoding ); - return 0; - } - p += strlen( startTag ); - - // Keep all the white space, ignore the encoding, etc. - while ( p && *p - && !StringEqual( p, endTag, false, encoding ) - ) - { - value += *p; - ++p; - } - - TIXML_STRING dummy; - p = ReadText( p, &dummy, false, endTag, false, encoding ); - return p; - } - else - { - bool ignoreWhite = true; - - const char* end = "<"; - p = ReadText( p, &value, ignoreWhite, end, false, encoding ); - if ( p && *p ) - return p-1; // don't truncate the '<' - return 0; - } -} - -#ifdef TIXML_USE_STL -void TiXmlDeclaration::StreamIn( std::istream* in, TIXML_STRING* tag ) -{ - while ( in->good() ) - { - int c = in->get(); - if ( c <= 0 ) - { - TiXmlDocument* document = GetDocument(); - if ( document ) - document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); - return; - } - (*tag) += (char) c; - - if ( c == '>' ) - { - // All is well. - return; - } - } -} -#endif - -const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding ) -{ - p = SkipWhiteSpace( p, _encoding ); - // Find the beginning, find the end, and look for - // the stuff in-between. - TiXmlDocument* document = GetDocument(); - if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) - { - if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); - return 0; - } - if ( data ) - { - data->Stamp( p, _encoding ); - location = data->Cursor(); - } - p += 5; - - version = ""; - encoding = ""; - standalone = ""; - - while ( p && *p ) - { - if ( *p == '>' ) - { - ++p; - return p; - } - - p = SkipWhiteSpace( p, _encoding ); - if ( StringEqual( p, "version", true, _encoding ) ) - { - TiXmlAttribute attrib; - p = attrib.Parse( p, data, _encoding ); - version = attrib.Value(); - } - else if ( StringEqual( p, "encoding", true, _encoding ) ) - { - TiXmlAttribute attrib; - p = attrib.Parse( p, data, _encoding ); - encoding = attrib.Value(); - } - else if ( StringEqual( p, "standalone", true, _encoding ) ) - { - TiXmlAttribute attrib; - p = attrib.Parse( p, data, _encoding ); - standalone = attrib.Value(); - } - else - { - // Read over whatever it is. - while( p && *p && *p != '>' && !IsWhiteSpace( *p ) ) - ++p; - } - } - return 0; -} - -bool TiXmlText::Blank() const -{ - for ( unsigned i=0; i<value.length(); i++ ) - if ( !IsWhiteSpace( value[i] ) ) - return false; - return true; -} - diff --git a/shared/tinyxml/utf8test.gif b/shared/tinyxml/utf8test.gif Binary files differdeleted file mode 100644 index 0911070e..00000000 --- a/shared/tinyxml/utf8test.gif +++ /dev/null diff --git a/shared/tinyxml/utf8test.xml b/shared/tinyxml/utf8test.xml deleted file mode 100644 index 4fd71ce8..00000000 --- a/shared/tinyxml/utf8test.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document> - <English name="name" value="value">The world has many languages</English> - <Russian name="название(имÑ)" value="ценноÑÑ‚ÑŒ">Мир имеет много Ñзыков</Russian> - <Spanish name="el nombre" value="el valor">el mundo tiene muchos idiomas</Spanish> - <SimplifiedChinese name="åå—" value="价值">世界有很多è¯è¨€</SimplifiedChinese> - <РуÑÑкий название="name" ценноÑÑ‚ÑŒ="value"><имеет></РуÑÑкий> - <æ±‰è¯ åå—="name" 价值="value">世界有很多è¯è¨€</汉è¯> - <Heavy>"Mëtæl!"</Heavy> - <ä>Umlaut Element</ä> -</document> diff --git a/shared/tinyxml/utf8testverify.xml b/shared/tinyxml/utf8testverify.xml deleted file mode 100644 index 91a319df..00000000 --- a/shared/tinyxml/utf8testverify.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<document> - <English name="name" value="value">The world has many languages</English> - <Russian name="название(имÑ)" value="ценноÑÑ‚ÑŒ">Мир имеет много Ñзыков</Russian> - <Spanish name="el nombre" value="el valor">el mundo tiene muchos idiomas</Spanish> - <SimplifiedChinese name="åå—" value="价值">世界有很多è¯è¨€</SimplifiedChinese> - <РуÑÑкий название="name" ценноÑÑ‚ÑŒ="value"><имеет></РуÑÑкий> - <æ±‰è¯ åå—="name" 价值="value">世界有很多è¯è¨€</汉è¯> - <Heavy>"Mëtæl!"</Heavy> - <ä>Umlaut Element</ä> -</document> diff --git a/shared/tinyxml/xmltest.cpp b/shared/tinyxml/xmltest.cpp deleted file mode 100644 index 7d920466..00000000 --- a/shared/tinyxml/xmltest.cpp +++ /dev/null @@ -1,1400 +0,0 @@ -/* - Test program for TinyXML. -*/ - - -#ifdef TIXML_USE_STL -#include <iostream> -#include <sstream> -using namespace std; -#else -#include <stdio.h> -#endif - -#if defined( WIN32 ) && defined( TUNE ) -#include <crtdbg.h> -_CrtMemState startMemState; -_CrtMemState endMemState; -#endif - -#include "tinyxml.h" - -bool XmlTest (const char* testString, const char* expected, const char* found, bool noEcho = false); -bool XmlTest( const char* testString, int expected, int found, bool noEcho = false ); - -static int gPass = 0; -static int gFail = 0; - - - -bool XmlTest (const char* testString, const char* expected, const char* found, bool noEcho ) -{ - bool pass = !strcmp( expected, found ); - if ( pass ) - printf ("[pass]"); - else - printf ("[fail]"); - - if ( noEcho ) - printf (" %s\n", testString); - else - printf (" %s [%s][%s]\n", testString, expected, found); - - if ( pass ) - ++gPass; - else - ++gFail; - return pass; -} - - -bool XmlTest( const char* testString, int expected, int found, bool noEcho ) -{ - bool pass = ( expected == found ); - if ( pass ) - printf ("[pass]"); - else - printf ("[fail]"); - - if ( noEcho ) - printf (" %s\n", testString); - else - printf (" %s [%d][%d]\n", testString, expected, found); - - if ( pass ) - ++gPass; - else - ++gFail; - return pass; -} - - -void NullLineEndings( char* p ) -{ - while( p && *p ) - { - if ( *p == '\n' || *p == '\r' ) - { - *p = 0; - return; - } - ++p; - } -} - -// -// This file demonstrates some basic functionality of TinyXml. -// Note that the example is very contrived. It presumes you know -// what is in the XML file. But it does test the basic operations, -// and show how to add and remove nodes. -// - -int main() -{ - - // - // We start with the 'demoStart' todo list. Process it. And - // should hopefully end up with the todo list as illustrated. - // - const char* demoStart = - "<?xml version=\"1.0\" standalone='no' >\n" - "<!-- Our to do list data -->" - "<ToDo>\n" - "<!-- Do I need a secure PDA? -->\n" - "<Item priority=\"1\" distance='close'> Go to the <bold>Toy store!</bold></Item>" - "<Item priority=\"2\" distance='none'> Do bills </Item>" - "<Item priority=\"2\" distance='far & back'> Look for Evil Dinosaurs! </Item>" - "</ToDo>"; - - { - -#ifdef TIXML_USE_STL - // What the todo list should look like after processing. - // In stream (no formatting) representation. - const char* demoEnd = - "<?xml version=\"1.0\" standalone=\"no\" ?>" - "<!-- Our to do list data -->" - "<ToDo>" - "<!-- Do I need a secure PDA? -->" - "<Item priority=\"2\" distance=\"close\">Go to the" - "<bold>Toy store!" - "</bold>" - "</Item>" - "<Item priority=\"1\" distance=\"far\">Talk to:" - "<Meeting where=\"School\">" - "<Attendee name=\"Marple\" position=\"teacher\" />" - "<Attendee name=\"Voel\" position=\"counselor\" />" - "</Meeting>" - "<Meeting where=\"Lunch\" />" - "</Item>" - "<Item priority=\"2\" distance=\"here\">Do bills" - "</Item>" - "</ToDo>"; -#endif - - // The example parses from the character string (above): -#if defined( WIN32 ) && defined( TUNE ) - _CrtMemCheckpoint( &startMemState ); -#endif - - { - // Write to a file and read it back, to check file I/O. - - TiXmlDocument doc( "demotest.xml" ); - doc.Parse( demoStart ); - - if ( doc.Error() ) - { - printf( "Error in %s: %s\n", doc.Value(), doc.ErrorDesc() ); - exit( 1 ); - } - doc.SaveFile(); - } - - TiXmlDocument doc( "demotest.xml" ); - bool loadOkay = doc.LoadFile(); - - if ( !loadOkay ) - { - printf( "Could not load test file 'demotest.xml'. Error='%s'. Exiting.\n", doc.ErrorDesc() ); - exit( 1 ); - } - - printf( "** Demo doc read from disk: ** \n\n" ); - printf( "** Printing via doc.Print **\n" ); - doc.Print( stdout ); - - { - printf( "** Printing via TiXmlPrinter **\n" ); - TiXmlPrinter printer; - doc.Accept( &printer ); - fprintf( stdout, "%s", printer.CStr() ); - } -#ifdef TIXML_USE_STL - { - printf( "** Printing via operator<< **\n" ); - std::cout << doc; - } -#endif - TiXmlNode* node = 0; - TiXmlElement* todoElement = 0; - TiXmlElement* itemElement = 0; - - - // -------------------------------------------------------- - // An example of changing existing attributes, and removing - // an element from the document. - // -------------------------------------------------------- - - // Get the "ToDo" element. - // It is a child of the document, and can be selected by name. - node = doc.FirstChild( "ToDo" ); - assert( node ); - todoElement = node->ToElement(); - assert( todoElement ); - - // Going to the toy store is now our second priority... - // So set the "priority" attribute of the first item in the list. - node = todoElement->FirstChildElement(); // This skips the "PDA" comment. - assert( node ); - itemElement = node->ToElement(); - assert( itemElement ); - itemElement->SetAttribute( "priority", 2 ); - - // Change the distance to "doing bills" from - // "none" to "here". It's the next sibling element. - itemElement = itemElement->NextSiblingElement(); - assert( itemElement ); - itemElement->SetAttribute( "distance", "here" ); - - // Remove the "Look for Evil Dinosaurs!" item. - // It is 1 more sibling away. We ask the parent to remove - // a particular child. - itemElement = itemElement->NextSiblingElement(); - todoElement->RemoveChild( itemElement ); - - itemElement = 0; - - // -------------------------------------------------------- - // What follows is an example of created elements and text - // nodes and adding them to the document. - // -------------------------------------------------------- - - // Add some meetings. - TiXmlElement item( "Item" ); - item.SetAttribute( "priority", "1" ); - item.SetAttribute( "distance", "far" ); - - TiXmlText text( "Talk to:" ); - - TiXmlElement meeting1( "Meeting" ); - meeting1.SetAttribute( "where", "School" ); - - TiXmlElement meeting2( "Meeting" ); - meeting2.SetAttribute( "where", "Lunch" ); - - TiXmlElement attendee1( "Attendee" ); - attendee1.SetAttribute( "name", "Marple" ); - attendee1.SetAttribute( "position", "teacher" ); - - TiXmlElement attendee2( "Attendee" ); - attendee2.SetAttribute( "name", "Voel" ); - attendee2.SetAttribute( "position", "counselor" ); - - // Assemble the nodes we've created: - meeting1.InsertEndChild( attendee1 ); - meeting1.InsertEndChild( attendee2 ); - - item.InsertEndChild( text ); - item.InsertEndChild( meeting1 ); - item.InsertEndChild( meeting2 ); - - // And add the node to the existing list after the first child. - node = todoElement->FirstChild( "Item" ); - assert( node ); - itemElement = node->ToElement(); - assert( itemElement ); - - todoElement->InsertAfterChild( itemElement, item ); - - printf( "\n** Demo doc processed: ** \n\n" ); - doc.Print( stdout ); - - -#ifdef TIXML_USE_STL - printf( "** Demo doc processed to stream: ** \n\n" ); - cout << doc << endl << endl; -#endif - - // -------------------------------------------------------- - // Different tests...do we have what we expect? - // -------------------------------------------------------- - - int count = 0; - TiXmlElement* element; - - ////////////////////////////////////////////////////// - -#ifdef TIXML_USE_STL - cout << "** Basic structure. **\n"; - ostringstream outputStream( ostringstream::out ); - outputStream << doc; - XmlTest( "Output stream correct.", string( demoEnd ).c_str(), - outputStream.str().c_str(), true ); -#endif - - node = doc.RootElement(); - assert( node ); - XmlTest( "Root element exists.", true, ( node != 0 && node->ToElement() ) ); - XmlTest ( "Root element value is 'ToDo'.", "ToDo", node->Value()); - - node = node->FirstChild(); - XmlTest( "First child exists & is a comment.", true, ( node != 0 && node->ToComment() ) ); - node = node->NextSibling(); - XmlTest( "Sibling element exists & is an element.", true, ( node != 0 && node->ToElement() ) ); - XmlTest ( "Value is 'Item'.", "Item", node->Value() ); - - node = node->FirstChild(); - XmlTest ( "First child exists.", true, ( node != 0 && node->ToText() ) ); - XmlTest ( "Value is 'Go to the'.", "Go to the", node->Value() ); - - - ////////////////////////////////////////////////////// - printf ("\n** Iterators. **\n"); - - // Walk all the top level nodes of the document. - count = 0; - for( node = doc.FirstChild(); - node; - node = node->NextSibling() ) - { - count++; - } - XmlTest( "Top level nodes, using First / Next.", 3, count ); - - count = 0; - for( node = doc.LastChild(); - node; - node = node->PreviousSibling() ) - { - count++; - } - XmlTest( "Top level nodes, using Last / Previous.", 3, count ); - - // Walk all the top level nodes of the document, - // using a different syntax. - count = 0; - for( node = doc.IterateChildren( 0 ); - node; - node = doc.IterateChildren( node ) ) - { - count++; - } - XmlTest( "Top level nodes, using IterateChildren.", 3, count ); - - // Walk all the elements in a node. - count = 0; - for( element = todoElement->FirstChildElement(); - element; - element = element->NextSiblingElement() ) - { - count++; - } - XmlTest( "Children of the 'ToDo' element, using First / Next.", - 3, count ); - - // Walk all the elements in a node by value. - count = 0; - for( node = todoElement->FirstChild( "Item" ); - node; - node = node->NextSibling( "Item" ) ) - { - count++; - } - XmlTest( "'Item' children of the 'ToDo' element, using First/Next.", 3, count ); - - count = 0; - for( node = todoElement->LastChild( "Item" ); - node; - node = node->PreviousSibling( "Item" ) ) - { - count++; - } - XmlTest( "'Item' children of the 'ToDo' element, using Last/Previous.", 3, count ); - -#ifdef TIXML_USE_STL - { - cout << "\n** Parsing. **\n"; - istringstream parse0( "<Element0 attribute0='foo0' attribute1= noquotes attribute2 = '>' />" ); - TiXmlElement element0( "default" ); - parse0 >> element0; - - XmlTest ( "Element parsed, value is 'Element0'.", "Element0", element0.Value() ); - XmlTest ( "Reads attribute 'attribute0=\"foo0\"'.", "foo0", element0.Attribute( "attribute0" )); - XmlTest ( "Reads incorrectly formatted 'attribute1=noquotes'.", "noquotes", element0.Attribute( "attribute1" ) ); - XmlTest ( "Read attribute with entity value '>'.", ">", element0.Attribute( "attribute2" ) ); - } -#endif - - { - const char* error = "<?xml version=\"1.0\" standalone=\"no\" ?>\n" - "<passages count=\"006\" formatversion=\"20020620\">\n" - " <wrong error>\n" - "</passages>"; - - TiXmlDocument docTest; - docTest.Parse( error ); - XmlTest( "Error row", docTest.ErrorRow(), 3 ); - XmlTest( "Error column", docTest.ErrorCol(), 17 ); - //printf( "error=%d id='%s' row %d col%d\n", (int) doc.Error(), doc.ErrorDesc(), doc.ErrorRow()+1, doc.ErrorCol() + 1 ); - - } - -#ifdef TIXML_USE_STL - { - ////////////////////////////////////////////////////// - cout << "\n** Streaming. **\n"; - - // Round trip check: stream in, then stream back out to verify. The stream - // out has already been checked, above. We use the output - - istringstream inputStringStream( outputStream.str() ); - TiXmlDocument document0; - - inputStringStream >> document0; - - ostringstream outputStream0( ostringstream::out ); - outputStream0 << document0; - - XmlTest( "Stream round trip correct.", string( demoEnd ).c_str(), - outputStream0.str().c_str(), true ); - - std::string str; - str << document0; - - XmlTest( "String printing correct.", string( demoEnd ).c_str(), - str.c_str(), true ); - } -#endif - } - - { - const char* str = "<doc attr0='1' attr1='2.0' attr2='foo' />"; - - TiXmlDocument doc; - doc.Parse( str ); - - TiXmlElement* ele = doc.FirstChildElement(); - - int iVal, result; - double dVal; - - result = ele->QueryDoubleAttribute( "attr0", &dVal ); - XmlTest( "Query attribute: int as double", result, TIXML_SUCCESS ); - XmlTest( "Query attribute: int as double", (int)dVal, 1 ); - result = ele->QueryDoubleAttribute( "attr1", &dVal ); - XmlTest( "Query attribute: double as double", (int)dVal, 2 ); - result = ele->QueryIntAttribute( "attr1", &iVal ); - XmlTest( "Query attribute: double as int", result, TIXML_SUCCESS ); - XmlTest( "Query attribute: double as int", iVal, 2 ); - result = ele->QueryIntAttribute( "attr2", &iVal ); - XmlTest( "Query attribute: not a number", result, TIXML_WRONG_TYPE ); - result = ele->QueryIntAttribute( "bar", &iVal ); - XmlTest( "Query attribute: does not exist", result, TIXML_NO_ATTRIBUTE ); - } - - { - const char* str = "<doc/>"; - - TiXmlDocument doc; - doc.Parse( str ); - - TiXmlElement* ele = doc.FirstChildElement(); - - int iVal; - double dVal; - - ele->SetAttribute( "str", "strValue" ); - ele->SetAttribute( "int", 1 ); - ele->SetDoubleAttribute( "double", -1.0 ); - - const char* cStr = ele->Attribute( "str" ); - ele->QueryIntAttribute( "int", &iVal ); - ele->QueryDoubleAttribute( "double", &dVal ); - - XmlTest( "Attribute round trip. c-string.", "strValue", cStr ); - XmlTest( "Attribute round trip. int.", 1, iVal ); - XmlTest( "Attribute round trip. double.", -1, (int)dVal ); - } - - { - const char* str = "\t<?xml version=\"1.0\" standalone=\"no\" ?>\t<room doors='2'>\n" - "</room>"; - - TiXmlDocument doc; - doc.SetTabSize( 8 ); - doc.Parse( str ); - - TiXmlHandle docHandle( &doc ); - TiXmlHandle roomHandle = docHandle.FirstChildElement( "room" ); - - assert( docHandle.Node() ); - assert( roomHandle.Element() ); - - TiXmlElement* room = roomHandle.Element(); - assert( room ); - TiXmlAttribute* doors = room->FirstAttribute(); - assert( doors ); - - XmlTest( "Location tracking: Tab 8: room row", room->Row(), 1 ); - XmlTest( "Location tracking: Tab 8: room col", room->Column(), 49 ); - XmlTest( "Location tracking: Tab 8: doors row", doors->Row(), 1 ); - XmlTest( "Location tracking: Tab 8: doors col", doors->Column(), 55 ); - } - - { - const char* str = "\t<?xml version=\"1.0\" standalone=\"no\" ?>\t<room doors='2'>\n" - " <!-- Silly example -->\n" - " <door wall='north'>A great door!</door>\n" - "\t<door wall='east'/>" - "</room>"; - - TiXmlDocument doc; - doc.Parse( str ); - - TiXmlHandle docHandle( &doc ); - TiXmlHandle roomHandle = docHandle.FirstChildElement( "room" ); - TiXmlHandle commentHandle = docHandle.FirstChildElement( "room" ).FirstChild(); - TiXmlHandle textHandle = docHandle.FirstChildElement( "room" ).ChildElement( "door", 0 ).FirstChild(); - TiXmlHandle door0Handle = docHandle.FirstChildElement( "room" ).ChildElement( 0 ); - TiXmlHandle door1Handle = docHandle.FirstChildElement( "room" ).ChildElement( 1 ); - - assert( docHandle.Node() ); - assert( roomHandle.Element() ); - assert( commentHandle.Node() ); - assert( textHandle.Text() ); - assert( door0Handle.Element() ); - assert( door1Handle.Element() ); - - TiXmlDeclaration* declaration = doc.FirstChild()->ToDeclaration(); - assert( declaration ); - TiXmlElement* room = roomHandle.Element(); - assert( room ); - TiXmlAttribute* doors = room->FirstAttribute(); - assert( doors ); - TiXmlText* text = textHandle.Text(); - TiXmlComment* comment = commentHandle.Node()->ToComment(); - assert( comment ); - TiXmlElement* door0 = door0Handle.Element(); - TiXmlElement* door1 = door1Handle.Element(); - - XmlTest( "Location tracking: Declaration row", declaration->Row(), 1 ); - XmlTest( "Location tracking: Declaration col", declaration->Column(), 5 ); - XmlTest( "Location tracking: room row", room->Row(), 1 ); - XmlTest( "Location tracking: room col", room->Column(), 45 ); - XmlTest( "Location tracking: doors row", doors->Row(), 1 ); - XmlTest( "Location tracking: doors col", doors->Column(), 51 ); - XmlTest( "Location tracking: Comment row", comment->Row(), 2 ); - XmlTest( "Location tracking: Comment col", comment->Column(), 3 ); - XmlTest( "Location tracking: text row", text->Row(), 3 ); - XmlTest( "Location tracking: text col", text->Column(), 24 ); - XmlTest( "Location tracking: door0 row", door0->Row(), 3 ); - XmlTest( "Location tracking: door0 col", door0->Column(), 5 ); - XmlTest( "Location tracking: door1 row", door1->Row(), 4 ); - XmlTest( "Location tracking: door1 col", door1->Column(), 5 ); - } - - - // -------------------------------------------------------- - // UTF-8 testing. It is important to test: - // 1. Making sure name, value, and text read correctly - // 2. Row, Col functionality - // 3. Correct output - // -------------------------------------------------------- - printf ("\n** UTF-8 **\n"); - { - TiXmlDocument doc( "utf8test.xml" ); - doc.LoadFile(); - if ( doc.Error() && doc.ErrorId() == TiXmlBase::TIXML_ERROR_OPENING_FILE ) - { - printf( "WARNING: File 'utf8test.xml' not found.\n" - "(Are you running the test from the wrong directory?)\n" - "Could not test UTF-8 functionality.\n" ); - } - else - { - TiXmlHandle docH( &doc ); - // Get the attribute "value" from the "Russian" element and check it. - TiXmlElement* element = docH.FirstChildElement( "document" ).FirstChildElement( "Russian" ).Element(); - const unsigned char correctValue[] = { 0xd1U, 0x86U, 0xd0U, 0xb5U, 0xd0U, 0xbdU, 0xd0U, 0xbdU, - 0xd0U, 0xbeU, 0xd1U, 0x81U, 0xd1U, 0x82U, 0xd1U, 0x8cU, 0 - }; - - XmlTest( "UTF-8: Russian value.", (const char*)correctValue, element->Attribute( "value" ), true ); - XmlTest( "UTF-8: Russian value row.", 4, element->Row() ); - XmlTest( "UTF-8: Russian value column.", 5, element->Column() ); - - const unsigned char russianElementName[] = { 0xd0U, 0xa0U, 0xd1U, 0x83U, - 0xd1U, 0x81U, 0xd1U, 0x81U, - 0xd0U, 0xbaU, 0xd0U, 0xb8U, - 0xd0U, 0xb9U, 0 - }; - const char russianText[] = "<\xD0\xB8\xD0\xBC\xD0\xB5\xD0\xB5\xD1\x82>"; - - TiXmlText* text = docH.FirstChildElement( "document" ).FirstChildElement( (const char*) russianElementName ).Child( 0 ).Text(); - XmlTest( "UTF-8: Browsing russian element name.", - russianText, - text->Value(), - true ); - XmlTest( "UTF-8: Russian element name row.", 7, text->Row() ); - XmlTest( "UTF-8: Russian element name column.", 47, text->Column() ); - - TiXmlDeclaration* dec = docH.Child( 0 ).Node()->ToDeclaration(); - XmlTest( "UTF-8: Declaration column.", 1, dec->Column() ); - XmlTest( "UTF-8: Document column.", 1, doc.Column() ); - - // Now try for a round trip. - doc.SaveFile( "utf8testout.xml" ); - - // Check the round trip. - char savedBuf[256]; - char verifyBuf[256]; - int okay = 1; - - FILE* saved = fopen( "utf8testout.xml", "r" ); - FILE* verify = fopen( "utf8testverify.xml", "r" ); - - //bool firstLineBOM=true; - if ( saved && verify ) - { - while ( fgets( verifyBuf, 256, verify ) ) - { - fgets( savedBuf, 256, saved ); - NullLineEndings( verifyBuf ); - NullLineEndings( savedBuf ); - - if ( /*!firstLineBOM && */ strcmp( verifyBuf, savedBuf ) ) - { - printf( "verify:%s<\n", verifyBuf ); - printf( "saved :%s<\n", savedBuf ); - okay = 0; - break; - } - //firstLineBOM = false; - } - } - if ( saved ) - fclose( saved ); - if ( verify ) - fclose( verify ); - XmlTest( "UTF-8: Verified multi-language round trip.", 1, okay ); - - // On most Western machines, this is an element that contains - // the word "resume" with the correct accents, in a latin encoding. - // It will be something else completely on non-wester machines, - // which is why TinyXml is switching to UTF-8. - const char latin[] = "<element>r\x82sum\x82</element>"; - - TiXmlDocument latinDoc; - latinDoc.Parse( latin, 0, TIXML_ENCODING_LEGACY ); - - text = latinDoc.FirstChildElement()->FirstChild()->ToText(); - XmlTest( "Legacy encoding: Verify text element.", "r\x82sum\x82", text->Value() ); - } - } - - ////////////////////// - // Copy and assignment - ////////////////////// - printf ("\n** Copy and Assignment **\n"); - { - TiXmlElement element( "foo" ); - element.Parse( "<element name='value' />", 0, TIXML_ENCODING_UNKNOWN ); - - TiXmlElement elementCopy( element ); - TiXmlElement elementAssign( "foo" ); - elementAssign.Parse( "<incorrect foo='bar'/>", 0, TIXML_ENCODING_UNKNOWN ); - elementAssign = element; - - XmlTest( "Copy/Assign: element copy #1.", "element", elementCopy.Value() ); - XmlTest( "Copy/Assign: element copy #2.", "value", elementCopy.Attribute( "name" ) ); - XmlTest( "Copy/Assign: element assign #1.", "element", elementAssign.Value() ); - XmlTest( "Copy/Assign: element assign #2.", "value", elementAssign.Attribute( "name" ) ); - XmlTest( "Copy/Assign: element assign #3.", true, ( 0 == elementAssign.Attribute( "foo" )) ); - - TiXmlComment comment; - comment.Parse( "<!--comment-->", 0, TIXML_ENCODING_UNKNOWN ); - TiXmlComment commentCopy( comment ); - TiXmlComment commentAssign; - commentAssign = commentCopy; - XmlTest( "Copy/Assign: comment copy.", "comment", commentCopy.Value() ); - XmlTest( "Copy/Assign: comment assign.", "comment", commentAssign.Value() ); - - TiXmlUnknown unknown; - unknown.Parse( "<[unknown]>", 0, TIXML_ENCODING_UNKNOWN ); - TiXmlUnknown unknownCopy( unknown ); - TiXmlUnknown unknownAssign; - unknownAssign.Parse( "incorrect", 0, TIXML_ENCODING_UNKNOWN ); - unknownAssign = unknownCopy; - XmlTest( "Copy/Assign: unknown copy.", "[unknown]", unknownCopy.Value() ); - XmlTest( "Copy/Assign: unknown assign.", "[unknown]", unknownAssign.Value() ); - - TiXmlText text( "TextNode" ); - TiXmlText textCopy( text ); - TiXmlText textAssign( "incorrect" ); - textAssign = text; - XmlTest( "Copy/Assign: text copy.", "TextNode", textCopy.Value() ); - XmlTest( "Copy/Assign: text assign.", "TextNode", textAssign.Value() ); - - TiXmlDeclaration dec; - dec.Parse( "<?xml version='1.0' encoding='UTF-8'?>", 0, TIXML_ENCODING_UNKNOWN ); - TiXmlDeclaration decCopy( dec ); - TiXmlDeclaration decAssign; - decAssign = dec; - - XmlTest( "Copy/Assign: declaration copy.", "UTF-8", decCopy.Encoding() ); - XmlTest( "Copy/Assign: text assign.", "UTF-8", decAssign.Encoding() ); - - TiXmlDocument doc; - elementCopy.InsertEndChild( textCopy ); - doc.InsertEndChild( decAssign ); - doc.InsertEndChild( elementCopy ); - doc.InsertEndChild( unknownAssign ); - - TiXmlDocument docCopy( doc ); - TiXmlDocument docAssign; - docAssign = docCopy; - -#ifdef TIXML_USE_STL - std::string original, copy, assign; - original << doc; - copy << docCopy; - assign << docAssign; - XmlTest( "Copy/Assign: document copy.", original.c_str(), copy.c_str(), true ); - XmlTest( "Copy/Assign: document assign.", original.c_str(), assign.c_str(), true ); - -#endif - } - - ////////////////////////////////////////////////////// -#ifdef TIXML_USE_STL - printf ("\n** Parsing, no Condense Whitespace **\n"); - TiXmlBase::SetCondenseWhiteSpace( false ); - { - istringstream parse1( "<start>This is \ntext</start>" ); - TiXmlElement text1( "text" ); - parse1 >> text1; - - XmlTest ( "Condense white space OFF.", "This is \ntext", - text1.FirstChild()->Value(), - true ); - } - TiXmlBase::SetCondenseWhiteSpace( true ); -#endif - - ////////////////////////////////////////////////////// - // GetText(); - { - const char* str = "<foo>This is text</foo>"; - TiXmlDocument doc; - doc.Parse( str ); - const TiXmlElement* element = doc.RootElement(); - - XmlTest( "GetText() normal use.", "This is text", element->GetText() ); - - str = "<foo><b>This is text</b></foo>"; - doc.Clear(); - doc.Parse( str ); - element = doc.RootElement(); - - XmlTest( "GetText() contained element.", element->GetText() == 0, true ); - - str = "<foo>This is <b>text</b></foo>"; - doc.Clear(); - TiXmlBase::SetCondenseWhiteSpace( false ); - doc.Parse( str ); - TiXmlBase::SetCondenseWhiteSpace( true ); - element = doc.RootElement(); - - XmlTest( "GetText() partial.", "This is ", element->GetText() ); - } - - - ////////////////////////////////////////////////////// - // CDATA - { - const char* str = "<xmlElement>" - "<![CDATA[" - "I am > the rules!\n" - "...since I make symbolic puns" - "]]>" - "</xmlElement>"; - TiXmlDocument doc; - doc.Parse( str ); - doc.Print(); - - XmlTest( "CDATA parse.", doc.FirstChildElement()->FirstChild()->Value(), - "I am > the rules!\n...since I make symbolic puns", - true ); - -#ifdef TIXML_USE_STL - //cout << doc << '\n'; - - doc.Clear(); - - istringstream parse0( str ); - parse0 >> doc; - //cout << doc << '\n'; - - XmlTest( "CDATA stream.", doc.FirstChildElement()->FirstChild()->Value(), - "I am > the rules!\n...since I make symbolic puns", - true ); -#endif - - TiXmlDocument doc1 = doc; - //doc.Print(); - - XmlTest( "CDATA copy.", doc1.FirstChildElement()->FirstChild()->Value(), - "I am > the rules!\n...since I make symbolic puns", - true ); - } - { - // [ 1482728 ] Wrong wide char parsing - char buf[256]; - buf[255] = 0; - for( int i=0; i<255; ++i ) - { - buf[i] = (char)((i>=32) ? i : 32); - } - TIXML_STRING str( "<xmlElement><![CDATA[" ); - str += buf; - str += "]]></xmlElement>"; - - TiXmlDocument doc; - doc.Parse( str.c_str() ); - - TiXmlPrinter printer; - printer.SetStreamPrinting(); - doc.Accept( &printer ); - - XmlTest( "CDATA with all bytes #1.", str.c_str(), printer.CStr(), true ); - -#ifdef TIXML_USE_STL - doc.Clear(); - istringstream iss( printer.Str() ); - iss >> doc; - std::string out; - out << doc; - XmlTest( "CDATA with all bytes #2.", out.c_str(), printer.CStr(), true ); -#endif - } - { - // [ 1480107 ] Bug-fix for STL-streaming of CDATA that contains tags - // CDATA streaming had a couple of bugs, that this tests for. - const char* str = "<xmlElement>" - "<![CDATA[" - "<b>I am > the rules!</b>\n" - "...since I make symbolic puns" - "]]>" - "</xmlElement>"; - TiXmlDocument doc; - doc.Parse( str ); - doc.Print(); - - XmlTest( "CDATA parse. [ 1480107 ]", doc.FirstChildElement()->FirstChild()->Value(), - "<b>I am > the rules!</b>\n...since I make symbolic puns", - true ); - -#ifdef TIXML_USE_STL - - doc.Clear(); - - istringstream parse0( str ); - parse0 >> doc; - - XmlTest( "CDATA stream. [ 1480107 ]", doc.FirstChildElement()->FirstChild()->Value(), - "<b>I am > the rules!</b>\n...since I make symbolic puns", - true ); -#endif - - TiXmlDocument doc1 = doc; - //doc.Print(); - - XmlTest( "CDATA copy. [ 1480107 ]", doc1.FirstChildElement()->FirstChild()->Value(), - "<b>I am > the rules!</b>\n...since I make symbolic puns", - true ); - } - ////////////////////////////////////////////////////// - // Visit() - - - - ////////////////////////////////////////////////////// - printf( "\n** Fuzzing... **\n" ); - - const int FUZZ_ITERATION = 300; - - // The only goal is not to crash on bad input. - int len = (int) strlen( demoStart ); - for( int i=0; i<FUZZ_ITERATION; ++i ) - { - char* demoCopy = new char[ len+1 ]; - strcpy( demoCopy, demoStart ); - - demoCopy[ i%len ] = (char)((i+1)*3); - demoCopy[ (i*7)%len ] = '>'; - demoCopy[ (i*11)%len ] = '<'; - - TiXmlDocument xml; - xml.Parse( demoCopy ); - - delete [] demoCopy; - } - printf( "** Fuzzing Complete. **\n" ); - - ////////////////////////////////////////////////////// - printf ("\n** Bug regression tests **\n"); - - // InsertBeforeChild and InsertAfterChild causes crash. - { - TiXmlElement parent( "Parent" ); - TiXmlElement childText0( "childText0" ); - TiXmlElement childText1( "childText1" ); - TiXmlNode* childNode0 = parent.InsertEndChild( childText0 ); - TiXmlNode* childNode1 = parent.InsertBeforeChild( childNode0, childText1 ); - - XmlTest( "Test InsertBeforeChild on empty node.", ( childNode1 == parent.FirstChild() ), true ); - } - - { - // InsertBeforeChild and InsertAfterChild causes crash. - TiXmlElement parent( "Parent" ); - TiXmlElement childText0( "childText0" ); - TiXmlElement childText1( "childText1" ); - TiXmlNode* childNode0 = parent.InsertEndChild( childText0 ); - TiXmlNode* childNode1 = parent.InsertAfterChild( childNode0, childText1 ); - - XmlTest( "Test InsertAfterChild on empty node. ", ( childNode1 == parent.LastChild() ), true ); - } - - // Reports of missing constructors, irregular string problems. - { - // Missing constructor implementation. No test -- just compiles. - TiXmlText text( "Missing" ); - -#ifdef TIXML_USE_STL - // Missing implementation: - TiXmlDocument doc; - string name = "missing"; - doc.LoadFile( name ); - - TiXmlText textSTL( name ); -#else - // verifying some basic string functions: - TiXmlString a; - TiXmlString b( "Hello" ); - TiXmlString c( "ooga" ); - - c = " World!"; - a = b; - a += c; - a = a; - - XmlTest( "Basic TiXmlString test. ", "Hello World!", a.c_str() ); -#endif - } - - // Long filenames crashing STL version - { - TiXmlDocument doc( "midsummerNightsDreamWithAVeryLongFilenameToConfuseTheStringHandlingRoutines.xml" ); - bool loadOkay = doc.LoadFile(); - loadOkay = true; // get rid of compiler warning. - // Won't pass on non-dev systems. Just a "no crash" check. - //XmlTest( "Long filename. ", true, loadOkay ); - } - - { - // Entities not being written correctly. - // From Lynn Allen - - const char* passages = - "<?xml version=\"1.0\" standalone=\"no\" ?>" - "<passages count=\"006\" formatversion=\"20020620\">" - "<psg context=\"Line 5 has "quotation marks" and 'apostrophe marks'." - " It also has <, >, and &, as well as a fake copyright ©.\"> </psg>" - "</passages>"; - - TiXmlDocument doc( "passages.xml" ); - doc.Parse( passages ); - TiXmlElement* psg = doc.RootElement()->FirstChildElement(); - const char* context = psg->Attribute( "context" ); - const char* expected = "Line 5 has \"quotation marks\" and 'apostrophe marks'. It also has <, >, and &, as well as a fake copyright \xC2\xA9."; - - XmlTest( "Entity transformation: read. ", expected, context, true ); - - FILE* textfile = fopen( "textfile.txt", "w" ); - if ( textfile ) - { - psg->Print( textfile, 0 ); - fclose( textfile ); - } - textfile = fopen( "textfile.txt", "r" ); - assert( textfile ); - if ( textfile ) - { - char buf[ 1024 ]; - fgets( buf, 1024, textfile ); - XmlTest( "Entity transformation: write. ", - "<psg context=\'Line 5 has "quotation marks" and 'apostrophe marks'." - " It also has <, >, and &, as well as a fake copyright \xC2\xA9.' />", - buf, - true ); - } - fclose( textfile ); - } - - { - FILE* textfile = fopen( "test5.xml", "w" ); - if ( textfile ) - { - fputs("<?xml version='1.0'?><a.elem xmi.version='2.0'/>", textfile); - fclose(textfile); - - TiXmlDocument doc; - doc.LoadFile( "test5.xml" ); - XmlTest( "dot in element attributes and names", doc.Error(), 0); - } - } - - { - FILE* textfile = fopen( "test6.xml", "w" ); - if ( textfile ) - { - fputs("<element><Name>1.1 Start easy ignore fin thickness
</Name></element>", textfile ); - fclose(textfile); - - TiXmlDocument doc; - bool result = doc.LoadFile( "test6.xml" ); - XmlTest( "Entity with one digit.", result, true ); - - TiXmlText* text = doc.FirstChildElement()->FirstChildElement()->FirstChild()->ToText(); - XmlTest( "Entity with one digit.", - text->Value(), "1.1 Start easy ignore fin thickness\n" ); - } - } - - { - // DOCTYPE not preserved (950171) - // - const char* doctype = - "<?xml version=\"1.0\" ?>" - "<!DOCTYPE PLAY SYSTEM 'play.dtd'>" - "<!ELEMENT title (#PCDATA)>" - "<!ELEMENT books (title,authors)>" - "<element />"; - - TiXmlDocument doc; - doc.Parse( doctype ); - doc.SaveFile( "test7.xml" ); - doc.Clear(); - doc.LoadFile( "test7.xml" ); - - TiXmlHandle docH( &doc ); - TiXmlUnknown* unknown = docH.Child( 1 ).Unknown(); - XmlTest( "Correct value of unknown.", "!DOCTYPE PLAY SYSTEM 'play.dtd'", unknown->Value() ); -#ifdef TIXML_USE_STL - TiXmlNode* node = docH.Child( 2 ).Node(); - std::string str; - str << (*node); - XmlTest( "Correct streaming of unknown.", "<!ELEMENT title (#PCDATA)>", str.c_str() ); -#endif - } - - { - // [ 791411 ] Formatting bug - // Comments do not stream out correctly. - const char* doctype = - "<!-- Somewhat<evil> -->"; - TiXmlDocument doc; - doc.Parse( doctype ); - - TiXmlHandle docH( &doc ); - TiXmlComment* comment = docH.Child( 0 ).Node()->ToComment(); - - XmlTest( "Comment formatting.", " Somewhat<evil> ", comment->Value() ); -#ifdef TIXML_USE_STL - std::string str; - str << (*comment); - XmlTest( "Comment streaming.", "<!-- Somewhat<evil> -->", str.c_str() ); -#endif - } - - { - // [ 870502 ] White space issues - TiXmlDocument doc; - TiXmlText* text; - TiXmlHandle docH( &doc ); - - const char* doctype0 = "<element> This has leading and trailing space </element>"; - const char* doctype1 = "<element>This has internal space</element>"; - const char* doctype2 = "<element> This has leading, trailing, and internal space </element>"; - - TiXmlBase::SetCondenseWhiteSpace( false ); - doc.Clear(); - doc.Parse( doctype0 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space kept.", " This has leading and trailing space ", text->Value() ); - - doc.Clear(); - doc.Parse( doctype1 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space kept.", "This has internal space", text->Value() ); - - doc.Clear(); - doc.Parse( doctype2 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space kept.", " This has leading, trailing, and internal space ", text->Value() ); - - TiXmlBase::SetCondenseWhiteSpace( true ); - doc.Clear(); - doc.Parse( doctype0 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space condensed.", "This has leading and trailing space", text->Value() ); - - doc.Clear(); - doc.Parse( doctype1 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space condensed.", "This has internal space", text->Value() ); - - doc.Clear(); - doc.Parse( doctype2 ); - text = docH.FirstChildElement( "element" ).Child( 0 ).Text(); - XmlTest( "White space condensed.", "This has leading, trailing, and internal space", text->Value() ); - } - - { - // Double attributes - const char* doctype = "<element attr='red' attr='blue' />"; - - TiXmlDocument doc; - doc.Parse( doctype ); - - XmlTest( "Parsing repeated attributes.", true, doc.Error() ); // is an error to tinyxml (didn't use to be, but caused issues) - //XmlTest( "Parsing repeated attributes.", "blue", doc.FirstChildElement( "element" )->Attribute( "attr" ) ); - } - - { - // Embedded null in stream. - const char* doctype = "<element att\0r='red' attr='blue' />"; - - TiXmlDocument doc; - doc.Parse( doctype ); - XmlTest( "Embedded null throws error.", true, doc.Error() ); - -#ifdef TIXML_USE_STL - istringstream strm( doctype ); - doc.Clear(); - doc.ClearError(); - strm >> doc; - XmlTest( "Embedded null throws error.", true, doc.Error() ); -#endif - } - - { - // Legacy mode test. (This test may only pass on a western system) - const char* str = - "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" - "<ä>" - "CöntäntßäöüÄÖÜ" - "</ä>"; - - TiXmlDocument doc; - doc.Parse( str ); - - TiXmlHandle docHandle( &doc ); - TiXmlHandle aHandle = docHandle.FirstChildElement( "ä" ); - TiXmlHandle tHandle = aHandle.Child( 0 ); - assert( aHandle.Element() ); - assert( tHandle.Text() ); - XmlTest( "ISO-8859-1 Parsing.", "CöntäntßäöüÄÖÜ", tHandle.Text()->Value() ); - } - - { - // Empty documents should return TIXML_ERROR_PARSING_EMPTY, bug 1070717 - const char* str = " "; - TiXmlDocument doc; - doc.Parse( str ); - XmlTest( "Empty document error TIXML_ERROR_DOCUMENT_EMPTY", TiXmlBase::TIXML_ERROR_DOCUMENT_EMPTY, doc.ErrorId() ); - } -#ifndef TIXML_USE_STL - { - // String equality. [ 1006409 ] string operator==/!= no worky in all cases - TiXmlString temp; - XmlTest( "Empty tinyxml string compare equal", ( temp == "" ), true ); - - TiXmlString foo; - TiXmlString bar( "" ); - XmlTest( "Empty tinyxml string compare equal", ( foo == bar ), true ); - } - -#endif - { - // Bug [ 1195696 ] from marlonism - TiXmlBase::SetCondenseWhiteSpace(false); - TiXmlDocument xml; - xml.Parse("<text><break/>This hangs</text>"); - XmlTest( "Test safe error return.", xml.Error(), false ); - } - - { - // Bug [ 1243992 ] - another infinite loop - TiXmlDocument doc; - doc.SetCondenseWhiteSpace(false); - doc.Parse("<p><pb></pb>test</p>"); - } - { - // Low entities - TiXmlDocument xml; - xml.Parse( "<test></test>" ); - const char result[] = { 0x0e, 0 }; - XmlTest( "Low entities.", xml.FirstChildElement()->GetText(), result ); - xml.Print(); - } - { - // Bug [ 1451649 ] Attribute values with trailing quotes not handled correctly - TiXmlDocument xml; - xml.Parse( "<foo attribute=bar\" />" ); - XmlTest( "Throw error with bad end quotes.", xml.Error(), true ); - } -#ifdef TIXML_USE_STL - { - // Bug [ 1449463 ] Consider generic query - TiXmlDocument xml; - xml.Parse( "<foo bar='3' barStr='a string'/>" ); - - TiXmlElement* ele = xml.FirstChildElement(); - double d; - int i; - float f; - bool b; - std::string str; - - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "bar", &d ), TIXML_SUCCESS ); - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "bar", &i ), TIXML_SUCCESS ); - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "bar", &f ), TIXML_SUCCESS ); - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "bar", &b ), TIXML_WRONG_TYPE ); - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "nobar", &b ), TIXML_NO_ATTRIBUTE ); - XmlTest( "QueryValueAttribute", ele->QueryValueAttribute( "barStr", &str ), TIXML_SUCCESS ); - - XmlTest( "QueryValueAttribute", (d==3.0), true ); - XmlTest( "QueryValueAttribute", (i==3), true ); - XmlTest( "QueryValueAttribute", (f==3.0f), true ); - XmlTest( "QueryValueAttribute", (str==std::string( "a string" )), true ); - } -#endif - -#ifdef TIXML_USE_STL - { - // [ 1505267 ] redundant malloc in TiXmlElement::Attribute - TiXmlDocument xml; - xml.Parse( "<foo bar='3' />" ); - TiXmlElement* ele = xml.FirstChildElement(); - double d; - int i; - - std::string bar = "bar"; - - const std::string* atrrib = ele->Attribute( bar ); - ele->Attribute( bar, &d ); - ele->Attribute( bar, &i ); - - XmlTest( "Attribute", atrrib->empty(), false ); - XmlTest( "Attribute", (d==3.0), true ); - XmlTest( "Attribute", (i==3), true ); - } -#endif - - { - // [ 1356059 ] Allow TiXMLDocument to only be at the top level - TiXmlDocument xml, xml2; - xml.InsertEndChild( xml2 ); - XmlTest( "Document only at top level.", xml.Error(), true ); - XmlTest( "Document only at top level.", xml.ErrorId(), TiXmlBase::TIXML_ERROR_DOCUMENT_TOP_ONLY ); - } - - { - // [ 1663758 ] Failure to report error on bad XML - TiXmlDocument xml; - xml.Parse("<x>"); - XmlTest("Missing end tag at end of input", xml.Error(), true); - xml.Parse("<x> "); - XmlTest("Missing end tag with trailing whitespace", xml.Error(), true); - } - - { - // [ 1635701 ] fail to parse files with a tag separated into two lines - // I'm not sure this is a bug. Marked 'pending' for feedback. - TiXmlDocument xml; - xml.Parse( "<title><p>text</p\n><title>" ); - //xml.Print(); - //XmlTest( "Tag split by newline", xml.Error(), false ); - } - -#ifdef TIXML_USE_STL - { - // [ 1475201 ] TinyXML parses entities in comments - TiXmlDocument xml; - istringstream parse1( "<!-- declarations for <head> & <body> -->" - "<!-- far & away -->" ); - parse1 >> xml; - - TiXmlNode* e0 = xml.FirstChild(); - TiXmlNode* e1 = e0->NextSibling(); - TiXmlComment* c0 = e0->ToComment(); - TiXmlComment* c1 = e1->ToComment(); - - XmlTest( "Comments ignore entities.", " declarations for <head> & <body> ", c0->Value(), true ); - XmlTest( "Comments ignore entities.", " far & away ", c1->Value(), true ); - } -#endif - - { - // [ 1475201 ] TinyXML parses entities in comments - TiXmlDocument xml; - xml.Parse("<!-- declarations for <head> & <body> -->" - "<!-- far & away -->" ); - - TiXmlNode* e0 = xml.FirstChild(); - TiXmlNode* e1 = e0->NextSibling(); - TiXmlComment* c0 = e0->ToComment(); - TiXmlComment* c1 = e1->ToComment(); - - XmlTest( "Comments ignore entities.", " declarations for <head> & <body> ", c0->Value(), true ); - XmlTest( "Comments ignore entities.", " far & away ", c1->Value(), true ); - } - - { - TiXmlDocument xml; - xml.Parse( "<Parent>" - "<child1 att=''/>" - "<!-- With this comment, child2 will not be parsed! -->" - "<child2 att=''/>" - "</Parent>" ); - int count = 0; - - TiXmlNode* ele = 0; - while ( (ele = xml.FirstChildElement( "Parent" )->IterateChildren( ele ) ) != 0 ) - { - ++count; - } - XmlTest( "Comments iterate correctly.", 3, count ); - } - - { - // trying to repro ]1874301]. If it doesn't go into an infinite loop, all is well. - unsigned char buf[] = "<?xml version=\"1.0\" encoding=\"utf-8\"?><feed><![CDATA[Test XMLblablablalblbl"; - buf[60] = 239; - buf[61] = 0; - - TiXmlDocument doc; - doc.Parse( (const char*)buf); - } - - - { - // bug 1827248 Error while parsing a little bit malformed file - // Actually not malformed - should work. - TiXmlDocument xml; - xml.Parse( "<attributelist> </attributelist >" ); - XmlTest( "Handle end tag whitespace", false, xml.Error() ); - } - - { - // This one must not result in an infinite loop - TiXmlDocument xml; - xml.Parse( "<infinite>loop" ); - XmlTest( "Infinite loop test.", true, true ); - } - - { - // 1709904 - can not repro the crash - { - TiXmlDocument xml; - xml.Parse( "<tag>/</tag>" ); - XmlTest( "Odd XML parsing.", xml.FirstChild()->Value(), "tag" ); - } - /* Could not repro. { - TiXmlDocument xml; - xml.LoadFile( "EQUI_Inventory.xml" ); - //XmlTest( "Odd XML parsing.", xml.FirstChildElement()->Value(), "XML" ); - TiXmlPrinter printer; - xml.Accept( &printer ); - fprintf( stdout, "%s", printer.CStr() ); - }*/ - } - - /* 1417717 experiment - { - TiXmlDocument xml; - xml.Parse("<text>Dan & Tracie</text>"); - xml.Print(stdout); - } - { - TiXmlDocument xml; - xml.Parse("<text>Dan &foo; Tracie</text>"); - xml.Print(stdout); - } - */ - -#if defined( WIN32 ) && defined( TUNE ) - _CrtMemCheckpoint( &endMemState ); - //_CrtMemDumpStatistics( &endMemState ); - - _CrtMemState diffMemState; - _CrtMemDifference( &diffMemState, &startMemState, &endMemState ); - _CrtMemDumpStatistics( &diffMemState ); -#endif - - printf ("\nPass %d, Fail %d\n", gPass, gFail); - return gFail; -} diff --git a/shared/util.cpp b/shared/util.cpp index ab0b5a44..6f066959 100644 --- a/shared/util.cpp +++ b/shared/util.cpp @@ -12,7 +12,6 @@ #include "i18n.h" #include "file_handling.h" #include "string_conv.h" -#include <stdexcept> #include "last_error.h" #include "check_exist.h" #include "assert_static.h" @@ -150,41 +149,22 @@ wxString zen::utcTimeToLocalString(zen::Int64 utcTime) lastWriteTimeUtc.dwLowDateTime = fileTimeLong.getLo(); lastWriteTimeUtc.dwHighDateTime = fileTimeLong.getHi(); - //dates less than a few (let's say 13) hours after 1.1.1601 cause conversion errors in ::SystemTimeToTzSpecificLocalTime() if timezone is subtracted! - if (lastWriteTimeUtc.dwHighDateTime < 110) - return _("Error"); - SYSTEMTIME systemTimeLocal = {}; static const bool useNewLocalTimeCalculation = isVistaOrLater(); if (useNewLocalTimeCalculation) //use DST setting from source date (like in Windows 7, see http://msdn.microsoft.com/en-us/library/ms724277(VS.85).aspx) { - if (lastWriteTimeUtc.dwHighDateTime >= 0x80000000) - return _("Error"); - SYSTEMTIME systemTimeUtc = {}; if (!::FileTimeToSystemTime( &lastWriteTimeUtc, //__in const FILETIME *lpFileTime, &systemTimeUtc)) //__out LPSYSTEMTIME lpSystemTime - throw std::runtime_error(std::string((wxString(_("Conversion error:")) + wxT(" FILETIME -> SYSTEMTIME: ") + - wxT("(") + wxT("UTC [s]: ") + toString<wxString>(utcTime) + wxT(" ") + - wxT("UTC FILETIME: ") + toString<wxString>(fileTimeLong) + wxT(") ") + - wxT("\n\n") + getLastErrorFormatted()).ToAscii())); + return _("Error"); if (!::SystemTimeToTzSpecificLocalTime( NULL, //__in_opt LPTIME_ZONE_INFORMATION lpTimeZone, &systemTimeUtc, //__in LPSYSTEMTIME lpUniversalTime, &systemTimeLocal)) //__out LPSYSTEMTIME lpLocalTime - throw std::runtime_error(std::string((wxString(_("Conversion error:")) + wxT(" SYSTEMTIME -> local SYSTEMTIME: ") + - wxT("(") + wxT("UTC [s]: ") + toString<wxString>(utcTime) + wxT("\n") + - wxT("UTC System time: ") + - toString<wxString>(systemTimeUtc.wYear) + wxT(" ") + - toString<wxString>(systemTimeUtc.wMonth) + wxT(" ") + - toString<wxString>(systemTimeUtc.wDay) + wxT(" ") + - toString<wxString>(systemTimeUtc.wHour) + wxT(" ") + - toString<wxString>(systemTimeUtc.wMinute) + wxT(" ") + - toString<wxString>(systemTimeUtc.wSecond) + wxT(")") + - wxT("\n\n") + getLastErrorFormatted()).ToAscii())); + return _("Error"); } else //use DST setting (like in Windows 2000 and XP) { @@ -192,24 +172,11 @@ wxString zen::utcTimeToLocalString(zen::Int64 utcTime) if (!::FileTimeToLocalFileTime( //convert to local time &lastWriteTimeUtc, //pointer to UTC file time to convert &fileTimeLocal)) //pointer to converted file time - throw std::runtime_error(std::string((wxString(_("Conversion error:")) + wxT(" FILETIME -> local FILETIME: ") + - wxT("(") + wxT("UTC [s]: ") + toString<wxString>(utcTime) + wxT(" ") + - wxT("UTC FILETIME: ") + toString<wxString>(fileTimeLong) + wxT(") ") + - wxT("\n\n") + getLastErrorFormatted()).ToAscii())); - - if (fileTimeLocal.dwHighDateTime >= 0x80000000) - return _("Error"); //this actually CAN happen if UTC time is just below this border and ::FileTimeToLocalFileTime() adds 2 hours due to DST or whatever! - //Testcase (UTC): dateHigh = 2147483647 (=0x7fffffff) -> year 30000 - // dateLow = 4294967295 + return _("Error"); if (!::FileTimeToSystemTime(&fileTimeLocal, //pointer to file time to convert &systemTimeLocal)) //pointer to structure to receive system time - throw std::runtime_error(std::string((wxString(_("Conversion error:")) + wxT(" local FILETIME -> local SYSTEMTIME: ") + - wxT("(") + wxT("UTC [s]: ") + toString<wxString>(utcTime) + wxT(" ") + - wxT("local FILETIME: ") + - wxT("High: ") + toString<wxString>(fileTimeLocal.dwHighDateTime) + - wxT("Low: ") + toString<wxString>(fileTimeLocal.dwLowDateTime) + wxT(") ") + - wxT("\n\n") + getLastErrorFormatted()).ToAscii())); + return _("Error"); } const wxDateTime localTime(systemTimeLocal.wDay, diff --git a/shared/util.h b/shared/util.h index 2c9af176..2aa48af9 100644 --- a/shared/util.h +++ b/shared/util.h @@ -30,23 +30,6 @@ wxString toStringSep(NumberType number); //convert number to wxString including void scrollToBottom(wxScrolledWindow* scrWindow); wxString utcTimeToLocalString(zen::Int64 utcTime); //throw std::runtime_error - - -//handle mapping of enum values to wxChoice controls -template <class Enum> -struct EnumDescrList -{ - EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = wxEmptyString) - { - descrList.push_back(std::make_pair(value, std::make_pair(text, tooltip))); - return *this; - } - typedef std::vector<std::pair<Enum, std::pair<wxString, wxString> > > DescrList; - DescrList descrList; -}; -template <class Enum> void setEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl, Enum value); -template <class Enum> Enum getEnumVal(const EnumDescrList<Enum>& mapping, const wxChoice& ctrl); -template <class Enum> void updateTooltipEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl); } @@ -91,51 +74,6 @@ wxString toStringSep(NumberType number) { return ffs_Impl::includeNumberSeparator(zen::toString<wxString>(number)); } - -template <class Enum> -void setEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl, Enum value) -{ - ctrl.Clear(); - - int selectedPos = 0; - for (typename EnumDescrList<Enum>::DescrList::const_iterator i = mapping.descrList.begin(); i != mapping.descrList.end(); ++i) - { - ctrl.Append(i->second.first); - if (i->first == value) - { - selectedPos = i - mapping.descrList.begin(); - - if (!i->second.second.empty()) - ctrl.SetToolTip(i->second.second); - } - } - - ctrl.SetSelection(selectedPos); -} - -template <class Enum> -Enum getEnumVal(const EnumDescrList<Enum>& mapping, const wxChoice& ctrl) -{ - const int selectedPos = ctrl.GetSelection(); - - if (0 <= selectedPos && selectedPos < static_cast<int>(mapping.descrList.size())) - return mapping.descrList[selectedPos].first; - else - { - assert(false); - return Enum(0); - } -} - -template <class Enum> void updateTooltipEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl) -{ - const Enum value = getEnumVal(mapping, ctrl); - - for (typename EnumDescrList<Enum>::DescrList::const_iterator i = mapping.descrList.begin(); i != mapping.descrList.end(); ++i) - if (i->first == value) - ctrl.SetToolTip(i->second.second); -} - } diff --git a/shared/wx_choice_enum.h b/shared/wx_choice_enum.h new file mode 100644 index 00000000..9f832394 --- /dev/null +++ b/shared/wx_choice_enum.h @@ -0,0 +1,129 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +// +#ifndef WX_CHOICE_ENUM_H_INCLUDED +#define WX_CHOICE_ENUM_H_INCLUDED + +#include <wx/choice.h> +#include <vector> + +//handle mapping of enum values to wxChoice controls + +/* +Example: + +Member variable: + zen::EnumDescrList<EnumOnError> enumDescrMap; + +Constructor code: + enumDescrMap. + add(ON_ERROR_POPUP , _("Show popup") , _("Show popup on errors or warnings")). + add(ON_ERROR_IGNORE, _("Ignore errors") , _("Hide all error and warning messages")). + add(ON_ERROR_EXIT , _("Exit instantly"), _("Abort synchronization immediately")); + +Set enum value: + setEnumVal(enumDescrMap, *m_choiceHandleError, value); + +Get enum value: + value = getEnumVal(enumDescrMap, *m_choiceHandleError) + +Update enum tooltips (after user changed selection): + updateTooltipEnumVal(enumDescrMap, *m_choiceHandleError); +*/ + + +namespace zen +{ +template <class Enum> +struct EnumDescrList +{ + EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = wxEmptyString) + { + descrList.push_back(std::make_pair(value, std::make_pair(text, tooltip))); + return *this; + } + typedef std::vector<std::pair<Enum, std::pair<wxString, wxString> > > DescrList; + DescrList descrList; +}; +template <class Enum> void setEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl, Enum value); +template <class Enum> Enum getEnumVal(const EnumDescrList<Enum>& mapping, const wxChoice& ctrl); +template <class Enum> void updateTooltipEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl); + + + + + + + + + + + + + + + + + + + + + + + + + + + +//--------------- inline impelementation ------------------------------------------- +template <class Enum> +void setEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl, Enum value) +{ + ctrl.Clear(); + + int selectedPos = 0; + for (typename EnumDescrList<Enum>::DescrList::const_iterator i = mapping.descrList.begin(); i != mapping.descrList.end(); ++i) + { + ctrl.Append(i->second.first); + if (i->first == value) + { + selectedPos = i - mapping.descrList.begin(); + + if (!i->second.second.empty()) + ctrl.SetToolTip(i->second.second); + } + } + + ctrl.SetSelection(selectedPos); +} + +template <class Enum> +Enum getEnumVal(const EnumDescrList<Enum>& mapping, const wxChoice& ctrl) +{ + const int selectedPos = ctrl.GetSelection(); + + if (0 <= selectedPos && selectedPos < static_cast<int>(mapping.descrList.size())) + return mapping.descrList[selectedPos].first; + else + { + assert(false); + return Enum(0); + } +} + +template <class Enum> void updateTooltipEnumVal(const EnumDescrList<Enum>& mapping, wxChoice& ctrl) +{ + const Enum value = getEnumVal(mapping, ctrl); + + for (typename EnumDescrList<Enum>::DescrList::const_iterator i = mapping.descrList.begin(); i != mapping.descrList.end(); ++i) + if (i->first == value) + ctrl.SetToolTip(i->second.second); +} + +} + + +#endif //WX_CHOICE_ENUM_H_INCLUDED diff --git a/shared/wx_timespan.h b/shared/wx_timespan.h new file mode 100644 index 00000000..108327bf --- /dev/null +++ b/shared/wx_timespan.h @@ -0,0 +1,166 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +// +#ifndef WX_TIMESPAN_CTRL_HEADER_INCLUDED +#define WX_TIMESPAN_CTRL_HEADER_INCLUDED + +#include <wx/textctrl.h> +#include <wx/datetime.h> +#include <wx/spinbutt.h> +#include <wx/sizer.h> + +//user friendly time span control +//- constructor is compatible with a wxTextControl +//- emits change event: wxEVT_TIMESPAN_CHANGE + +namespace zen +{ +inline +wxEventType getEventType() //external linkage +{ + static wxEventType evt = wxNewEventType(); + return evt; +} +const wxEventType wxEVT_TIMESPAN_CHANGE = getEventType(); + + +class TimeSpanCtrl : public wxPanel +{ +public: + TimeSpanCtrl(wxWindow* parent, wxWindowID id, + const wxString& value = wxEmptyString, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxTextCtrlNameStr) : + wxPanel(parent, id, pos, size, style, name), + FORMAT_TIMESPAN(wxT("%H:%M:%S")) + { + wxBoxSizer* bSizer27 = new wxBoxSizer( wxHORIZONTAL ); + + m_textCtrl = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CENTRE ); + bSizer27->Add(m_textCtrl, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); + + m_spinBtn = new wxSpinButton(this, wxID_ANY, wxDefaultPosition, wxSize( 20,-1 ), wxSP_ARROW_KEYS ); + bSizer27->Add(m_spinBtn, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); + + SetSizer(bSizer27); + Layout(); + + //connect events + m_spinBtn ->Connect(wxEVT_SCROLL_LINEUP, wxEventHandler (TimeSpanCtrl::OnSpinUp), NULL, this); + m_spinBtn ->Connect(wxEVT_SCROLL_LINEDOWN, wxEventHandler (TimeSpanCtrl::OnSpinDown), NULL, this); + m_textCtrl->Connect(wxEVT_KEY_DOWN, wxKeyEventHandler (TimeSpanCtrl::OnKeyPress), NULL, this); + m_textCtrl->Connect(wxEVT_MOUSEWHEEL, wxMouseEventHandler(TimeSpanCtrl::OnMouseAction), NULL, this); + + setValue(0); + } + + void setValue(int span) //unit: [s] + { + wxString newValue; + if (span < 0) + { + newValue += wxT("- "); + span = -span; + } + newValue += wxTimeSpan::Seconds(span).Format(FORMAT_TIMESPAN); + + long pos = m_textCtrl->GetInsertionPoint(); + pos += newValue.size() - m_textCtrl->GetValue().size(); + + m_textCtrl->ChangeValue(newValue); + m_textCtrl->SetInsertionPoint(pos); + + wxCommandEvent chgEvent(wxEVT_TIMESPAN_CHANGE); + wxPostEvent(this, chgEvent); + } + + int getValue() const + { + wxString textVal = m_textCtrl->GetValue(); + textVal.Trim(false); + + bool isNegative = false; + if (textVal.StartsWith(wxT("-"))) + { + isNegative = true; + textVal = textVal.substr(1); + } + textVal.Trim(false); + + wxDateTime tmp(time_t(0)); + if (tmp.ParseFormat(textVal, FORMAT_TIMESPAN, wxDateTime(tmp)) == NULL) + return 0; + + return (isNegative ? -1 : 1) * + (tmp.GetHour () * 3600 + + tmp.GetMinute() * 60 + + tmp.GetSecond()); + } + +private: + void OnSpinUp (wxEvent& event) { spinValue(true); } + void OnSpinDown(wxEvent& event) { spinValue(false); } + + void OnKeyPress(wxKeyEvent& event) + { + const int keyCode = event.GetKeyCode(); + switch (keyCode) + { + case WXK_UP: + case WXK_NUMPAD_UP: + return spinValue(true); + case WXK_DOWN: + case WXK_NUMPAD_DOWN: + return spinValue(false); + default: + event.Skip(); + } + } + + void OnMouseAction(wxMouseEvent& event) + { + int delta = event.GetWheelRotation(); + if (delta > 0) + spinValue(true); + else if (delta < 0) + spinValue(false); + else + event.Skip(); + } + + void spinValue(bool up) + { + wxString textval = m_textCtrl->GetValue(); + long pos = m_textCtrl->GetInsertionPoint(); + + int stepSize = 1; + if (pos <= static_cast<long>(textval.size())) + { + int delimCount = std::count(textval.begin() + pos, textval.end(), wxT(':')); + if (delimCount == 1) + stepSize = 60; //minute + else if (delimCount == 2) + stepSize = 3600; //hour + } + + if (!up) + stepSize *= -1; + + setValue(getValue() + stepSize); + } + + wxTextCtrl* m_textCtrl; + wxSpinButton* m_spinBtn; + + const wxString FORMAT_TIMESPAN; +}; +} + + +#endif //WX_TIMESPAN_CTRL_HEADER_INCLUDED diff --git a/shared/xml_base.cpp b/shared/xml_base.cpp index efed738a..3b786fe8 100644 --- a/shared/xml_base.cpp +++ b/shared/xml_base.cpp @@ -5,328 +5,96 @@ // ************************************************************************** // #include "xml_base.h" -#include "file_io.h" -#include "i18n.h" -#include "string_conv.h" -#include "system_constants.h" -#include "file_handling.h" +#include <file_handling.h> +#include <string_conv.h> +#include <file_io.h> +#include <i18n.h> +#include <system_constants.h> using namespace zen; -using namespace xmlAccess; -namespace +void xmlAccess::loadXmlDocument(const wxString& filename, XmlDoc& doc) //throw FfsXmlError() { -//convert (0xD, 0xA) and (0xD) to 0xA: just like in TiXmlDocument::LoadFile(); not sure if actually needed -void normalize(std::vector<char>& stream) -{ - std::vector<char> tmp; - for (std::vector<char>::const_iterator i = stream.begin(); i != stream.end(); ++i) - switch (*i) - { - case '\xD': - tmp.push_back('\xA'); - if (i + 1 != stream.end() && *(i + 1) == '\xA') - ++i; - break; - default: - tmp.push_back(*i); - } - - stream.swap(tmp); -} - - -void parseRawXmlDocument(const wxString& filename, TiXmlDocument& document) //throw XmlError() -{ - const zen::UInt64 fs = zen::getFilesize(wxToZ(filename)); - + std::string stream; try { + const zen::UInt64 fs = zen::getFilesize(wxToZ(filename)); //throw (FileError) { //quick test whether input is an XML: avoid loading large binary files up front! - std::string xmlBegin = "<?xml version="; + //doesn't correctly handle BOM! (but no issue yet...) + const std::string xmlBegin = "<?xml version="; std::vector<char> buffer(xmlBegin.size()); FileInput inputFile(wxToZ(filename)); //throw (FileError); const size_t bytesRead = inputFile.read(&buffer[0], buffer.size()); //throw (FileError) if (bytesRead < xmlBegin.size() || !std::equal(buffer.begin(), buffer.end(), xmlBegin.begin())) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); } - std::vector<char> buffer(to<size_t>(fs) + 1); //inc. null-termination (already set!) + stream.resize(to<size_t>(fs)); FileInput inputFile(wxToZ(filename)); //throw (FileError); - const size_t bytesRead = inputFile.read(&buffer[0], to<size_t>(fs)); //throw (FileError) + const size_t bytesRead = inputFile.read(&stream[0], stream.size()); //throw (FileError) if (bytesRead < to<size_t>(fs)) { wxString errorMessage = wxString(_("Error reading file:")) + wxT("\n\"") + filename + wxT("\""); - throw XmlError(errorMessage + wxT("\n\n")); + throw FfsXmlError(errorMessage + wxT("\n\n")); } - - //convert (0xD, 0xA) and (0xD) to (0xA): just like in TiXmlDocument::LoadFile(); not sure if actually needed - normalize(buffer); - - document.Parse(&buffer[0], 0, TIXML_ENCODING_UTF8); //respect null-termination! } catch (const FileError& error) //more detailed error messages than with wxWidgets { - throw XmlError(error.msg()); + throw FfsXmlError(error.msg()); } -} -} - - -void xmlAccess::loadXmlDocument(const wxString& filename, TiXmlDocument& document) //throw XmlError() -{ - TiXmlBase::SetCondenseWhiteSpace(false); //do not condense whitespace characters - ::parseRawXmlDocument(filename, document); //throw XmlError() - - TiXmlElement* root = document.RootElement(); - if (!root) - throw XmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); -} - - -namespace -{ -bool saveNecessary(const Zstring& filename, const std::string& dataToWrite) //throw() -{ try { - if (zen::getFilesize(filename) != static_cast<unsigned long>(dataToWrite.size())) //throw (FileError); - return true; - - std::vector<char> inputBuffer(dataToWrite.size() + 1); //+ 1 in order to test for end of file! - - FileInput inputFile(filename); //throw (FileError); - - const size_t bytesRead = inputFile.read(&inputBuffer[0], inputBuffer.size()); //throw (FileError) - if (bytesRead != dataToWrite.size()) //implicit test for eof! - return true; - - return ::memcmp(&inputBuffer[0], dataToWrite.c_str(), dataToWrite.size()) != 0; - } - catch (const FileError&) - { - return true; + zen::parse(stream, doc); //throw XmlParsingError } -} -} - - -void xmlAccess::saveXmlDocument(const wxString& filename, const TiXmlDocument& document) //throw (XmlError) -{ - TiXmlBase::SetCondenseWhiteSpace(false); //do not condense whitespace characters - - //convert XML into continuous byte sequence - TiXmlPrinter printer; - printer.SetLineBreak(wxString(common::LINE_BREAK).ToUTF8()); - document.Accept(&printer); - const std::string buffer = printer.Str(); - - if (saveNecessary(wxToZ(filename), buffer)) //only write file if different data will be written + catch (const XmlParsingError&) { - try - { - FileOutput outputFile(wxToZ(filename), FileOutput::ACC_OVERWRITE); //throw (FileError) - outputFile.write(buffer.c_str(), buffer.length()); // - } - catch (const FileError& error) //more detailed error messages than with wxWidgets - { - throw XmlError(error.msg()); - } + throw FfsXmlError(wxString(_("Error parsing configuration file:")) + wxT("\n\"") + filename + wxT("\"")); } } -//################################################################################################################ -bool xmlAccess::readXmlElement(const std::string& name, const TiXmlElement* parent, std::string& output) +const wxString xmlAccess::getErrorMessageFormatted(const XmlIn& in) { - if (parent) - { - const TiXmlElement* child = parent->FirstChildElement(name); - if (child) - { - const char* text = child->GetText(); - if (text) //may be NULL!! - output = text; - else //NULL means empty string - output.clear(); - return true; - } - } - - return false; -} - + wxString errorMessage = wxString(_("Could not read values for the following XML nodes:")) + wxT("\n"); -bool xmlAccess::readXmlElement(const std::string& name, const TiXmlElement* parent, wxString& output) -{ - std::string tempString; - if (!readXmlElement(name, parent, tempString)) - return false; + std::vector<wxString> failedNodes = in.getErrorsAs<wxString>(); + std::for_each(failedNodes.begin(), failedNodes.end(), + [&](const wxString& str) { errorMessage += str + wxT('\n'); }); - output = wxString::FromUTF8(tempString.c_str()); - return true; + return errorMessage; } -bool xmlAccess::readXmlElement(const std::string& name, const TiXmlElement* parent, bool& output) +void xmlAccess::saveXmlDocument(const zen::XmlDoc& doc, const wxString& filename) //throw (FfsXmlError) { - std::string dummy; - if (readXmlElement(name, parent, dummy)) - { - output = dummy == "true"; - return true; - } - else - return false; -} + std::string stream = serialize(doc); //throw () - -bool xmlAccess::readXmlElement(const std::string& name, const TiXmlElement* parent, std::vector<wxString>& output) -{ - if (parent) + bool saveNecessary = true; + try { - //load elements - const TiXmlElement* xmlList = parent->FirstChildElement(name); - if (xmlList) - { - output.clear(); - for (const TiXmlElement* item = xmlList->FirstChildElement("Item"); item != NULL; item = item->NextSiblingElement()) + if (zen::getFilesize(wxToZ(filename)) == stream.size()) //throw FileError + try { - const char* text = item->GetText(); - if (text) //may be NULL!! - output.push_back(wxString::FromUTF8(text)); - else - output.push_back(wxEmptyString); + if (zen::loadStream(filename) == stream) //throw XmlFileError + saveNecessary = false; } - return true; - } + catch(const zen::XmlFileError&) {} } + catch (FileError&) {} - return false; -} - - -bool xmlAccess::readXmlAttribute(const std::string& name, const TiXmlElement* node, std::string& output) -{ - if (node) - { - const std::string* attrib = node->Attribute(name); - if (attrib) //may be NULL! + if (saveNecessary) + try { - output = *attrib; - return true; + FileOutput outputFile(wxToZ(filename), FileOutput::ACC_OVERWRITE); //throw (FileError) + outputFile.write(stream.c_str(), stream.length()); // + } + catch (const FileError& error) //more detailed error messages than with wxWidgets + { + throw FfsXmlError(error.msg()); } - } - return false; -} - - -bool xmlAccess::readXmlAttribute(const std::string& name, const TiXmlElement* node, wxString& output) -{ - std::string tempString; - if (!readXmlAttribute(name, node, tempString)) - return false; - - output = wxString::FromUTF8(tempString.c_str()); - return true; -} - - -bool xmlAccess::readXmlAttribute(const std::string& name, const TiXmlElement* node, bool& output) -{ - std::string dummy; - if (readXmlAttribute(name, node, dummy)) - { - output = dummy == "true"; - return true; - } - else - return false; -} - - -//################################################################################################################ - - -void xmlAccess::addXmlElement(const std::string& name, const std::string& value, TiXmlElement* parent) -{ - if (parent) - { - TiXmlElement* subElement = new TiXmlElement(name); - parent->LinkEndChild(subElement); - subElement->LinkEndChild(new TiXmlText(value)); - } -} - - -void xmlAccess::addXmlElement(const std::string& name, const wxString& value, TiXmlElement* parent) -{ - addXmlElement(name, std::string(value.ToUTF8()), parent); -} - - -void xmlAccess::addXmlElement(const std::string& name, const bool value, TiXmlElement* parent) -{ - if (value) - addXmlElement(name, std::string("true"), parent); - else - addXmlElement(name, std::string("false"), parent); -} - - -void xmlAccess::addXmlElement(const std::string& name, const std::vector<wxString>& value, TiXmlElement* parent) -{ - if (parent) - { - TiXmlElement* xmlList= new TiXmlElement(name); - parent->LinkEndChild(xmlList); - - for (std::vector<wxString>::const_iterator i = value.begin(); i != value.end(); ++i) - addXmlElement("Item", std::string(i->ToUTF8()), xmlList); - } -} - - -void xmlAccess::addXmlAttribute(const std::string& name, const std::string& value, TiXmlElement* node) -{ - if (node) - node->SetAttribute(name, value); -} - - -void xmlAccess::addXmlAttribute(const std::string& name, const wxString& value, TiXmlElement* node) -{ - addXmlAttribute(name, std::string(value.ToUTF8()), node); -} - - -void xmlAccess::addXmlAttribute(const std::string& name, const bool value, TiXmlElement* node) -{ - if (value) - addXmlAttribute(name, std::string("true"), node); - else - addXmlAttribute(name, std::string("false"), node); -} - - -using xmlAccess::XmlErrorLogger; - -void XmlErrorLogger::logError(const std::string& nodeName) -{ - failedNodes.push_back(wxString::FromUTF8(nodeName.c_str())); -} - - -const wxString XmlErrorLogger::getErrorMessageFormatted() const -{ - wxString errorMessage = wxString(_("Could not read values for the following XML nodes:")) + wxT("\n"); - for (std::vector<wxString>::const_iterator i = failedNodes.begin(); i != failedNodes.end(); ++i) - errorMessage += wxString(wxT("<")) + *i + wxT(">") + ((i - failedNodes.begin() + 1) % 3 == 0 ? wxT("\n") : wxT(" ")); - return errorMessage; } - diff --git a/shared/xml_base.h b/shared/xml_base.h index 337bfbd8..6a47fcf2 100644 --- a/shared/xml_base.h +++ b/shared/xml_base.h @@ -7,193 +7,15 @@ #ifndef XMLBASE_H_INCLUDED #define XMLBASE_H_INCLUDED -#include <string> -#include <vector> -#include "tinyxml/tinyxml.h" -#include "string_tools.h" -#include <wx/string.h> -#include "xml_error.h" - +#include <xml_error.h> +#include <zenXml/zenxml.h> namespace xmlAccess { -/* Init XML document: - - TiXmlDocument doc; - TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "UTF-8", ""); - doc.LinkEndChild(decl); //ownership passed - - TiXmlElement* root = new TiXmlElement("HeaderName"); - doc.LinkEndChild(root); -*/ -void loadXmlDocument(const wxString& fileName, TiXmlDocument& document); //throw (XmlError) -void saveXmlDocument(const wxString& fileName, const TiXmlDocument& document); //throw (XmlError) - - -#ifndef TIXML_USE_STL -#error we need this macro -#endif - -//------------------------------------------------------------------------------------------ - -//small helper functions -template <class T> -bool readXmlElement(const std::string& name, const TiXmlElement* parent, T& output); -bool readXmlElement(const std::string& name, const TiXmlElement* parent, std::string& output); -bool readXmlElement(const std::string& name, const TiXmlElement* parent, wxString& output); -bool readXmlElement(const std::string& name, const TiXmlElement* parent, bool& output); -bool readXmlElement(const std::string& name, const TiXmlElement* parent, std::vector<wxString>& output); - -template <class T> -void addXmlElement(const std::string& name, T value, TiXmlElement* parent); -void addXmlElement(const std::string& name, const std::string& value, TiXmlElement* parent); -void addXmlElement(const std::string& name, const wxString& value, TiXmlElement* parent); -void addXmlElement(const std::string& name, const bool value, TiXmlElement* parent); -void addXmlElement(const std::string& name, const std::vector<wxString>& value, TiXmlElement* parent); - -template <class T> -bool readXmlAttribute(const std::string& name, const TiXmlElement* node, T& output); -bool readXmlAttribute(const std::string& name, const TiXmlElement* node, std::string& output); -bool readXmlAttribute(const std::string& name, const TiXmlElement* node, wxString& output); -bool readXmlAttribute(const std::string& name, const TiXmlElement* node, bool& output); - -template <class T> -void addXmlAttribute(const std::string& name, T value, TiXmlElement* node); -void addXmlAttribute(const std::string& name, const std::string& value, TiXmlElement* node); -void addXmlAttribute(const std::string& name, const wxString& value, TiXmlElement* node); -void addXmlAttribute(const std::string& name, const bool value, TiXmlElement* node); - - - -class XmlErrorLogger -{ -public: - virtual ~XmlErrorLogger() {} - - void logError(const std::string& nodeName); - bool errorsOccurred() const { return !failedNodes.empty(); } - const wxString getErrorMessageFormatted() const; - - //another level of indirection: if errors occur during xml parsing they are logged - template <class T> - void readXmlElementLogging(const std::string& name, const TiXmlElement* parent, T& output) - { - if (!readXmlElement(name, parent, output)) - logError(name); - } - - template <class T> - void readXmlAttributeLogging(const std::string& name, const TiXmlElement* node, T& output) - { - if (!readXmlAttribute(name, node, output)) - logError(name); - } - -private: - std::vector<wxString> failedNodes; -}; -} - - -class TiXmlHandleConst //like TiXmlHandle but respecting "const TiXmlElement*" -{ -public: - TiXmlHandleConst(const TiXmlElement* element) : m_element(element) {} - - TiXmlHandleConst FirstChild(const char* name) const - { - return TiXmlHandleConst(m_element != NULL ? m_element->FirstChildElement(name) : NULL); - } - - const TiXmlElement* ToElement() const { return m_element; } - -private: - const TiXmlElement* const m_element; -}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//++++++++++++++ inline implementation +++++++++++++++++++++++++++++++++++++++ -template <class T> -inline -bool xmlAccess::readXmlElement(const std::string& name, const TiXmlElement* parent, T& output) -{ - std::string temp; - if (!readXmlElement(name, parent, temp)) - return false; - - output = zen::toNumber<T>(temp); - return true; -} - - -template <class T> -inline -void xmlAccess::addXmlElement(const std::string& name, T value, TiXmlElement* parent) -{ - addXmlElement(name, zen::toString<std::string>(value), parent); -} - - -template <class T> -inline -bool xmlAccess::readXmlAttribute(const std::string& name, const TiXmlElement* node, T& output) -{ - std::string dummy; - if (readXmlAttribute(name, node, dummy)) - { - output = zen::toNumber<T>(dummy); - return true; - } - else - return false; -} +void saveXmlDocument(const zen::XmlDoc& doc, const wxString& filename); //throw (FfsXmlError) +void loadXmlDocument(const wxString& filename, zen::XmlDoc& doc); //throw FfsXmlError() - -template <class T> -inline -void xmlAccess::addXmlAttribute(const std::string& name, T value, TiXmlElement* node) -{ - addXmlAttribute(name, zen::toString<std::string>(value), node); +const wxString getErrorMessageFormatted(const zen::XmlIn& in); } #endif // XMLBASE_H_INCLUDED diff --git a/shared/xml_error.h b/shared/xml_error.h index ea66af89..ffd6af8b 100644 --- a/shared/xml_error.h +++ b/shared/xml_error.h @@ -13,7 +13,7 @@ namespace xmlAccess { -class XmlError //Exception class +class FfsXmlError //Exception class { public: enum Severity @@ -22,16 +22,10 @@ public: FATAL }; - XmlError(const wxString& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {} + FfsXmlError(const wxString& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {} - const wxString& msg() const - { - return errorMessage; - } - Severity getSeverity() const - { - return m_severity; - } + const wxString& msg() const { return errorMessage; } + Severity getSeverity() const { return m_severity; } private: const wxString errorMessage; const Severity m_severity; diff --git a/shared/zbase.h b/shared/zbase.h index 5bc43295..6d9ac578 100644 --- a/shared/zbase.h +++ b/shared/zbase.h @@ -11,22 +11,33 @@ #include <vector> #include <sstream> #include <algorithm> -#include "string_tools.h" +#include <string_tools.h> /* Allocator Policy: ----------------- void* allocate(size_t size) //throw (std::bad_alloc) void deallocate(void* ptr) + size_t calcCapacity(size_t length) */ -class AllocatorFreeStore //same performance characterisics like malloc()/free() +class AllocatorOptimalSpeed //exponential growth + min size { public: + //::operator new/ ::operator delete show same performance characterisics like malloc()/free()! static void* allocate(size_t size) { return ::operator new(size); } //throw (std::bad_alloc) static void deallocate(void* ptr) { ::operator delete(ptr); } + static size_t calcCapacity(size_t length) { return std::max<size_t>(16, length + length / 2); } }; +class AllocatorOptimalMemory //no wasted memory, but more reallocations required when manipulating string +{ +public: + static void* allocate(size_t size) { return ::operator new(size); } //throw (std::bad_alloc) + static void deallocate(void* ptr) { ::operator delete(ptr); } + static size_t calcCapacity(size_t length) { return length; } +}; + /* Storage Policy: --------------- @@ -49,14 +60,10 @@ class StorageDeepCopy : public AP protected: ~StorageDeepCopy() {} - static T* create(size_t size) - { - return create(size, size); - } - + static T* create(size_t size) { return create(size, size); } static T* create(size_t size, size_t minCapacity) { - const size_t newCapacity = calcCapacity(minCapacity); + const size_t newCapacity = AP::calcCapacity(minCapacity); assert(newCapacity >= minCapacity); assert(minCapacity >= size); @@ -75,20 +82,11 @@ protected: return newData; } - static void destroy(T* ptr) - { - AP::deallocate(descr(ptr)); - } - - static bool canWrite(const T* ptr, size_t minCapacity) //needs to be checked before writing to "ptr" - { - return minCapacity <= descr(ptr)->capacity; - } + static void destroy(T* ptr) { AP::deallocate(descr(ptr)); } - static size_t length(const T* ptr) - { - return descr(ptr)->length; - } + //this needs to be checked before writing to "ptr" + static bool canWrite(const T* ptr, size_t minCapacity) { return minCapacity <= descr(ptr)->capacity; } + static size_t length(const T* ptr) { return descr(ptr)->length; } static void setLength(T* ptr, size_t newLength) { @@ -112,11 +110,6 @@ private: { return reinterpret_cast<const Descriptor*>(ptr) - 1; } - - static size_t calcCapacity(size_t length) - { - return std::max<size_t>(16, length + length / 2); //exponential growth + min size - } }; @@ -134,7 +127,7 @@ protected: static T* create(size_t size, size_t minCapacity) { - const size_t newCapacity = calcCapacity(minCapacity); + const size_t newCapacity = AP::calcCapacity(minCapacity); assert(newCapacity >= minCapacity); assert(minCapacity >= size); @@ -194,22 +187,17 @@ private: { return reinterpret_cast<const Descriptor*>(ptr) - 1; } - - static size_t calcCapacity(size_t length) - { - return std::max<size_t>(16, length + length / 2); //exponential growth + min size - } }; template <class T, //Character Type template <class, class> class SP = StorageRefCount, //Storage Policy - class AP = AllocatorFreeStore> //Allocator Policy + class AP = AllocatorOptimalSpeed> //Allocator Policy class Zbase : public SP<T, AP> { public: Zbase(); - Zbase(const T* source); + Zbase(const T* source); //implicit conversion from a C-string Zbase(const T* source, size_t length); Zbase(const Zbase& source); explicit Zbase(T source); //dangerous if implicit: T buffer[]; Zbase name = buffer; ups... @@ -217,7 +205,7 @@ public: template <class S> explicit Zbase(const S& other, typename S::value_type = 0); ~Zbase(); - operator const T* () const; //implicit conversion to C-string + //operator const T* () const; //NO implicit conversion to a C-string!! Many problems... one of them: if we forget to provide operator overloads, it'll just work with a T*... //STL accessors typedef T* iterator; @@ -238,7 +226,7 @@ public: bool EndsWith (const T* postfix) const { return zen::endsWith (*this, postfix); } bool EndsWith ( T postfix) const { return zen::endsWith (*this, postfix); } void Truncate(size_t newLen) { return zen::truncate(*this, newLen); } - Zbase& Replace(const T* old, const T* replacement, bool replaceAll = true) { zen::replace(*this, old, replacement, replaceAll); return *this; } + Zbase& Replace(const Zbase& old, const Zbase& replacement, bool replaceAll = true) { zen::replace(*this, old, replacement, replaceAll); return *this; } Zbase AfterLast( T ch) const { return zen::afterLast (*this, ch); } //returns the whole string if "ch" not found Zbase BeforeLast( T ch) const { return zen::beforeLast (*this, ch); } //returns empty string if "ch" not found Zbase AfterFirst( T ch) const { return zen::afterFirst (*this, ch); } //returns empty string if "ch" not found @@ -265,7 +253,7 @@ public: size_t find(T ch, size_t pos = 0) const; // size_t rfind(T ch, size_t pos = npos) const; // size_t rfind(const T* str, size_t pos = npos) const; // - Zbase& replace(size_t pos1, size_t n1, const T* str, size_t n2); + Zbase& replace(size_t pos1, size_t n1, const Zbase& str); void reserve(size_t minCapacity); Zbase& assign(const T* source, size_t len); void resize(size_t newSize, T fillChar = 0); @@ -413,14 +401,6 @@ Zbase<T, SP, AP>::~Zbase() template <class T, template <class, class> class SP, class AP> inline -Zbase<T, SP, AP>::operator const T* () const -{ - return rawStr; -} - - -template <class T, template <class, class> class SP, class AP> -inline size_t Zbase<T, SP, AP>::find(const Zbase& str, size_t pos) const { assert(pos <= length()); @@ -490,14 +470,16 @@ size_t Zbase<T, SP, AP>::rfind(const T* str, size_t pos) const template <class T, template <class, class> class SP, class AP> -Zbase<T, SP, AP>& Zbase<T, SP, AP>::replace(size_t pos1, size_t n1, const T* str, size_t n2) +Zbase<T, SP, AP>& Zbase<T, SP, AP>::replace(size_t pos1, size_t n1, const Zbase& str) { - assert(str < rawStr || rawStr + length() < str); //str mustn't point to data in this string + assert(str.data() < rawStr || rawStr + length() < str.data()); //str mustn't point to data in this string assert(pos1 + n1 <= length()); + const size_t n2 = str.length(); + const size_t oldLen = length(); if (oldLen == 0) - return *this = Zbase(str, n2); + return *this = str; const size_t newLen = oldLen - n1 + n2; @@ -514,7 +496,7 @@ Zbase<T, SP, AP>& Zbase<T, SP, AP>::replace(size_t pos1, size_t n1, const T* str setLength(rawStr, newLen); } - std::copy(str, str + n2, rawStr + pos1); + std::copy(str.data(), str.data() + n2, rawStr + pos1); } else { @@ -522,7 +504,7 @@ Zbase<T, SP, AP>& Zbase<T, SP, AP>::replace(size_t pos1, size_t n1, const T* str T* const newStr = this->create(newLen); std::copy(rawStr, rawStr + pos1, newStr); - std::copy(str, str + n2, newStr + pos1); + std::copy(str.data(), str.data() + n2, newStr + pos1); std::copy(rawStr + pos1 + n1, rawStr + oldLen + 1, newStr + pos1 + n2); //include null-termination destroy(rawStr); diff --git a/shared/zstring.h b/shared/zstring.h index ae77d333..66f961fa 100644 --- a/shared/zstring.h +++ b/shared/zstring.h @@ -78,6 +78,8 @@ public: #endif ::operator delete(ptr); } + + static size_t calcCapacity(size_t length) { return std::max<size_t>(16, length + length / 2); } //exponential growth + min size }; @@ -120,8 +122,6 @@ typedef char Zchar; //"The reason for all the fuss above" (Loki/SmartPtr) typedef Zbase<Zchar, StorageRefCount, AllocatorFreeStoreChecked> Zstring; //for use with file names -//fast replacement for wxString modelling exponential growth -typedef Zbase<wchar_t, StorageRefCount, AllocatorFreeStoreChecked> zxString; //general unicode string diff --git a/structures.cpp b/structures.cpp index f155fd84..70613eff 100644 --- a/structures.cpp +++ b/structures.cpp @@ -118,21 +118,21 @@ wxString zen::getDescription(CompareFilesResult cmpRes) switch (cmpRes) { case FILE_LEFT_SIDE_ONLY: - return _("Files/folders that exist on left side only"); + return _("File/folder exists on left side only"); case FILE_RIGHT_SIDE_ONLY: - return _("Files/folders that exist on right side only"); + return _("File/folder exists on right side only"); case FILE_LEFT_NEWER: - return _("Files that exist on both sides, left one is newer"); + return _("Left file is newer"); case FILE_RIGHT_NEWER: - return _("Files that exist on both sides, right one is newer"); + return _("Right file is newer"); case FILE_DIFFERENT: - return _("Files that have different content"); + return _("Files have different content"); case FILE_EQUAL: - return _("Files that are equal on both sides"); + return _("Both sides are equal"); case FILE_DIFFERENT_METADATA: - return _("Equal files/folders that differ in attributes only"); + return _("Files/folders differ in attributes only"); case FILE_CONFLICT: - return _("Conflicts/files that cannot be categorized"); + return _("Conflict/file cannot be categorized"); } assert(false); @@ -171,27 +171,27 @@ wxString zen::getDescription(SyncOperation op) switch (op) { case SO_CREATE_NEW_LEFT: - return _("Copy from right to left"); + return _("Copy new file/folder to left"); case SO_CREATE_NEW_RIGHT: - return _("Copy from left to right"); + return _("Copy new file/folder to right"); case SO_DELETE_LEFT: - return _("Delete files/folders existing on left side only"); + return _("Delete left file/folder"); case SO_DELETE_RIGHT: - return _("Delete files/folders existing on right side only"); + return _("Delete right file/folder"); case SO_OVERWRITE_LEFT: - return _("Copy from right to left overwriting"); + return _("Overwrite left file/folder with right one"); case SO_OVERWRITE_RIGHT: - return _("Copy from left to right overwriting"); + return _("Overwrite right file/folder with left one"); case SO_DO_NOTHING: return _("Do nothing"); case SO_EQUAL: - return _("Files that are equal on both sides"); + return _("Both sides are equal"); case SO_COPY_METADATA_TO_LEFT: - return _("Copy attributes only from right to left"); + return _("Copy file attributes only to left"); case SO_COPY_METADATA_TO_RIGHT: - return _("Copy attributes only from left to right"); + return _("Copy file attributes only to right"); case SO_UNRESOLVED_CONFLICT: //not used on GUI, but in .csv - return _("Conflicts/files that cannot be categorized"); + return _("Conflict/file cannot be categorized"); }; assert(false); diff --git a/structures.h b/structures.h index c492ed85..de2e8149 100644 --- a/structures.h +++ b/structures.h @@ -12,7 +12,7 @@ #include "shared/zstring.h" #include "shared/system_constants.h" #include "shared/assert_static.h" -#include <boost/shared_ptr.hpp> +#include <memory> #include "shared/int64.h" @@ -106,10 +106,6 @@ wxString getDescription(SyncOperation op); wxString getSymbol(SyncOperation op); -//Exception class used to abort the "compare" and "sync" process -class AbortThisProcess {}; - - struct DirectionSet { DirectionSet() : @@ -297,7 +293,7 @@ struct FolderPairEnh //enhanced folder pairs with (optional) alternate configura FolderPairEnh(const Zstring& leftDir, const Zstring& rightDir, - const boost::shared_ptr<const AlternateSyncConfig>& syncConfig, + const std::shared_ptr<const AlternateSyncConfig>& syncConfig, const FilterConfig& filter) : leftDirectory(leftDir), rightDirectory(rightDir) , @@ -307,7 +303,7 @@ struct FolderPairEnh //enhanced folder pairs with (optional) alternate configura Zstring leftDirectory; Zstring rightDirectory; - boost::shared_ptr<const AlternateSyncConfig> altSyncConfig; //optional + std::shared_ptr<const AlternateSyncConfig> altSyncConfig; //optional FilterConfig localFilter; }; diff --git a/ui/batch_config.cpp b/ui/batch_config.cpp index 18b8a555..557cb229 100644 --- a/ui/batch_config.cpp +++ b/ui/batch_config.cpp @@ -5,7 +5,6 @@ // ************************************************************************** // #include "batch_config.h" -#include "../shared/xml_base.h" #include "../shared/dir_picker_i18n.h" #include "folder_pair.h" #include <iterator> @@ -16,7 +15,8 @@ #include "gui_generated.h" #include <wx/dnd.h> #include <wx/msgdlg.h> -#include "../shared/util.h" +//#include "../shared/util.h" +#include "../shared/wx_choice_enum.h" #include "../shared/mouse_move_dlg.h" using namespace zen; @@ -79,7 +79,7 @@ private: xmlAccess::XmlBatchConfig getCurrentConfiguration() const; - boost::shared_ptr<DirectoryPairBatchFirst> firstFolderPair; //always bound!!! + std::shared_ptr<DirectoryPairBatchFirst> firstFolderPair; //always bound!!! std::vector<DirectoryPairBatch*> additionalFolderPairs; //used when saving batch file @@ -87,9 +87,9 @@ private: xmlAccess::XmlBatchConfig localBatchCfg; - std::auto_ptr<wxMenu> contextMenu; + std::unique_ptr<wxMenu> contextMenu; - std::auto_ptr<zen::DirectoryName> logfileDir; + std::unique_ptr<zen::DirectoryName> logfileDir; zen::EnumDescrList<xmlAccess::OnError> enumDescrMap; }; @@ -410,11 +410,11 @@ void BatchDialog::OnFilesDropped(FFSFileDropEvent& event) xmlAccess::XmlBatchConfig batchCfg; try { - convertConfig(fileList, batchCfg); //throw (xmlAccess::XmlError) + convertConfig(fileList, batchCfg); //throw (xmlAccess::FfsXmlError) } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else { @@ -571,7 +571,7 @@ bool BatchDialog::saveBatchFile(const wxString& filename) { xmlAccess::writeConfig(batchCfg, filename); } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { wxMessageBox(error.msg().c_str(), _("Error"), wxOK | wxICON_ERROR); return false; @@ -594,13 +594,13 @@ void BatchDialog::loadBatchFile(const wxString& filename) std::vector<wxString> filenames; filenames.push_back(filename); - xmlAccess::convertConfig(filenames, batchCfg); //throw (xmlAccess::XmlError) + xmlAccess::convertConfig(filenames, batchCfg); //throw (xmlAccess::FfsXmlError) //xmlAccess::readConfig(filename, batchCfg); } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else { diff --git a/ui/batch_status_handler.cpp b/ui/batch_status_handler.cpp index b9eff9fa..4b4740f9 100644 --- a/ui/batch_status_handler.cpp +++ b/ui/batch_status_handler.cpp @@ -182,7 +182,7 @@ BatchStatusHandler::BatchStatusHandler(bool runSilent, handleError_(handleError), currentProcess(StatusHandler::PROCESS_NONE), returnValue(returnVal), - syncStatusFrame(*this, NULL, runSilent, jobName) + syncStatusFrame(*this, NULL, SyncStatus::SCANNING, runSilent, jobName) { if (logfileDirectory && logFileMaxCount > 0) { @@ -195,7 +195,7 @@ BatchStatusHandler::BatchStatusHandler(bool runSilent, { wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); returnValue = -7; - throw zen::AbortThisProcess(); + throw BatchAbortProcess(); } } @@ -415,5 +415,5 @@ void BatchStatusHandler::forceUiRefresh() void BatchStatusHandler::abortThisProcess() { requestAbortion(); - throw zen::AbortThisProcess(); //abort can be triggered by syncStatusFrame + throw BatchAbortProcess(); //abort can be triggered by syncStatusFrame } diff --git a/ui/batch_status_handler.h b/ui/batch_status_handler.h index 0e03141e..a7c16488 100644 --- a/ui/batch_status_handler.h +++ b/ui/batch_status_handler.h @@ -16,6 +16,9 @@ class LogFile; class SyncStatus; +//Exception class used to abort the "compare" and "sync" process +class BatchAbortProcess {}; + class BatchStatusHandler : public StatusHandler { @@ -50,7 +53,7 @@ private: int& returnValue; SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler! - boost::shared_ptr<LogFile> logFile; //optional! + std::shared_ptr<LogFile> logFile; //optional! }; diff --git a/ui/check_version.cpp b/ui/check_version.cpp index 2147d717..03f7e486 100644 --- a/ui/check_version.cpp +++ b/ui/check_version.cpp @@ -11,13 +11,12 @@ #include "../version/version.h" #include <wx/utils.h> #include <wx/timer.h> -#include "../shared/string_tools.h" +#include <string_tools.h> #include "msg_popup.h" #include "../shared/standard_paths.h" #include <wx/tokenzr.h> #include "../shared/i18n.h" - class CloseConnectionOnExit { public: diff --git a/ui/folder_pair.h b/ui/folder_pair.h index d72651c8..770aceb3 100644 --- a/ui/folder_pair.h +++ b/ui/folder_pair.h @@ -26,7 +26,7 @@ template <class GuiPanel> class FolderPairPanelBasic : private wxEvtHandler { public: - typedef boost::shared_ptr<const zen::AlternateSyncConfig> AltSyncCfgPtr; + typedef std::shared_ptr<const zen::AlternateSyncConfig> AltSyncCfgPtr; AltSyncCfgPtr getAltSyncConfig() const { @@ -177,7 +177,7 @@ private: AltSyncCfgPtr altSyncConfig; //optional: present if non-NULL FilterConfig localFilter; - std::auto_ptr<wxMenu> contextMenu; + std::unique_ptr<wxMenu> contextMenu; }; } diff --git a/ui/grid_view.cpp b/ui/grid_view.cpp index 4db921fa..59bfb767 100644 --- a/ui/grid_view.cpp +++ b/ui/grid_view.cpp @@ -326,7 +326,7 @@ void GridView::setData(FolderComparison& newData) //------------------------------------ SORTING TEMPLATES ------------------------------------------------ template <bool ascending> -class GridView::SortByDirectory : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessDirectoryPair : public std::binary_function<RefIndex, RefIndex, bool> { public: bool operator()(const RefIndex a, const RefIndex b) const @@ -339,10 +339,10 @@ public: template <bool ascending, zen::SelectedSide side> -class GridView::SortByRelName : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessRelativeName : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByRelName(const GridView& view) : m_view(view) {} + LessRelativeName(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -359,7 +359,7 @@ public: else if (fsObjB == NULL) return true; - return sortByRelativeName<ascending, side>(*fsObjA, *fsObjB); + return lessRelativeName<ascending, side>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -367,10 +367,10 @@ private: template <bool ascending, zen::SelectedSide side> -class GridView::SortByFileName : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessShortFileName : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByFileName(const GridView& view) : m_view(view) {} + LessShortFileName(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -381,7 +381,7 @@ public: else if (fsObjB == NULL) return true; - return sortByFileName<ascending, side>(*fsObjA, *fsObjB); + return lessShortFileName<ascending, side>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -389,10 +389,10 @@ private: template <bool ascending, zen::SelectedSide side> -class GridView::SortByFileSize : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessFilesize : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByFileSize(const GridView& view) : m_view(view) {} + LessFilesize(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -403,7 +403,7 @@ public: else if (fsObjB == NULL) return true; - return sortByFileSize<ascending, side>(*fsObjA, *fsObjB); + return lessFilesize<ascending, side>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -411,10 +411,10 @@ private: template <bool ascending, zen::SelectedSide side> -class GridView::SortByDate : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessFiletime : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByDate(const GridView& view) : m_view(view) {} + LessFiletime(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -425,7 +425,7 @@ public: else if (fsObjB == NULL) return true; - return sortByDate<ascending, side>(*fsObjA, *fsObjB); + return lessFiletime<ascending, side>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -433,10 +433,10 @@ private: template <bool ascending, zen::SelectedSide side> -class GridView::SortByExtension : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessExtension : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByExtension(const GridView& view) : m_view(view) {} + LessExtension(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -447,7 +447,7 @@ public: else if (fsObjB == NULL) return true; - return sortByExtension<ascending, side>(*fsObjA, *fsObjB); + return lessExtension<ascending, side>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -455,10 +455,10 @@ private: template <bool ascending> -class GridView::SortByCmpResult : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessCmpResult : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortByCmpResult(const GridView& view) : m_view(view) {} + LessCmpResult(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -469,7 +469,7 @@ public: else if (fsObjB == NULL) return true; - return sortByCmpResult<ascending>(*fsObjA, *fsObjB); + return lessCmpResult<ascending>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -477,10 +477,10 @@ private: template <bool ascending> -class GridView::SortBySyncDirection : public std::binary_function<RefIndex, RefIndex, bool> +class GridView::LessSyncDirection : public std::binary_function<RefIndex, RefIndex, bool> { public: - SortBySyncDirection(const GridView& view) : m_view(view) {} + LessSyncDirection(const GridView& view) : m_view(view) {} bool operator()(const RefIndex a, const RefIndex b) const { @@ -491,7 +491,7 @@ public: else if (fsObjB == NULL) return true; - return sortBySyncDirection<ascending>(*fsObjA, *fsObjB); + return lessSyncDirection<ascending>(*fsObjA, *fsObjB); } private: const GridView& m_view; @@ -526,46 +526,46 @@ void GridView::sortView(SortType type, bool onLeft, bool ascending) switch (type) { case SORT_BY_REL_NAME: - if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByRelName<true, LEFT_SIDE>(*this)); - else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByRelName<true, RIGHT_SIDE>(*this)); - else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByRelName<false, LEFT_SIDE >(*this)); - else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByRelName<false, RIGHT_SIDE>(*this)); + if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessRelativeName<true, LEFT_SIDE>(*this)); + else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessRelativeName<true, RIGHT_SIDE>(*this)); + else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessRelativeName<false, LEFT_SIDE >(*this)); + else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessRelativeName<false, RIGHT_SIDE>(*this)); break; case SORT_BY_FILENAME: - if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileName<true, LEFT_SIDE >(*this)); - else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileName<true, RIGHT_SIDE>(*this)); - else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileName<false, LEFT_SIDE >(*this)); - else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileName<false, RIGHT_SIDE>(*this)); + if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessShortFileName<true, LEFT_SIDE >(*this)); + else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessShortFileName<true, RIGHT_SIDE>(*this)); + else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessShortFileName<false, LEFT_SIDE >(*this)); + else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessShortFileName<false, RIGHT_SIDE>(*this)); break; case SORT_BY_FILESIZE: - if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileSize<true, LEFT_SIDE >(*this)); - else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileSize<true, RIGHT_SIDE>(*this)); - else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileSize<false, LEFT_SIDE >(*this)); - else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByFileSize<false, RIGHT_SIDE>(*this)); + if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFilesize<true, LEFT_SIDE >(*this)); + else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFilesize<true, RIGHT_SIDE>(*this)); + else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFilesize<false, LEFT_SIDE >(*this)); + else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFilesize<false, RIGHT_SIDE>(*this)); break; case SORT_BY_DATE: - if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByDate<true, LEFT_SIDE >(*this)); - else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByDate<true, RIGHT_SIDE>(*this)); - else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByDate<false, LEFT_SIDE >(*this)); - else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), SortByDate<false, RIGHT_SIDE>(*this)); + if ( ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFiletime<true, LEFT_SIDE >(*this)); + else if ( ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFiletime<true, RIGHT_SIDE>(*this)); + else if (!ascending && onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFiletime<false, LEFT_SIDE >(*this)); + else if (!ascending && !onLeft) std::sort(sortedRef.begin(), sortedRef.end(), LessFiletime<false, RIGHT_SIDE>(*this)); break; case SORT_BY_EXTENSION: - if ( ascending && onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByExtension<true, LEFT_SIDE >(*this)); - else if ( ascending && !onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByExtension<true, RIGHT_SIDE>(*this)); - else if (!ascending && onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByExtension<false, LEFT_SIDE >(*this)); - else if (!ascending && !onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByExtension<false, RIGHT_SIDE>(*this)); + if ( ascending && onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessExtension<true, LEFT_SIDE >(*this)); + else if ( ascending && !onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessExtension<true, RIGHT_SIDE>(*this)); + else if (!ascending && onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessExtension<false, LEFT_SIDE >(*this)); + else if (!ascending && !onLeft) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessExtension<false, RIGHT_SIDE>(*this)); break; case SORT_BY_CMP_RESULT: - if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByCmpResult<true >(*this)); - else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByCmpResult<false>(*this)); + if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessCmpResult<true >(*this)); + else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessCmpResult<false>(*this)); break; case SORT_BY_SYNC_DIRECTION: - if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortBySyncDirection<true >(*this)); - else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortBySyncDirection<false>(*this)); + if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessSyncDirection<true >(*this)); + else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessSyncDirection<false>(*this)); break; case SORT_BY_DIRECTORY: - if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByDirectory<true>()); - else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), SortByDirectory<false>()); + if ( ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessDirectoryPair<true>()); + else if (!ascending) std::stable_sort(sortedRef.begin(), sortedRef.end(), LessDirectoryPair<false>()); break; } } diff --git a/ui/grid_view.h b/ui/grid_view.h index b21bcde4..edb54ab7 100644 --- a/ui/grid_view.h +++ b/ui/grid_view.h @@ -145,28 +145,28 @@ private: //sorting classes template <bool ascending> - class SortByDirectory; + class LessDirectoryPair; template <bool ascending, SelectedSide side> - class SortByRelName; + class LessRelativeName; template <bool ascending, SelectedSide side> - class SortByFileName; + class LessShortFileName; template <bool ascending, SelectedSide side> - class SortByFileSize; + class LessFilesize; template <bool ascending, SelectedSide side> - class SortByDate; + class LessFiletime; template <bool ascending, SelectedSide side> - class SortByExtension; + class LessExtension; template <bool ascending> - class SortByCmpResult; + class LessCmpResult; template <bool ascending> - class SortBySyncDirection; + class LessSyncDirection; }; diff --git a/ui/gui_generated.cpp b/ui/gui_generated.cpp index d3d7488f..c268957e 100644 --- a/ui/gui_generated.cpp +++ b/ui/gui_generated.cpp @@ -42,7 +42,7 @@ MainDialogGenerated::MainDialogGenerated( wxWindow* parent, wxWindowID id, const m_menuItemSave = new wxMenuItem( m_menuFile, wxID_ANY, wxString( _("S&ave configuration...") ) + wxT('\t') + wxT("Ctrl-S"), wxEmptyString, wxITEM_NORMAL ); m_menuFile->Append( m_menuItemSave ); - m_menuItemLoad = new wxMenuItem( m_menuFile, wxID_ANY, wxString( _("&Load configuration...") ) + wxT('\t') + wxT("Ctrl-L"), wxEmptyString, wxITEM_NORMAL ); + m_menuItemLoad = new wxMenuItem( m_menuFile, wxID_ANY, wxString( _("&Load configuration...") ) + wxT('\t') + wxT("Ctrl-O"), wxEmptyString, wxITEM_NORMAL ); m_menuFile->Append( m_menuItemLoad ); wxMenuItem* m_separator3; @@ -332,7 +332,7 @@ MainDialogGenerated::MainDialogGenerated( wxWindow* parent, wxWindowID id, const m_gridLeft->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTRE ); m_gridLeft->SetMinSize( wxSize( 1,1 ) ); - bSizer7->Add( m_gridLeft, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT, 5 ); + bSizer7->Add( m_gridLeft, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); m_panelLeft->SetSizer( bSizer7 ); m_panelLeft->Layout(); @@ -369,7 +369,7 @@ MainDialogGenerated::MainDialogGenerated( wxWindow* parent, wxWindowID id, const // Cell Defaults m_gridMiddle->SetDefaultCellFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxT("Arial") ) ); m_gridMiddle->SetDefaultCellAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE ); - bSizer18->Add( m_gridMiddle, 1, wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 ); + bSizer18->Add( m_gridMiddle, 1, wxALIGN_CENTER_HORIZONTAL|wxEXPAND|wxRIGHT|wxLEFT, 5 ); m_panelMiddle->SetSizer( bSizer18 ); m_panelMiddle->Layout(); @@ -406,7 +406,7 @@ MainDialogGenerated::MainDialogGenerated( wxWindow* parent, wxWindowID id, const m_gridRight->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTRE ); m_gridRight->SetMinSize( wxSize( 1,1 ) ); - bSizer10->Add( m_gridRight, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT, 5 ); + bSizer10->Add( m_gridRight, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); m_panelRight->SetSizer( bSizer10 ); m_panelRight->Layout(); @@ -1031,7 +1031,7 @@ BatchDlgGenerated::BatchDlgGenerated( wxWindow* parent, wxWindowID id, const wxS wxBoxSizer* bSizer70; bSizer70 = new wxBoxSizer( wxHORIZONTAL ); - m_staticText44 = new wxStaticText( this, wxID_ANY, _("Assemble a batch file for automated synchronization. To start in batch mode simply pass the name of the file to the FreeFileSync executable: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner."), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText44 = new wxStaticText( this, wxID_ANY, _("Create a batch file for automated synchronization. To start in batch mode simply double-click the file or execute via command line: FreeFileSync.exe <batchfile>. This can also be scheduled in your operating system's task planner."), wxDefaultPosition, wxDefaultSize, 0 ); m_staticText44->Wrap( 500 ); bSizer70->Add( m_staticText44, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 ); @@ -1682,9 +1682,6 @@ SyncCfgDlgGenerated::SyncCfgDlgGenerated( wxWindow* parent, wxWindowID id, const bSizer29->Add( bSizer201, 0, wxTOP|wxBOTTOM, 5 ); - - bSizer29->Add( 0, 5, 1, 0, 5 ); - wxBoxSizer* bSizer291; bSizer291 = new wxBoxSizer( wxHORIZONTAL ); @@ -1709,7 +1706,16 @@ SyncCfgDlgGenerated::SyncCfgDlgGenerated( wxWindow* parent, wxWindowID id, const bSizer181->Add( 10, 0, 0, 0, 5 ); - sbSizerSyncDirections = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Configuration") ), wxVERTICAL ); + wxStaticBoxSizer* sbSizer2453245; + sbSizer2453245 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Configuration") ), wxVERTICAL ); + + + sbSizer2453245->Add( 0, 0, 1, wxEXPAND, 5 ); + + m_bitmapDatabase = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 70,70 ), 0 ); + sbSizer2453245->Add( m_bitmapDatabase, 1, wxALIGN_CENTER_HORIZONTAL|wxRIGHT|wxLEFT, 10 ); + + sbSizerSyncDirections = new wxBoxSizer( wxVERTICAL ); wxGridSizer* gSizer3; gSizer3 = new wxGridSizer( 1, 2, 0, 5 ); @@ -1734,105 +1740,104 @@ SyncCfgDlgGenerated::SyncCfgDlgGenerated( wxWindow* parent, wxWindowID id, const wxBoxSizer* bSizer121; bSizer121 = new wxBoxSizer( wxVERTICAL ); - wxBoxSizer* bSizer122; - bSizer122 = new wxBoxSizer( wxHORIZONTAL ); + bSizerLeftOnly = new wxBoxSizer( wxHORIZONTAL ); m_bitmapLeftOnly = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapLeftOnly->SetToolTip( _("Files/folders that exist on left side only") ); + m_bitmapLeftOnly->SetToolTip( _("File/folder exists on left side only") ); - bSizer122->Add( m_bitmapLeftOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerLeftOnly->Add( m_bitmapLeftOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer122->Add( 5, 0, 0, wxALIGN_CENTER_VERTICAL, 5 ); + bSizerLeftOnly->Add( 5, 0, 0, wxALIGN_CENTER_VERTICAL, 5 ); m_bpButtonLeftOnly = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer122->Add( m_bpButtonLeftOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerLeftOnly->Add( m_bpButtonLeftOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer122, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerLeftOnly, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - wxBoxSizer* bSizer123; - bSizer123 = new wxBoxSizer( wxHORIZONTAL ); + bSizerRightOnly = new wxBoxSizer( wxHORIZONTAL ); m_bitmapRightOnly = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapRightOnly->SetToolTip( _("Files/folders that exist on right side only") ); + m_bitmapRightOnly->SetToolTip( _("File/folder exists on right side only") ); - bSizer123->Add( m_bitmapRightOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerRightOnly->Add( m_bitmapRightOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer123->Add( 5, 0, 0, 0, 5 ); + bSizerRightOnly->Add( 5, 0, 0, 0, 5 ); m_bpButtonRightOnly = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer123->Add( m_bpButtonRightOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerRightOnly->Add( m_bpButtonRightOnly, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer123, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerRightOnly, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - wxBoxSizer* bSizer124; - bSizer124 = new wxBoxSizer( wxHORIZONTAL ); + bSizerLeftNewer = new wxBoxSizer( wxHORIZONTAL ); m_bitmapLeftNewer = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapLeftNewer->SetToolTip( _("Files that exist on both sides, left one is newer") ); + m_bitmapLeftNewer->SetToolTip( _("Left file is newer") ); - bSizer124->Add( m_bitmapLeftNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerLeftNewer->Add( m_bitmapLeftNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer124->Add( 5, 0, 0, 0, 5 ); + bSizerLeftNewer->Add( 5, 0, 0, 0, 5 ); m_bpButtonLeftNewer = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer124->Add( m_bpButtonLeftNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerLeftNewer->Add( m_bpButtonLeftNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer124, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerLeftNewer, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - wxBoxSizer* bSizer125; - bSizer125 = new wxBoxSizer( wxHORIZONTAL ); + bSizerRightNewer = new wxBoxSizer( wxHORIZONTAL ); m_bitmapRightNewer = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapRightNewer->SetToolTip( _("Files that exist on both sides, right one is newer") ); + m_bitmapRightNewer->SetToolTip( _("Right file is newer") ); - bSizer125->Add( m_bitmapRightNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerRightNewer->Add( m_bitmapRightNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer125->Add( 5, 0, 0, 0, 5 ); + bSizerRightNewer->Add( 5, 0, 0, 0, 5 ); m_bpButtonRightNewer = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer125->Add( m_bpButtonRightNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerRightNewer->Add( m_bpButtonRightNewer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer125, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerRightNewer, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - wxBoxSizer* bSizer126; - bSizer126 = new wxBoxSizer( wxHORIZONTAL ); + bSizerDifferent = new wxBoxSizer( wxHORIZONTAL ); m_bitmapDifferent = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapDifferent->SetToolTip( _("Files that have different content") ); + m_bitmapDifferent->SetToolTip( _("Files have different content") ); - bSizer126->Add( m_bitmapDifferent, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerDifferent->Add( m_bitmapDifferent, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer126->Add( 5, 0, 0, 0, 5 ); + bSizerDifferent->Add( 5, 0, 0, 0, 5 ); m_bpButtonDifferent = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer126->Add( m_bpButtonDifferent, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerDifferent->Add( m_bpButtonDifferent, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer126, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerDifferent, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - wxBoxSizer* bSizer127; - bSizer127 = new wxBoxSizer( wxHORIZONTAL ); + bSizerConflict = new wxBoxSizer( wxHORIZONTAL ); m_bitmapConflict = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 45,45 ), 0 ); - m_bitmapConflict->SetToolTip( _("Conflicts/files that cannot be categorized") ); + m_bitmapConflict->SetToolTip( _("Conflict/file cannot be categorized") ); - bSizer127->Add( m_bitmapConflict, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerConflict->Add( m_bitmapConflict, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer127->Add( 5, 0, 0, 0, 5 ); + bSizerConflict->Add( 5, 0, 0, 0, 5 ); m_bpButtonConflict = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 42,42 ), wxBU_AUTODRAW ); - bSizer127->Add( m_bpButtonConflict, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizerConflict->Add( m_bpButtonConflict, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5 ); - bSizer121->Add( bSizer127, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + bSizer121->Add( bSizerConflict, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); sbSizerSyncDirections->Add( bSizer121, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); - bSizer181->Add( sbSizerSyncDirections, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); + sbSizer2453245->Add( sbSizerSyncDirections, 0, wxEXPAND, 5 ); + + + sbSizer2453245->Add( 0, 0, 1, wxEXPAND, 5 ); + + bSizer181->Add( sbSizer2453245, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); bSizer7->Add( bSizer181, 0, wxALL, 5 ); @@ -2565,7 +2570,7 @@ AboutDlgGenerated::AboutDlgGenerated( wxWindow* parent, wxWindowID id, const wxS bSizer172->Add( m_hyperlink8, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - m_hyperlink15 = new wxHyperlinkCtrl( m_panel33, wxID_ANY, _("TinyXML"), wxT("http://www.grinninglizard.com/tinyxml"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE ); + m_hyperlink15 = new wxHyperlinkCtrl( m_panel33, wxID_ANY, _("zenXML"), wxT("http://sourceforge.net/projects/zenxml/"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE ); m_hyperlink15->SetBackgroundColour( wxColour( 208, 208, 208 ) ); bSizer172->Add( m_hyperlink15, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); diff --git a/ui/gui_generated.h b/ui/gui_generated.h index ef0462bc..13a4ea00 100644 --- a/ui/gui_generated.h +++ b/ui/gui_generated.h @@ -456,34 +456,42 @@ protected: wxPanel* m_panelCustomDeletionDir; wxTextCtrl* m_textCtrlCustomDelFolder; FfsDirPickerCtrl* m_dirPickerCustomDelFolder; - wxButton* m_buttonOK; wxButton* m_button16; - wxStaticBoxSizer* sbSizerSyncDirections; + + wxStaticBitmap* m_bitmapDatabase; + wxBoxSizer* sbSizerSyncDirections; wxStaticText* m_staticText21; wxStaticText* m_staticText31; wxStaticLine* m_staticline3; + wxBoxSizer* bSizerLeftOnly; wxStaticBitmap* m_bitmapLeftOnly; wxBitmapButton* m_bpButtonLeftOnly; + wxBoxSizer* bSizerRightOnly; wxStaticBitmap* m_bitmapRightOnly; wxBitmapButton* m_bpButtonRightOnly; + wxBoxSizer* bSizerLeftNewer; wxStaticBitmap* m_bitmapLeftNewer; wxBitmapButton* m_bpButtonLeftNewer; + wxBoxSizer* bSizerRightNewer; wxStaticBitmap* m_bitmapRightNewer; wxBitmapButton* m_bpButtonRightNewer; + wxBoxSizer* bSizerDifferent; wxStaticBitmap* m_bitmapDifferent; wxBitmapButton* m_bpButtonDifferent; + wxBoxSizer* bSizerConflict; wxStaticBitmap* m_bitmapConflict; wxBitmapButton* m_bpButtonConflict; + // Virtual event handlers, overide them in your derived class virtual void OnClose( wxCloseEvent& event ) { event.Skip(); } virtual void OnSyncAutomatic( wxCommandEvent& event ) { event.Skip(); } diff --git a/ui/gui_status_handler.cpp b/ui/gui_status_handler.cpp index 09c59b92..3319d07a 100644 --- a/ui/gui_status_handler.cpp +++ b/ui/gui_status_handler.cpp @@ -204,14 +204,14 @@ void CompareStatusHandler::OnAbortCompare(wxCommandEvent& event) void CompareStatusHandler::abortThisProcess() { requestAbortion(); - throw zen::AbortThisProcess(); + throw GuiAbortProcess(); } //######################################################################################################## SyncStatusHandler::SyncStatusHandler(MainDialog* parentDlg, OnGuiError handleError, const wxString& jobName) : parentDlg_(parentDlg), - syncStatusFrame(*this, parentDlg, false, jobName), + syncStatusFrame(*this, parentDlg, SyncStatus::SYNCHRONIZING, false, jobName), handleError_(handleError) { } @@ -361,5 +361,5 @@ void SyncStatusHandler::forceUiRefresh() void SyncStatusHandler::abortThisProcess() { requestAbortion(); - throw zen::AbortThisProcess(); //abort can be triggered by syncStatusFrame + throw GuiAbortProcess(); //abort can be triggered by syncStatusFrame } diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h index bd5b061a..7f41e649 100644 --- a/ui/gui_status_handler.h +++ b/ui/gui_status_handler.h @@ -17,6 +17,8 @@ class SyncStatus; class wxCommandEvent; +//Exception class used to abort the "compare" and "sync" process +class GuiAbortProcess {}; //classes handling sync and compare error as well as status information class CompareStatusHandler : private wxEvtHandler, public StatusHandler diff --git a/ui/main_dlg.cpp b/ui/main_dlg.cpp index 6e6c17f7..c5e8ef72 100644 --- a/ui/main_dlg.cpp +++ b/ui/main_dlg.cpp @@ -43,7 +43,6 @@ #include "../shared/file_handling.h" #include "../shared/resolve_path.h" #include "../shared/recycler.h" -#include "../shared/xml_base.h" #include "../shared/standard_paths.h" #include "../shared/toggle_button.h" #include "folder_pair.h" @@ -108,11 +107,11 @@ public: xmlAccess::XmlGuiConfig guiCfg; try { - convertConfig(droppedFiles, guiCfg); //throw (xmlAccess::XmlError) + convertConfig(droppedFiles, guiCfg); //throw (xmlAccess::FfsXmlError) } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else { @@ -369,13 +368,13 @@ MainDialog::MainDialog(const wxString& cfgFileName, xmlAccess::XmlGlobalSettings std::vector<wxString> filenames; filenames.push_back(currentConfigFile); - xmlAccess::convertConfig(filenames, guiCfg); //throw (xmlAccess::XmlError) + xmlAccess::convertConfig(filenames, guiCfg); //throw (xmlAccess::FfsXmlError) loadCfgSuccess = true; } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR); @@ -656,7 +655,16 @@ void MainDialog::cleanUp(bool saveLastUsedConfig) //save configuration if (saveLastUsedConfig) - writeConfigurationToXml(lastRunConfigName()); //don't throw exceptions in destructors + { + const xmlAccess::XmlGuiConfig guiCfg = getCurrentConfiguration(); + try + { + xmlAccess::writeConfig(guiCfg, lastRunConfigName()); + setLastUsedConfig(lastRunConfigName(), guiCfg); + } + //don't annoy users on read-only drives: no error checking should be fine since this is not a config the user explitily wanted to save + catch (const xmlAccess::FfsXmlError&) {} + } } } @@ -664,18 +672,13 @@ void MainDialog::cleanUp(bool saveLastUsedConfig) void MainDialog::readGlobalSettings() { //apply window size and position at program startup ONLY - widthNotMaximized = globalSettings->gui.widthNotMaximized; - heightNotMaximized = globalSettings->gui.heightNotMaximized; - posXNotMaximized = globalSettings->gui.posXNotMaximized; - posYNotMaximized = globalSettings->gui.posYNotMaximized; - //apply window size and position - if (widthNotMaximized != wxDefaultCoord && - heightNotMaximized != wxDefaultCoord && - posXNotMaximized != wxDefaultCoord && - posYNotMaximized != wxDefaultCoord && - wxDisplay::GetFromPoint(wxPoint(posXNotMaximized, posYNotMaximized)) != wxNOT_FOUND) //make sure upper left corner is in visible view - SetSize(posXNotMaximized, posYNotMaximized, widthNotMaximized, heightNotMaximized); + if (globalSettings->gui.dlgSize.GetWidth () != wxDefaultCoord && + globalSettings->gui.dlgSize.GetHeight() != wxDefaultCoord && + globalSettings->gui.dlgPos.x != wxDefaultCoord && + globalSettings->gui.dlgPos.y != wxDefaultCoord && + wxDisplay::GetFromPoint(globalSettings->gui.dlgPos) != wxNOT_FOUND) //make sure upper left corner is in visible view + SetSize(wxRect(globalSettings->gui.dlgPos, globalSettings->gui.dlgSize)); else Centre(); @@ -723,11 +726,7 @@ void MainDialog::readGlobalSettings() void MainDialog::writeGlobalSettings() { //write global settings to (global) variable stored in application instance - globalSettings->gui.widthNotMaximized = widthNotMaximized; - globalSettings->gui.heightNotMaximized = heightNotMaximized; - globalSettings->gui.posXNotMaximized = posXNotMaximized; - globalSettings->gui.posYNotMaximized = posYNotMaximized; - globalSettings->gui.isMaximized = IsMaximized(); + globalSettings->gui.isMaximized = IsMaximized(); //retrieve column attributes globalSettings->gui.columnAttribLeft = m_gridLeft->getColumnAttributes(); @@ -832,6 +831,9 @@ void MainDialog::copySelectionToClipboard(CustomGrid& selectedGrid) const std::set<size_t> selectedRows = getSelectedRows(&selectedGrid); if (selectedRows.size() > 0) { + //fast replacement for wxString modelling exponential growth + typedef Zbase<wchar_t> zxString; + zxString clipboardString; //perf: wxString doesn't model exponential growth and so is out const int colCount = selectedGrid.GetNumberCols(); @@ -840,7 +842,7 @@ void MainDialog::copySelectionToClipboard(CustomGrid& selectedGrid) { for (int k = 0; k < colCount; ++k) { - clipboardString += wxToZx(selectedGrid.GetCellValue(static_cast<int>(*i), k)); + clipboardString += cvrtString<zxString>(selectedGrid.GetCellValue(static_cast<int>(*i), k)); if (k != colCount - 1) clipboardString += wxT('\t'); } @@ -853,7 +855,7 @@ void MainDialog::copySelectionToClipboard(CustomGrid& selectedGrid) { // these data objects are held by the clipboard, // so do not delete them in the app. - wxTheClipboard->SetData(new wxTextDataObject(zxToWx(clipboardString))); + wxTheClipboard->SetData(new wxTextDataObject(cvrtString<wxString>(clipboardString))); wxTheClipboard->Close(); } } @@ -881,6 +883,9 @@ std::set<size_t> MainDialog::getSelectedRows() const } +//Exception class used to abort the "compare" and "sync" process +class AbortDeleteProcess {}; + class ManualDeletionHandler : private wxEvtHandler, public DeleteFilesHandler { public: @@ -910,7 +915,7 @@ public: virtual Response reportError(const wxString& errorMessage) { if (abortRequested) - throw zen::AbortThisProcess(); + throw AbortDeleteProcess(); if (ignoreErrors) return DeleteFilesHandler::IGNORE_ERROR; @@ -925,7 +930,7 @@ public: case ReturnErrorDlg::BUTTON_RETRY: return DeleteFilesHandler::RETRY; case ReturnErrorDlg::BUTTON_ABORT: - throw zen::AbortThisProcess(); + throw AbortDeleteProcess(); } assert (false); @@ -950,7 +955,7 @@ public: } if (abortRequested) //test after (implicit) call to wxApp::Yield() - throw zen::AbortThisProcess(); + throw AbortDeleteProcess(); } private: @@ -1014,7 +1019,7 @@ void MainDialog::deleteSelectedFiles(const std::set<size_t>& viewSelectionLeft, globalSettings->gui.useRecyclerForManualDeletion, statusHandler); } - catch (zen::AbortThisProcess&) {} + catch (AbortDeleteProcess&) {} //remove rows that are empty: just a beautification, invalid rows shouldn't cause issues gridDataView->removeInvalidRows(); @@ -1114,9 +1119,11 @@ void MainDialog::openExternalApplication(size_t rowNumber, bool leftSide, const if (name.empty()) { if (leftSide) - zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + zToWx(fsObj->getBaseDirPf<LEFT_SIDE>()) + L"\""); + zen::shellExecute(wxString(L"\"") + zToWx(fsObj->getBaseDirPf<LEFT_SIDE>()) + L"\""); + //zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + zToWx(fsObj->getBaseDirPf<LEFT_SIDE>()) + L"\""); else - zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + zToWx(fsObj->getBaseDirPf<RIGHT_SIDE>()) + L"\""); + zen::shellExecute(wxString(L"\"") + zToWx(fsObj->getBaseDirPf<RIGHT_SIDE>()) + L"\""); + //zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + zToWx(fsObj->getBaseDirPf<RIGHT_SIDE>()) + L"\""); return; } #endif @@ -1131,7 +1138,8 @@ void MainDialog::openExternalApplication(size_t rowNumber, bool leftSide, const std::swap(dir, dirCo); #ifdef FFS_WIN - zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + dir + L"\""); //default + zen::shellExecute(wxString(L"\"") + dir + L"\""); //default + //zen::shellExecute(wxString(wxT("explorer ")) + L"\"" + dir + L"\""); //default return; #endif } @@ -1233,24 +1241,16 @@ void MainDialog::OnResize(wxSizeEvent& event) { if (!IsMaximized()) { - int width = 0; - int height = 0; - int x = 0; - int y = 0; - - GetSize(&width, &height); - GetPosition(&x, &y); + wxSize sz = GetSize(); + wxPoint ps = GetPosition(); //test ALL parameters at once, since width/height are invalid if the window is minimized (eg x,y == -32000; height = 28, width = 160) //note: negative values for x and y are possible when using multiple monitors! - if (width > 0 && height > 0 && x >= -3360 && y >= -200 && - wxDisplay::GetFromPoint(wxPoint(x, y)) != wxNOT_FOUND) //make sure upper left corner is in visible view + if (sz.GetWidth() > 0 && sz.GetHeight() > 0 && ps.x >= -3360 && ps.y >= -200 && + wxDisplay::GetFromPoint(ps) != wxNOT_FOUND) //make sure upper left corner is in visible view { - widthNotMaximized = width; //visible coordinates x < 0 and y < 0 are possible with dual monitors! - heightNotMaximized = height; - - posXNotMaximized = x; - posYNotMaximized = y; + globalSettings->gui.dlgSize = sz; + globalSettings->gui.dlgPos = ps; } } @@ -1700,11 +1700,6 @@ void MainDialog::OnContextRim(wxGridEvent& event) const FileSystemObject* fsObj = gridDataView->getObject(selectionBegin); -#ifndef _MSC_VER -#warning context menu buttons komplett lokalisieren: ALT+LEFT, SPACE D-Click, ENTER.. -#warning statt "Set direction: *-" besser "Set direction: ->" -#endif - //####################################################### //re-create context menu contextMenu.reset(new wxMenu); @@ -1716,24 +1711,21 @@ void MainDialog::OnContextRim(wxGridEvent& event) { //CONTEXT_SYNC_DIR_LEFT wxMenuItem* menuItemSyncDirLeft = new wxMenuItem(contextMenu.get(), wxID_ANY, wxString(_("Set direction:")) + - wxT(" ") + getSymbol(fsObj->testSyncOperation(true, SYNC_DIR_LEFT)) + - wxT("\tAlt + Left")); //Linux needs a direction, "<-", because it has no context menu icons! + wxT(" <-") + wxT("\tAlt - Left")); //Linux needs a direction, "<-", because it has no context menu icons! menuItemSyncDirLeft->SetBitmap(getSyncOpImage(fsObj->testSyncOperation(true, SYNC_DIR_LEFT))); contextMenu->Append(menuItemSyncDirLeft); contextMenu->Connect(menuItemSyncDirLeft->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSyncDirLeft), NULL, this); //CONTEXT_SYNC_DIR_NONE wxMenuItem* menuItemSyncDirNone = new wxMenuItem(contextMenu.get(), wxID_ANY, wxString(_("Set direction:")) + - wxT(" ") + getSymbol(fsObj->testSyncOperation(true, SYNC_DIR_NONE)) + - wxT("\tAlt + Up")); + wxT(" -") + wxT("\tAlt - Up")); menuItemSyncDirNone->SetBitmap(getSyncOpImage(fsObj->testSyncOperation(true, SYNC_DIR_NONE))); contextMenu->Append(menuItemSyncDirNone); contextMenu->Connect(menuItemSyncDirNone->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSyncDirNone), NULL, this); //CONTEXT_SYNC_DIR_RIGHT wxMenuItem* menuItemSyncDirRight = new wxMenuItem(contextMenu.get(), wxID_ANY, wxString(_("Set direction:")) + - wxT(" ") + getSymbol(fsObj->testSyncOperation(true, SYNC_DIR_RIGHT)) + - wxT("\tAlt + Right")); + wxT(" ->") + wxT("\tAlt - Right")); menuItemSyncDirRight->SetBitmap(getSyncOpImage(fsObj->testSyncOperation(true, SYNC_DIR_RIGHT))); contextMenu->Append(menuItemSyncDirRight); contextMenu->Connect(menuItemSyncDirRight->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSyncDirRight), NULL, this); @@ -1867,7 +1859,7 @@ void MainDialog::OnContextRim(wxGridEvent& event) wxMenuItem* itemExtApp = NULL; if (i == globalSettings->gui.externelApplications.begin()) - itemExtApp = contextMenu->Append(wxID_ANY, description + wxT("\t") + wxString(_("D-Click")) + wxT("; Enter")); + itemExtApp = contextMenu->Append(wxID_ANY, description + wxT("\t") + wxString(_("D-Click")) + wxT(" Enter")); else itemExtApp = contextMenu->Append(wxID_ANY, description); contextMenu->Enable(itemExtApp->GetId(), externalAppEnabled); @@ -1882,13 +1874,8 @@ void MainDialog::OnContextRim(wxGridEvent& event) contextMenu->AppendSeparator(); - -#ifndef _MSC_VER -#warning context menu buttons: nicht mehr all caps -#endif - //CONTEXT_DELETE_FILES - wxMenuItem* menuItemDelFiles = contextMenu->Append(wxID_ANY, _("Delete files\tDEL")); + wxMenuItem* menuItemDelFiles = contextMenu->Append(wxID_ANY, wxString(_("Delete")) + wxT("\tDel")); contextMenu->Enable(menuItemDelFiles->GetId(), selection.size() > 0); contextMenu->Connect(menuItemDelFiles->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextDeleteFiles), NULL, this); @@ -2067,9 +2054,9 @@ void MainDialog::OnContextCustColumnLeft(wxCommandEvent& event) { m_gridLeft->setColumnAttributes(colAttr); - m_gridLeft->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); //hide sort direction indicator on GUI grids + m_gridLeft ->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); //hide sort direction indicator on GUI grids m_gridMiddle->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); - m_gridRight->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); + m_gridRight ->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); } } @@ -2082,9 +2069,9 @@ void MainDialog::OnContextCustColumnRight(wxCommandEvent& event) { m_gridRight->setColumnAttributes(colAttr); - m_gridLeft->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); //hide sort direction indicator on GUI grids + m_gridLeft ->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); //hide sort direction indicator on GUI grids m_gridMiddle->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); - m_gridRight->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); + m_gridRight ->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); } } @@ -2150,12 +2137,10 @@ void MainDialog::OnContextMiddleLabel(wxGridEvent& event) void MainDialog::OnContextSetLayout(wxMouseEvent& event) { - int itemId = 1000; - contextMenu.reset(new wxMenu); //re-create context menu - contextMenu->Append(++itemId, _("Reset view")); - contextMenu->Connect(itemId, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSetLayoutReset), NULL, this); + wxMenuItem* itemReset = contextMenu->Append(wxID_ANY, _("Reset view")); + contextMenu->Connect(itemReset->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSetLayoutReset), NULL, this); typedef std::vector<std::pair<wxString, wxString> > CaptionNameMapping; CaptionNameMapping captionNameMap; @@ -2174,8 +2159,8 @@ void MainDialog::OnContextSetLayout(wxMouseEvent& event) wxString entry = _("Show \"%x\""); entry.Replace(wxT("%x"), i->first); - contextMenu->Append(++itemId, entry); - contextMenu->Connect(itemId, + wxMenuItem* newItem = contextMenu->Append(wxID_ANY, entry); + contextMenu->Connect(newItem->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MainDialog::OnContextSetLayoutShowPanel), new CtxtSelectionString(i->second), //ownership passed! @@ -2328,7 +2313,11 @@ bool MainDialog::trySaveConfig() //return true if saved successfully defaultFileName.Replace(wxT(".ffs_batch"), wxT(".ffs_gui"), false); - wxFileDialog filePicker(this, wxEmptyString, wxEmptyString, defaultFileName, wxString(_("FreeFileSync configuration")) + wxT(" (*.ffs_gui)|*.ffs_gui"), wxFD_SAVE); //creating this on freestore leads to memleak! + wxFileDialog filePicker(this, + wxEmptyString, + wxEmptyString, + defaultFileName, + wxString(_("FreeFileSync configuration")) + wxT(" (*.ffs_gui)|*.ffs_gui"), wxFD_SAVE); //creating this on freestore leads to memleak! if (filePicker.ShowModal() == wxID_OK) { const wxString newFileName = filePicker.GetPath(); @@ -2355,7 +2344,7 @@ void MainDialog::OnLoadConfig(wxCommandEvent& event) { wxFileDialog filePicker(this, wxEmptyString, - wxEmptyString, + beforeLast(currentConfigFileName, common::FILE_NAME_SEPARATOR), //set default dir: empty string if "currentConfigFileName" is empty or has no path separator wxEmptyString, wxString(_("FreeFileSync configuration")) + wxT(" (*.ffs_gui;*.ffs_batch)|*.ffs_gui;*.ffs_batch"), wxFD_OPEN); @@ -2538,13 +2527,13 @@ bool MainDialog::readConfigurationFromXml(const wxString& filename) std::vector<wxString> filenames; filenames.push_back(filename); - xmlAccess::convertConfig(filenames, newGuiCfg); //throw (xmlAccess::XmlError) + xmlAccess::convertConfig(filenames, newGuiCfg); //throw (xmlAccess::FfsXmlError) parsingError = false; } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { - if (error.getSeverity() == xmlAccess::XmlError::WARNING) + if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING) wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING); else { @@ -2592,7 +2581,7 @@ bool MainDialog::writeConfigurationToXml(const wxString& filename) setLastUsedConfig(filename, guiCfg); return true; } - catch (const xmlAccess::XmlError& error) + catch (const xmlAccess::FfsXmlError& error) { wxMessageBox(error.msg().c_str(), _("Error"), wxOK | wxICON_ERROR); return false; @@ -3027,7 +3016,7 @@ void MainDialog::OnCompare(wxCommandEvent& event) if (fileExists(wxToZ(soundFile))) wxSound::Play(soundFile, wxSOUND_ASYNC); } - catch (AbortThisProcess&) + catch (GuiAbortProcess&) { //disable the sync button syncPreview->enableSynchronization(false); @@ -3078,20 +3067,6 @@ void MainDialog::updateGuiGrid() m_gridMiddle->updateGridSizes(); m_gridRight ->updateGridSizes(); - //enlarge label width to display row numbers correctly - const int nrOfRows = m_gridLeft->GetNumberRows(); - if (nrOfRows >= 0) - { -#ifdef FFS_WIN - const size_t digitWidth = 8; -#elif defined FFS_LINUX - const size_t digitWidth = 10; -#endif - const size_t nrOfDigits = common::getDigitCount(static_cast<size_t>(nrOfRows)); - m_gridLeft ->SetRowLabelSize(static_cast<int>(nrOfDigits * digitWidth + 4)); - m_gridRight->SetRowLabelSize(static_cast<int>(nrOfDigits * digitWidth + 4)); - } - //support for column auto adjustment if (globalSettings->gui.autoAdjustColumnsLeft) m_gridLeft->autoSizeColumns(); @@ -3257,7 +3232,7 @@ void MainDialog::OnStartSync(wxCommandEvent& event) if (fileExists(wxToZ(soundFile))) wxSound::Play(soundFile, wxSOUND_ASYNC); } - catch (AbortThisProcess&) + catch (GuiAbortProcess&) { //do NOT disable the sync button: user might want to try to sync the REMAINING rows } //enableSynchronization(false); @@ -3338,12 +3313,12 @@ void MainDialog::OnSortLeftGrid(wxGridEvent& event) gridDataView->sortView(st, true, sortAscending); - updateGuiGrid(); //refresh gridDataView - //set sort direction indicator on UI m_gridMiddle->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); - m_gridRight->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); - m_gridLeft->setSortMarker(CustomGrid::SortMarker(currentSortColumn, sortAscending ? CustomGrid::ASCENDING : CustomGrid::DESCENDING)); + m_gridRight ->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); + m_gridLeft ->setSortMarker(CustomGrid::SortMarker(currentSortColumn, sortAscending ? CustomGrid::ASCENDING : CustomGrid::DESCENDING)); + + updateGuiGrid(); //refresh gridDataView } } @@ -3426,12 +3401,12 @@ void MainDialog::OnSortRightGrid(wxGridEvent& event) gridDataView->sortView(st, false, sortAscending); - updateGuiGrid(); //refresh gridDataView - //set sort direction indicator on UI m_gridLeft->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); m_gridMiddle->setSortMarker(CustomGrid::SortMarker(-1, CustomGrid::ASCENDING)); m_gridRight->setSortMarker(CustomGrid::SortMarker(currentSortColumn, sortAscending ? CustomGrid::ASCENDING : CustomGrid::DESCENDING)); + + updateGuiGrid(); //refresh gridDataView } } @@ -3942,13 +3917,15 @@ void MainDialog::OnMenuGlobalSettings(wxCommandEvent& event) namespace { +typedef Zbase<wchar_t> zxString; + inline void addCellValue(zxString& exportString, const wxString& cellVal) { if (cellVal.find(wxT(';')) != wxString::npos) - exportString += wxT('\"') + wxToZx(cellVal) + wxT('\"'); + exportString += wxT('\"') + cvrtString<zxString>(cellVal) + wxT('\"'); else - exportString += wxToZx(cellVal); + exportString += cvrtString<zxString>(cellVal); } } @@ -3975,28 +3952,28 @@ void MainDialog::OnMenuExportFileList(wxCommandEvent& event) zxString exportString; //perf: wxString doesn't model exponential growth and so is out //write legend - exportString += wxToZx(_("Legend")) + wxT('\n'); + exportString += cvrtString<zxString>(_("Legend")) + wxT('\n'); if (syncPreview->previewIsEnabled()) { - exportString += wxT("\"") + wxToZx(getDescription(SO_CREATE_NEW_LEFT)) + wxT("\";") + wxToZx(getSymbol(SO_CREATE_NEW_LEFT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_CREATE_NEW_RIGHT)) + wxT("\";") + wxToZx(getSymbol(SO_CREATE_NEW_RIGHT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_DELETE_LEFT)) + wxT("\";") + wxToZx(getSymbol(SO_DELETE_LEFT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_DELETE_RIGHT)) + wxT("\";") + wxToZx(getSymbol(SO_DELETE_RIGHT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_OVERWRITE_LEFT)) + wxT("\";") + wxToZx(getSymbol(SO_OVERWRITE_LEFT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_OVERWRITE_RIGHT)) + wxT("\";") + wxToZx(getSymbol(SO_OVERWRITE_RIGHT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_DO_NOTHING)) + wxT("\";") + wxToZx(getSymbol(SO_DO_NOTHING)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_EQUAL)) + wxT("\";") + wxToZx(getSymbol(SO_EQUAL)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(SO_UNRESOLVED_CONFLICT)) + wxT("\";") + wxToZx(getSymbol(SO_UNRESOLVED_CONFLICT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_CREATE_NEW_LEFT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_CREATE_NEW_LEFT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_CREATE_NEW_RIGHT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_CREATE_NEW_RIGHT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_DELETE_LEFT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_DELETE_LEFT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_DELETE_RIGHT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_DELETE_RIGHT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_OVERWRITE_LEFT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_OVERWRITE_LEFT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_OVERWRITE_RIGHT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_OVERWRITE_RIGHT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_DO_NOTHING)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_DO_NOTHING)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_EQUAL)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_EQUAL)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(SO_UNRESOLVED_CONFLICT)) + wxT("\";") + cvrtString<zxString>(getSymbol(SO_UNRESOLVED_CONFLICT)) + wxT('\n'); } else { - exportString += wxT("\"") + wxToZx(getDescription(FILE_LEFT_SIDE_ONLY)) + wxT("\";") + wxToZx(getSymbol(FILE_LEFT_SIDE_ONLY)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_RIGHT_SIDE_ONLY)) + wxT("\";") + wxToZx(getSymbol(FILE_RIGHT_SIDE_ONLY)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_LEFT_NEWER)) + wxT("\";") + wxToZx(getSymbol(FILE_LEFT_NEWER)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_RIGHT_NEWER)) + wxT("\";") + wxToZx(getSymbol(FILE_RIGHT_NEWER)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_DIFFERENT)) + wxT("\";") + wxToZx(getSymbol(FILE_DIFFERENT)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_EQUAL)) + wxT("\";") + wxToZx(getSymbol(FILE_EQUAL)) + wxT('\n'); - exportString += wxT("\"") + wxToZx(getDescription(FILE_CONFLICT)) + wxT("\";") + wxToZx(getSymbol(FILE_CONFLICT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_LEFT_SIDE_ONLY)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_LEFT_SIDE_ONLY)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_RIGHT_SIDE_ONLY)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_RIGHT_SIDE_ONLY)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_LEFT_NEWER)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_LEFT_NEWER)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_RIGHT_NEWER)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_RIGHT_NEWER)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_DIFFERENT)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_DIFFERENT)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_EQUAL)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_EQUAL)) + wxT('\n'); + exportString += wxT("\"") + cvrtString<zxString>(getDescription(FILE_CONFLICT)) + wxT("\";") + cvrtString<zxString>(getSymbol(FILE_CONFLICT)) + wxT('\n'); } exportString += wxT('\n'); diff --git a/ui/main_dlg.h b/ui/main_dlg.h index 9f12e284..4d00ff2a 100644 --- a/ui/main_dlg.h +++ b/ui/main_dlg.h @@ -252,12 +252,6 @@ private: //folder pairs: std::auto_ptr<DirectoryPairFirst> firstFolderPair; //always bound!!! std::vector<DirectoryPair*> additionalFolderPairs; //additional pairs to the first pair - - //gui settings - int widthNotMaximized; - int heightNotMaximized; - int posXNotMaximized; - int posYNotMaximized; //------------------------------------- diff --git a/ui/progress_indicator.cpp b/ui/progress_indicator.cpp index f71abab4..949384b9 100644 --- a/ui/progress_indicator.cpp +++ b/ui/progress_indicator.cpp @@ -15,7 +15,7 @@ #include <wx/wupdlock.h> #include "../shared/global_func.h" #include "tray_icon.h" -#include <boost/shared_ptr.hpp> +#include <memory> #include "../shared/mouse_move_dlg.h" #include "../library/error_log.h" #include "../shared/toggle_button.h" @@ -452,24 +452,26 @@ private: const std::vector<wxString>& messages = log_.getFormattedMessages(includedTypes); + //fast replacement for wxString modelling exponential growth + typedef Zbase<wchar_t> zxString; zxString newLogText; //perf: wxString doesn't model exponential growth and so is out if (!messages.empty()) for (std::vector<wxString>::const_iterator i = messages.begin(); i != messages.end(); ++i) { - newLogText += wxToZx(*i); + newLogText += cvrtString<zxString>(*i); newLogText += wxT("\n\n"); } else //if no messages match selected view filter, show final status message at least { const std::vector<wxString>& allMessages = log_.getFormattedMessages(); if (!allMessages.empty()) - newLogText = wxToZx(allMessages.back()); + newLogText = cvrtString<zxString>(allMessages.back()); } wxWindowUpdateLocker dummy(m_textCtrlInfo); - m_textCtrlInfo->ChangeValue(zxToWx(newLogText)); + m_textCtrlInfo->ChangeValue(cvrtString<wxString>(newLogText)); m_textCtrlInfo->ShowPosition(m_textCtrlInfo->GetLastPosition()); } @@ -482,7 +484,7 @@ private: class SyncStatus::SyncStatusImpl : public SyncStatusDlgGenerated { public: - SyncStatusImpl(AbortCallback& abortCb, MainDialog* parentWindow, const wxString& jobName); + SyncStatusImpl(AbortCallback& abortCb, MainDialog* parentWindow, SyncStatusID startStatus, const wxString& jobName); ~SyncStatusImpl(); void resetGauge(int totalObjectsToProcess, zen::Int64 totalDataToProcess); @@ -529,11 +531,11 @@ private: SyncStatus::SyncStatusID currentStatus; #ifdef FFS_WIN - std::auto_ptr<util::TaskbarProgress> taskbar_; + std::unique_ptr<util::TaskbarProgress> taskbar_; #endif //remaining time - std::auto_ptr<Statistics> statistics; + std::unique_ptr<Statistics> statistics; long lastStatCallSpeed; //used for calculating intervals between statistics update long lastStatCallRemTime; // @@ -543,13 +545,17 @@ private: wxString progressTextLast; float progressPercentLast; - boost::shared_ptr<MinimizeToTray> minimizedToSysTray; //optional: if filled, hides all visible windows, shows again if destroyed + std::shared_ptr<MinimizeToTray> minimizedToSysTray; //optional: if filled, hides all visible windows, shows again if destroyed }; //redirect to implementation -SyncStatus::SyncStatus(AbortCallback& abortCb, MainDialog* parentWindow, bool startSilent, const wxString& jobName) : - pimpl(new SyncStatusImpl(abortCb, parentWindow, jobName)) +SyncStatus::SyncStatus(AbortCallback& abortCb, + MainDialog* parentWindow, + SyncStatusID startStatus, + bool startSilent, + const wxString& jobName) : + pimpl(new SyncStatusImpl(abortCb, parentWindow, startStatus, jobName)) { if (startSilent) pimpl->minimizeToTray(); @@ -612,7 +618,10 @@ void SyncStatus::processHasFinished(SyncStatusID id, const ErrorLogging& log) //######################################################################################## -SyncStatus::SyncStatusImpl::SyncStatusImpl(AbortCallback& abortCb, MainDialog* parentWindow, const wxString& jobName) : +SyncStatus::SyncStatusImpl::SyncStatusImpl(AbortCallback& abortCb, + MainDialog* parentWindow, + SyncStatusID startStatus, + const wxString& jobName) : SyncStatusDlgGenerated(parentWindow, wxID_ANY, parentWindow ? wxString(wxEmptyString) : (wxString(wxT("FreeFileSync - ")) + _("Folder Comparison and Synchronization")), @@ -679,6 +688,8 @@ SyncStatus::SyncStatusImpl::SyncStatusImpl(AbortCallback& abortCb, MainDialog* p //register key event Connect(wxEVT_CHAR_HOOK, wxKeyEventHandler(SyncStatusImpl::OnKeyPressed), NULL, this); + + setCurrentStatus(startStatus); //first state: will be shown while waiting for dir locks (if at all) } @@ -730,7 +741,9 @@ void SyncStatus::SyncStatusImpl::resetGauge(int totalObjectsToProcess, zen::Int6 lastStatCallSpeed = -1000000; //some big number lastStatCallRemTime = -1000000; - m_gauge1->SetValue(totalDataToProcess == 0 ? GAUGE_FULL_RANGE : 0); //explicitly reset and end "pending" state (if not data will be synced) + //set to 0 even if totalDataToProcess is 0: due to a bug in wxGauge::SetValue, it doesn't change to determinate mode when setting the old value again + //so give updateStatusDialogNow() a chance to set a different value + m_gauge1->SetValue(0); } @@ -855,10 +868,22 @@ void SyncStatus::SyncStatusImpl::updateStatusDialogNow() bool updateLayout = false; //avoid screen flicker by calling layout() only if necessary //progress indicator - if (currentStatus == SyncStatus::SCANNING) - m_gauge1->Pulse(); - else - m_gauge1->SetValue(common::round(to<double>(currentData) * scalingFactor)); + switch (currentStatus) + { + case SyncStatus::SCANNING: + m_gauge1->Pulse(); + break; + case SyncStatus::COMPARING_CONTENT: + case SyncStatus::SYNCHRONIZING: + case SyncStatus::FINISHED_WITH_SUCCESS: + case SyncStatus::FINISHED_WITH_ERROR: + case SyncStatus::ABORTED: + m_gauge1->SetValue(totalData == 0 ? GAUGE_FULL_RANGE : + common::round(to<double>(currentData) * scalingFactor)); + break; + case SyncStatus::PAUSE: //no change to gauge: don't switch between indeterminate/determinate modus + break; + } //status text const wxString statusTxt = zToWx(currentStatusText); diff --git a/ui/progress_indicator.h b/ui/progress_indicator.h index 34e2c1a5..528ec562 100644 --- a/ui/progress_indicator.h +++ b/ui/progress_indicator.h @@ -44,14 +44,6 @@ private: class SyncStatus { public: - SyncStatus(AbortCallback& abortCb, - MainDialog* parentWindow, //may be NULL - bool startSilent, - const wxString& jobName); - ~SyncStatus(); - - wxWindow* getAsWindow(); //convenience! don't abuse! - enum SyncStatusID { ABORTED, @@ -63,6 +55,15 @@ public: SYNCHRONIZING }; + SyncStatus(AbortCallback& abortCb, + MainDialog* parentWindow, //may be NULL + SyncStatusID startStatus, + bool startSilent, + const wxString& jobName); + ~SyncStatus(); + + wxWindow* getAsWindow(); //convenience! don't abuse! + void resetGauge(int totalObjectsToProcess, zen::Int64 totalDataToProcess); void incScannedObjects_NoUpdate(int number); void incProgressIndicator_NoUpdate(int objectsProcessed, zen::Int64 dataProcessed); diff --git a/ui/small_dlgs.cpp b/ui/small_dlgs.cpp index cb81431b..f6694586 100644 --- a/ui/small_dlgs.cpp +++ b/ui/small_dlgs.cpp @@ -11,6 +11,7 @@ #include "../algorithm.h" #include "../shared/string_conv.h" #include "../shared/util.h" +#include "../shared/wx_choice_enum.h" #include "../synchronization.h" #include "../library/custom_grid.h" #include "../shared/custom_button.h" diff --git a/ui/sorting.h b/ui/sorting.h index 52921f84..28f0b8e4 100644 --- a/ui/sorting.h +++ b/ui/sorting.h @@ -56,7 +56,7 @@ struct Compare<false> template <bool ascending, SelectedSide side> inline -bool sortByFileName(const FileSystemObject& a, const FileSystemObject& b) +bool lessShortFileName(const FileSystemObject& a, const FileSystemObject& b) { //presort types: first files, then directories then empty rows if (a.isEmpty<side>()) @@ -84,7 +84,7 @@ bool sortByFileName(const FileSystemObject& a, const FileSystemObject& b) template <bool ascending, SelectedSide side> -bool sortByRelativeName(const FileSystemObject& a, const FileSystemObject& b) +bool lessRelativeName(const FileSystemObject& a, const FileSystemObject& b) { if (a.isEmpty<side>()) return false; //empty rows always last @@ -120,7 +120,7 @@ bool sortByRelativeName(const FileSystemObject& a, const FileSystemObject& b) template <bool ascending, SelectedSide side> inline -bool sortByFileSize(const FileSystemObject& a, const FileSystemObject& b) +bool lessFilesize(const FileSystemObject& a, const FileSystemObject& b) { //empty rows always last if (a.isEmpty<side>()) @@ -153,7 +153,7 @@ bool sortByFileSize(const FileSystemObject& a, const FileSystemObject& b) template <bool ascending, SelectedSide side> inline -bool sortByDate(const FileSystemObject& a, const FileSystemObject& b) +bool lessFiletime(const FileSystemObject& a, const FileSystemObject& b) { if (a.isEmpty<side>()) return false; //empty rows always last @@ -182,7 +182,7 @@ bool sortByDate(const FileSystemObject& a, const FileSystemObject& b) template <bool ascending, SelectedSide side> inline -bool sortByExtension(const FileSystemObject& a, const FileSystemObject& b) +bool lessExtension(const FileSystemObject& a, const FileSystemObject& b) { if (a.isEmpty<side>()) return false; //empty rows always last @@ -198,13 +198,13 @@ bool sortByExtension(const FileSystemObject& a, const FileSystemObject& b) else if (fileObjB == NULL) return true; //directories last - return Compare<ascending>().isSmallerThan(fileObjA->getExtension<side>(), fileObjB->getExtension<side>()); + return Compare<ascending>().isSmallerThan(cmpFileName(fileObjA->getExtension<side>(), fileObjB->getExtension<side>()), 0); } template <bool ascending> inline -bool sortByCmpResult(const FileSystemObject& a, const FileSystemObject& b) +bool lessCmpResult(const FileSystemObject& a, const FileSystemObject& b) { //presort result: equal shall appear at end of list if (a.getCategory() == FILE_EQUAL) @@ -218,7 +218,7 @@ bool sortByCmpResult(const FileSystemObject& a, const FileSystemObject& b) template <bool ascending> inline -bool sortBySyncDirection(const FileSystemObject& a, const FileSystemObject& b) +bool lessSyncDirection(const FileSystemObject& a, const FileSystemObject& b) { return Compare<ascending>().isSmallerThan(a.getSyncOperation(), b.getSyncOperation()); } diff --git a/ui/sync_cfg.cpp b/ui/sync_cfg.cpp index 3a7283e1..0bbe8809 100644 --- a/ui/sync_cfg.cpp +++ b/ui/sync_cfg.cpp @@ -13,7 +13,7 @@ #include "../shared/dir_picker_i18n.h" #include "gui_generated.h" #include <memory> -#include "../shared/util.h" +#include "../shared/wx_choice_enum.h" #include "../shared/dir_name.h" using namespace zen; @@ -75,8 +75,7 @@ private: -void updateConfigIcons(const CompareVariant compareVar, - const SyncConfig& syncConfig, +void updateConfigIcons(const SyncConfig& syncConfig, wxBitmapButton* buttonLeftOnly, wxBitmapButton* buttonRightOnly, wxBitmapButton* buttonLeftNewer, @@ -88,46 +87,9 @@ void updateConfigIcons(const CompareVariant compareVar, wxStaticBitmap* bitmapLeftNewer, wxStaticBitmap* bitmapRightNewer, wxStaticBitmap* bitmapDifferent, - wxStaticBitmap* bitmapConflict, - wxSizer* syncDirections) //sizer containing all sync-directions + wxStaticBitmap* bitmapConflict) //sizer containing all sync-directions { - //display only relevant sync options - syncDirections->Show(true); - - buttonLeftOnly ->Show(); // - buttonRightOnly ->Show(); // - buttonLeftNewer ->Show(); // - buttonRightNewer->Show(); // enable everything by default - buttonDifferent ->Show(); // - buttonConflict ->Show(); // - - bitmapLeftOnly ->Show(); // - bitmapRightOnly ->Show(); // - bitmapLeftNewer ->Show(); // - bitmapRightNewer->Show(); // - bitmapDifferent ->Show(); // - bitmapConflict ->Show(); // - - switch (compareVar) - { - case CMP_BY_TIME_SIZE: - buttonDifferent ->Hide(); - - bitmapDifferent ->Hide(); - break; - - case CMP_BY_CONTENT: - buttonLeftNewer ->Hide(); - buttonRightNewer->Hide(); - - bitmapLeftNewer ->Hide(); - bitmapRightNewer->Hide(); - break; - } - - if (syncConfig.var == SyncConfig::AUTOMATIC) //automatic mode needs no sync-directions - syncDirections->Show(false); - else + if (syncConfig.var != SyncConfig::AUTOMATIC) //automatic mode needs no sync-directions { const DirectionSet dirCfg = extractDirections(syncConfig); @@ -283,6 +245,7 @@ SyncCfgDialog::SyncCfgDialog(wxWindow* window, m_bitmapRightNewer->SetBitmap(GlobalResources::instance().getImage(wxT("rightNewer"))); m_bitmapDifferent ->SetBitmap(GlobalResources::instance().getImage(wxT("different"))); m_bitmapConflict ->SetBitmap(GlobalResources::instance().getImage(wxT("conflictGrey"))); + m_bitmapDatabase ->SetBitmap(GlobalResources::instance().getImage(wxT("database"))); bSizer201->Layout(); //wxButtonWithImage size might have changed @@ -307,8 +270,7 @@ void SyncCfgDialog::updateGui() wxWindowUpdateLocker dummy7(m_bpButtonDifferent); wxWindowUpdateLocker dummy8(m_bpButtonConflict); - updateConfigIcons(cmpVariant, - currentSyncConfig, + updateConfigIcons(currentSyncConfig, m_bpButtonLeftOnly, m_bpButtonRightOnly, m_bpButtonLeftNewer, @@ -320,8 +282,31 @@ void SyncCfgDialog::updateGui() m_bitmapLeftNewer, m_bitmapRightNewer, m_bitmapDifferent, - m_bitmapConflict, - sbSizerSyncDirections); + m_bitmapConflict); + + //display only relevant sync options + m_bitmapDatabase->Show(true); + sbSizerSyncDirections->Show(true); + + if (currentSyncConfig.var == SyncConfig::AUTOMATIC) + { + sbSizerSyncDirections->Show(false); + } + else + { + m_bitmapDatabase->Show(false); + switch (cmpVariant) + { + case CMP_BY_TIME_SIZE: + bSizerDifferent ->Show(false); + break; + + case CMP_BY_CONTENT: + bSizerLeftNewer ->Show(false); + bSizerRightNewer->Show(false); + break; + } + } //set radiobuttons -> have no parameter-ownership at all! switch (currentSyncConfig.var) @@ -340,6 +325,7 @@ void SyncCfgDialog::updateGui() break; } + Layout(); GetSizer()->SetSizeHints(this); //this works like a charm for GTK2 with window resizing problems!!! (includes call to Fit()) m_panelCustomDeletionDir->Enable(getEnumVal(enumDelhandDescr, *m_choiceHandleDeletion) == zen::MOVE_TO_CUSTOM_DIRECTORY); diff --git a/version.h b/version.h new file mode 100644 index 00000000..352e718f --- /dev/null +++ b/version.h @@ -0,0 +1,34 @@ +#ifndef VERSION_H +#define VERSION_H + +namespace AutoVersion +{ + +//Date Version Types +static const char DATE[] = "21"; +static const char MONTH[] = "05"; +static const char YEAR[] = "2011"; +static const char UBUNTU_VERSION_STYLE[] = "11.05"; + +//Software Status +static const char STATUS[] = "Alpha"; +static const char STATUS_SHORT[] = "a"; + +//Standard Version Type +static const long MAJOR = 1; +static const long MINOR = 0; +static const long BUILD = 0; +static const long REVISION = 0; + +//Miscellaneous Version Types +static const long BUILDS_COUNT = 1; +#define RC_FILEVERSION 1,0,0,0 +#define RC_FILEVERSION_STRING "1, 0, 0, 0\0" +static const char FULLVERSION_STRING[] = "1.0.0.0"; + +//These values are to keep track of your versioning state, don't modify them. +static const long BUILD_HISTORY = 0; + + +} +#endif //VERSION_H diff --git a/version/version.h b/version/version.h index 2001e2b1..93796a2a 100644 --- a/version/version.h +++ b/version/version.h @@ -2,5 +2,5 @@ namespace zen { -const wxString currentVersion = wxT("3.17"); //internal linkage! +const wxString currentVersion = wxT("3.18"); //internal linkage! } diff --git a/version/version.rc b/version/version.rc index c7ca5865..4b728f25 100644 --- a/version/version.rc +++ b/version/version.rc @@ -1,2 +1,2 @@ -#define VER_FREEFILESYNC 3,17,0,0 -#define VER_FREEFILESYNC_STR "3.17\0" +#define VER_FREEFILESYNC 3,18,0,0 +#define VER_FREEFILESYNC_STR "3.18\0" |