diff --git a/.gitignore b/.gitignore index a59d439..1064b51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ .vs/* # Excluding the build and executable folders -breadcrumbs/build/* -!breadcrumbs/build/.blank -breadcrumbs/bin/* -!breadcrumbs/bin/.blank +bfs/build/* +!bfs/build/.blank +bfs/bin/* +!bfs/bin/.blank +*.log +*__pycache__* diff --git a/breadcrumbs/.blank b/bfs/.blank similarity index 100% rename from breadcrumbs/.blank rename to bfs/.blank diff --git a/breadcrumbs/CMakeConfig.h.in b/bfs/CMakeConfig.h.in similarity index 100% rename from breadcrumbs/CMakeConfig.h.in rename to bfs/CMakeConfig.h.in diff --git a/bfs/CMakeLists.txt b/bfs/CMakeLists.txt new file mode 100644 index 0000000..a345a5e --- /dev/null +++ b/bfs/CMakeLists.txt @@ -0,0 +1,177 @@ +cmake_minimum_required (VERSION 2.6) + +message("Starting CMAKE") +set(MSVC true) +project(Bfs) +string(TOLOWER ${PROJECT_NAME} ROOT_FOLDER_DIRNAME) +# The version number. +set (Bfs_VERSION_MAJOR 1) +set (Bfs_VERSION_MINOR 0) + +# Setting paths +message("Setting paths...") +set(CMAKE_SOURCE_DIR ${PROJECT_SOURCE_DIR}/src) # Code directory +set(CMAKE_BINARY_DIR ${PROJECT_SOURCE_DIR}/build) # Object files and such (.o) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin) # Compiled executables for execution and test (.exe) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PROJECT_SOURCE_DIR}/bin) # Compiled executables for execution and test (.exe) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PROJECT_SOURCE_DIR}/bin) # Compiled executables for execution and test (.exe) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib) # Compiled libraries (.lib and .dll) +set(CMAKE_INCLUDE_PATH ${PROJECT_SOURCE_DIR}/include) # Publicly accessible header files +set(IMPLEMENATION_PATH ${PROJECT_SOURCE_DIR}/implementations) + +message("Root directory: ${PROJECT_SOURCE_DIR}") +message("Source directory: ${CMAKE_SOURCE_DIR}") +message("Build directory: ${CMAKE_BINARY_DIR}") +message("Executable directory: ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") +message("Library directory: ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}") +message("") + +# Including all tools +file(GLOB TOOL_INCLUDES CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/tools/*") + +# Adding tools +foreach(X IN LISTS TOOL_INCLUDES) + message("Including library with ${X}") + add_subdirectory(${X}) +endforeach() + +# Configure a header file to pass some of the CMake settings to the source code +set (Bfs_ALGORITHM_SERVER_PORT \"27634\") + +configure_file ( + "${PROJECT_SOURCE_DIR}/CMakeConfig.h.in" + "${CMAKE_INCLUDE_PATH}/CMakeConfig.h" + ) + +# Adding public includes to include search path +include_directories("${CMAKE_INCLUDE_PATH}") +# Adding private include files from source tree +include_directories("${CMAKE_SOURCE_DIR}")# Including dll header files +file(GLOB LIB_INCLUDES CONFIGURE_DEPENDS "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/*/") +foreach(X IN LISTS LIB_INCLUDES) + message("Including lib headers: ${X}") + include_directories(${X}) +endforeach() + +find_library(TactorInterface NAME TactorInterface.lib PATHS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ea_tdk) +find_library(TActionManager NAME TActionManager.lib PATHS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ea_tdk) + +# puts all .cpp files inside src to the SOURCES variable +# TODO: replace this with a script for collecting cpp files +file(GLOB_RECURSE BFS_SOURCE CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/*.cpp") + +file(GLOB IMPLEMENTAIONS CONFIGURE_DEPENDS "${IMPLEMENATION_PATH}/*/") +foreach(IMPL IN LISTS IMPLEMENTAIONS) + + message("\n=== Starting implementation(${IMPL}) build... ===") + # Check if implementation config file exists + if(EXISTS "${IMPL}/CMakeLists.txt") + message("Found configuration file!") + add_subdirectory(${IMPL}) + endif() + + set(IMPL_ALGO_PATH ${IMPL}/algos) # BFS Implemenation algo source file path + set(IMPL_IO_PROCS_PATH ${IMPL}/io_procs) + set(IMPL_INCLUDE_PATH ${IMPL}/include) + + message("Implementation algo directory: ${IMPL_ALGO_PATH}") + message("Implementation io_procs directory: ${IMPL_IO_PROCS_PATH}") + message("Implementation include directory: ${IMPL_INCLUDE_PATH}") + message("") + + # Adding implementation include + include_directories("${IMPL_INCLUDE_PATH}") + + set(Bfs_TEMP_ALGORITHM_CLIENT_LIMIT 20) + + file(MAKE_DIRECTORY ${IMPL}/gen) + + file(GLOB ALGOS_EXECS CONFIGURE_DEPENDS "${IMPL_ALGO_PATH}/*.cpp") + foreach(X IN LISTS ALGOS_EXECS) + get_filename_component(N ${X} NAME_WE) + set(Bfs_TEMP_ALGORITHM_NAME ${N}) + message("Generating Algorithm main(): ${PROJECT_SOURCE_DIR}/${ROOT_FOLDER_DIRNAME}/gen/${N}.cpp") + configure_file("${CMAKE_SOURCE_DIR}/template/AlgorithmTemplate.cpp.in" ${IMPL}/gen/${N}.cpp) + endforeach() + + file(GLOB IO_PROC_EXECS CONFIGURE_DEPENDS "${IMPL_IO_PROCS_PATH}/*.cpp") + foreach(X IN LISTS IO_PROC_EXECS) + get_filename_component(N ${X} NAME_WE) + set(Bfs_TEMP_IOPROC_NAME ${N}) + message("Generating IO Processor main(): ${PROJECT_SOURCE_DIR}/${ROOT_FOLDER_DIRNAME}/gen/${N}.cpp") + configure_file("${CMAKE_SOURCE_DIR}/template/IOProcessorTemplate.cpp.in" ${IMPL}/gen/${N}.cpp) + endforeach() + message("") + + # Compiling BFS implementation source files + file(GLOB_RECURSE IMPL_SRC CONFIGURE_DEPENDS "${IMPL}/*.cpp") + list(FILTER IMPL_SRC EXCLUDE REGEX "${IMPL}/gen/*") + list(FILTER IMPL_SRC EXCLUDE REGEX "${IMPL}/algos/*") + list(FILTER IMPL_SRC EXCLUDE REGEX "${IMPL}/io_procs/*") + + # Getting template output files to create executables + file(GLOB IMPL_EXECS CONFIGURE_DEPENDS "${IMPL}/gen/*.cpp") + + # Adding executables + # This is fine for now, but we may want to switch to a more manual versio so we can + # configure which files are included in which exe's + foreach(X IN LISTS IMPL_EXECS) + get_filename_component(N ${X} NAME_WE) + message(STATUS "Generating Executable: ${N}.exe Main File: ${X}") + + # Including any DLLs or LIBs + set(ALL_LIBS "") + message("Libs Stored in ${N}_IMPL_DLLS: ${${N}_IMPL_LIBS}") + foreach(LIB_PATH IN ITEMS ${${N}_IMPL_LIBS}) + set(LIB_ABS_PATH "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${LIB_PATH}") + if (IS_DIRECTORY ${LIB_ABS_PATH}) + # Need to include all DLLs and LIBs in the directory + file(GLOB DLLS CONFIGURE_DEPENDS "${LIB_ABS_PATH}/*.dll") + file(GLOB LIBS CONFIGURE_DEPENDS "${LIB_ABS_PATH}/*.lib") + foreach(DLL IN ITEMS ${DLLS}) + get_filename_component(DLL_N ${DLL} NAME) + message("Adding DLL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${DLL_N}") + file(COPY ${DLL} DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + endforeach() + foreach(LIB IN ITEMS ${LIBS}) + get_filename_component(LIB_N ${LIB} NAME_WE) + find_library(${LIB_N} NAME ${LIB_N}.lib PATHS ${LIB}) + message("Linking library: ${${LIB_N}}") + list(APPEND ALL_LIBS ${LIB_N}) + endforeach() + else() + # Need to include just the given Library file (DLL or LIB) + get_filename_component(EXTENSION ${LIB_ABS_PATH} EXT) + if(${EXTENSION} STREQUAL ".dll") + get_filename_component(DLL_N ${LIB_ABS_PATH} NAME) + message("Adding DLL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${DLL_N}") + configure_file(${LIB_ABS_PATH} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${DLL_N} COPYONLY) + elseif(${EXTENSION} STREQUAL ".lib") + get_filename_component(LIB_N ${LIB_ABS_PATH} NAME_WE) + find_library(${LIB_N} NAME ${LIB_N}.lib PATHS ${LIB_ABS_PATH}) + message("Linking library: ${${LIB_N}}") + list(APPEND ALL_LIBS ${LIB_N}) + endif() + endif() + endforeach() + + # Getting Algorithm or IO Processor implementation source file: + set(EXEC_IMPL_SRC_FILE "") + if(EXISTS ${IMPL}/algos/${N}.cpp) + set(EXEC_IMPL_SRC_FILE "${IMPL}/algos/${N}.cpp") + elseif(EXISTS ${IMPL}/io_procs/${N}.cpp) + set(EXEC_IMPL_SRC_FILE "${IMPL}/io_procs/${N}.cpp") + endif() + + add_executable(${N} ${IMPL_SRC} ${EXEC_IMPL_SRC_FILE} ${X} ${BFS_SOURCE}) + + # Exe specialized libraries + foreach(LIB IN ITEMS ${ALL_LIBS}) + target_link_libraries(${N} ${${LIB}}) + endforeach() + + # All exe's depend on tinyxmls + target_link_libraries(${N} tinyxml2) + + endforeach() +endforeach() diff --git a/breadcrumbs/CMakeSettings.json b/bfs/CMakeSettings.json similarity index 63% rename from breadcrumbs/CMakeSettings.json rename to bfs/CMakeSettings.json index ae612b0..53e51a3 100644 --- a/breadcrumbs/CMakeSettings.json +++ b/bfs/CMakeSettings.json @@ -10,7 +10,13 @@ "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "", - "variables": [] + "variables": [ + { + "name": "CMAKE_INSTALL_PREFIX", + "value": "C:/Users/Greg/Documents/git/bfs/breadcrumbs/install/basic_build", + "type": "PATH" + } + ] } ] -} +} \ No newline at end of file diff --git a/breadcrumbs/bin/.blank b/bfs/build/.blank similarity index 100% rename from breadcrumbs/bin/.blank rename to bfs/build/.blank diff --git a/breadcrumbs/build/.blank b/bfs/config/.blank similarity index 100% rename from breadcrumbs/build/.blank rename to bfs/config/.blank diff --git a/bfs/config/config.txt b/bfs/config/config.txt new file mode 100644 index 0000000..8ec0225 --- /dev/null +++ b/bfs/config/config.txt @@ -0,0 +1 @@ +int i = 0 \ No newline at end of file diff --git a/bfs/config/sample_config_file.cfg b/bfs/config/sample_config_file.cfg new file mode 100644 index 0000000..76b075b --- /dev/null +++ b/bfs/config/sample_config_file.cfg @@ -0,0 +1,22 @@ + + + TestAlgo + Breadcrumbs + + 4 + + + + VirtualInputProcessor0 + VirtualInputProcessor + + 2 + + + + VirtualOutputProcessor0 + VirtualOutputProcessor + + 1 + + diff --git a/breadcrumbs/doc/style/style.cpp b/bfs/doc/style/style.cpp similarity index 100% rename from breadcrumbs/doc/style/style.cpp rename to bfs/doc/style/style.cpp diff --git a/breadcrumbs/doc/style/style.hpp b/bfs/doc/style/style.hpp similarity index 100% rename from breadcrumbs/doc/style/style.hpp rename to bfs/doc/style/style.hpp diff --git a/bfs/implementations/breadcrumbs/CMakeLists.txt b/bfs/implementations/breadcrumbs/CMakeLists.txt new file mode 100644 index 0000000..64a6766 --- /dev/null +++ b/bfs/implementations/breadcrumbs/CMakeLists.txt @@ -0,0 +1,4 @@ + +set (VirtualOutputIOProcessor_IMPL_LIBS + "ea_tdk" + PARENT_SCOPE) diff --git a/bfs/implementations/breadcrumbs/algos/AlgoBreadcrumbs.cpp b/bfs/implementations/breadcrumbs/algos/AlgoBreadcrumbs.cpp new file mode 100644 index 0000000..0ced946 --- /dev/null +++ b/bfs/implementations/breadcrumbs/algos/AlgoBreadcrumbs.cpp @@ -0,0 +1,27 @@ + +#include "AlgoBreadcrumbs.hpp" + + +void AlgoBreadcrumbs::loop() +{ + int msgCount = 0; + Attribute msgCountAttrib = { "MSGCOUNT", sizeof(int), &msgCount }; + + map attribs = pollForAttributesMap(); + if (attribs.size() > 0) + { + auto testKeyIter = attribs.find(string("testKey1")); + if (testKeyIter != attribs.end()) + { + char value = *((char*) (*testKeyIter).second.getValue()); + cout << "Test key 1 value updated to " << value << endl; + } + + sendAttribute(msgCountAttrib); + } +} + +bool AlgoBreadcrumbs::loopCondition() +{ + return true; +} diff --git a/breadcrumbs/src/Breadcrumbs.cpp b/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp similarity index 59% rename from breadcrumbs/src/Breadcrumbs.cpp rename to bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp index cec95a9..829ff90 100644 --- a/breadcrumbs/src/Breadcrumbs.cpp +++ b/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp @@ -1,13 +1,13 @@ #include +#include "Config.hpp" #include "AlgoBreadcrumbs.hpp" -#include "VirtualOutputProcessor.hpp" int main() { - Algorithm* algorithm = new AlgoBreadcrumbs(1); + Algorithm* algorithm = new AlgoBreadcrumbs(20); // Loop while (algorithm->loopCondition()) diff --git a/bfs/implementations/breadcrumbs/gen/VirtualOutputIOProcessor.cpp b/bfs/implementations/breadcrumbs/gen/VirtualOutputIOProcessor.cpp new file mode 100644 index 0000000..3a81360 --- /dev/null +++ b/bfs/implementations/breadcrumbs/gen/VirtualOutputIOProcessor.cpp @@ -0,0 +1,23 @@ + +#include + +#include "DataSyncThread.hpp" +#include "VirtualOutputIOProcessor.hpp" + + +int main() +{ + IOProcessor* client = new VirtualOutputIOProcessor; + + if (!client->init()) + { + while (client->loopCondition()) + client->loop(); + + int result = client->close(); + delete client; + return result; + } + + return 0; +} diff --git a/breadcrumbs/include/AlgoBreadcrumbs.hpp b/bfs/implementations/breadcrumbs/include/AlgoBreadcrumbs.hpp similarity index 100% rename from breadcrumbs/include/AlgoBreadcrumbs.hpp rename to bfs/implementations/breadcrumbs/include/AlgoBreadcrumbs.hpp diff --git a/bfs/implementations/breadcrumbs/include/VirtualOutputIOProcessor.hpp b/bfs/implementations/breadcrumbs/include/VirtualOutputIOProcessor.hpp new file mode 100644 index 0000000..835fba5 --- /dev/null +++ b/bfs/implementations/breadcrumbs/include/VirtualOutputIOProcessor.hpp @@ -0,0 +1,18 @@ +#ifndef VIRTUAL_OUTPUT_IO_PROCESSOR_HPP +#define VIRTUAL_OUTPUT_IO_PROCESSOR_HPP + +#include "IOProcessor.hpp" + +class VirtualOutputIOProcessor : public IOProcessor +{ +public: + using IOProcessor::IOProcessor; + + void loop(); + bool loopCondition(); + +private: + int iterations = 10; +}; + +#endif \ No newline at end of file diff --git a/bfs/implementations/breadcrumbs/io_procs/VirtualOutputIOProcessor.cpp b/bfs/implementations/breadcrumbs/io_procs/VirtualOutputIOProcessor.cpp new file mode 100644 index 0000000..fd1698a --- /dev/null +++ b/bfs/implementations/breadcrumbs/io_procs/VirtualOutputIOProcessor.cpp @@ -0,0 +1,26 @@ + +#include "VirtualOutputIOProcessor.hpp" + + +void VirtualOutputIOProcessor::loop() +{ + char testValue = 'a' + iterations; + Attribute attrib("testKey1", 1, &testValue); + getComms()->sendAttribute(attrib); + + if (getComms()->areIncomingAttributesAvailable()) { + vector attribs = getComms()->getIncomingAttributes(); + for (Attribute attr : attribs) + { + cout << "Attribute " << attr.getKey() << " received!" << endl; + } + } + + Sleep(500); + iterations--; +} + +bool VirtualOutputIOProcessor::loopCondition() +{ + return iterations >= 0; +} diff --git a/breadcrumbs/include/Algorithm.hpp b/bfs/include/Algorithm.hpp similarity index 51% rename from breadcrumbs/include/Algorithm.hpp rename to bfs/include/Algorithm.hpp index 8edd655..08c1b71 100644 --- a/breadcrumbs/include/Algorithm.hpp +++ b/bfs/include/Algorithm.hpp @@ -12,6 +12,10 @@ class Algorithm virtual void loop() = 0; virtual bool loopCondition() { return false; }; + + vector pollForAttributes() { return server->getAllIncomingAttributes(); }; + map pollForAttributesMap() { return server->getAllIncomingAttributesMap(); }; + void sendAttribute(Attribute attrib) { server->sendAttributeToAll(attrib); }; private: size_t numIoProcs = 0; AlgorithmServer* server; diff --git a/breadcrumbs/include/AlgorithmServer.hpp b/bfs/include/AlgorithmServer.hpp similarity index 65% rename from breadcrumbs/include/AlgorithmServer.hpp rename to bfs/include/AlgorithmServer.hpp index 85520d0..278acca 100644 --- a/breadcrumbs/include/AlgorithmServer.hpp +++ b/bfs/include/AlgorithmServer.hpp @@ -13,11 +13,11 @@ #include #include #include +#include #include "CMakeConfig.h" #include "DataSyncThread.hpp" -#define ALGORITHM_PORT "10101" #define MAX_ACCEPT_FAILURES 5 #pragma comment (lib, "Ws2_32.lib") @@ -37,17 +37,25 @@ class AlgorithmServer } // Updates Algorithm key/value store with IO key/value updates - void pollForUpdates(); + vector getAllIncomingAttributes(); + map getAllIncomingAttributesMap(); + void sendAttributeToAll(Attribute attrib); void startServer(); - void stopServer(); + int stopServer(); + + DWORD lockClientThreadsMutex(); + void unlockClientThreadsMutex(); private: + SOCKET *ServerSocket = NULL; + HANDLE hThread; DWORD dwThreadId; - bool continueThread = false; + bool continueThread = true; size_t numClients; - std::vector clientThreads; + HANDLE clientThreadsMutex = NULL; + vector clientThreads; }; #endif diff --git a/bfs/include/Attribute.hpp b/bfs/include/Attribute.hpp new file mode 100644 index 0000000..43905cd --- /dev/null +++ b/bfs/include/Attribute.hpp @@ -0,0 +1,61 @@ + +#ifndef ATTRIBUTE_HPP +#define ATTRIBUTE_HPP + +#include +#include + +#define ATTRIB_KEY_SIZE 8 + +using namespace std; + +typedef struct BinaryAttributeStructure { + char key[ATTRIB_KEY_SIZE]; + char length; +} bAttrib; + +class Attribute +{ +private: + string key; + size_t length; + void* value; +public: + Attribute() + { + key = ""; + length = 0; + value = NULL; + } + Attribute(BinaryAttributeStructure bin, void* value) { + key = ""; + for (int i = 0; i < ATTRIB_KEY_SIZE; i++) + key += bin.key[i]; + length = bin.length; + this->value = value; + } + Attribute(string key, size_t length, void* value) + { + this->key = key; + this->length = length; + this->value = value; + } + Attribute(const Attribute& toCopy) + { + this->key = string(toCopy.key); + this->length = toCopy.length; + this->value = toCopy.value; + } + + ~Attribute() { + + } + + // Getters and setters + string getKey() { return key; }; + size_t getLength() { return length; }; + void* getValue() { return value; }; + void* setValue(void* newValue) { void* old = value; value = newValue; return old; }; +}; + +#endif \ No newline at end of file diff --git a/breadcrumbs/include/CMakeConfig.h b/bfs/include/CMakeConfig.h similarity index 100% rename from breadcrumbs/include/CMakeConfig.h rename to bfs/include/CMakeConfig.h diff --git a/bfs/include/Config.hpp b/bfs/include/Config.hpp new file mode 100644 index 0000000..9ebfa10 --- /dev/null +++ b/bfs/include/Config.hpp @@ -0,0 +1,13 @@ + + +#ifndef CONFIG_HPP +#define CONFIG_HPP + +#include "tinyxml2.h" + +class Configuration +{ + +}; + +#endif diff --git a/bfs/include/DataSyncThread.hpp b/bfs/include/DataSyncThread.hpp new file mode 100644 index 0000000..7d7e23b --- /dev/null +++ b/bfs/include/DataSyncThread.hpp @@ -0,0 +1,85 @@ + +#ifndef DATA_SYNC_THREAD_HPP +#define DATA_SYNC_THREAD_HPP + +#define WIN32_LEAN_AND_MEAN + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "Attribute.hpp" +#include "CMakeConfig.h" + +// Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib +#pragma comment (lib, "Ws2_32.lib") +#pragma comment (lib, "Mswsock.lib") +#pragma comment (lib, "AdvApi32.lib") + +using namespace std; + +/* +This class contains the thread for communicating back and forth along a socket to sync attributes + +*/ +class DataSyncThread +{ +private: + SOCKET sock; + HANDLE hThread = INVALID_HANDLE_VALUE; + DWORD dwThreadId; + + // The timeout for exiting the data sync thread with attributes that have not been + // polled for yet. It is in ms + const static size_t EXIT_PENDING_ATTRIBUTE_TIMEOUT = 1000; + + // Flag for signalling this thread to terminate + bool continueThread = false; + + // Variable changed only by the data sync thread itself for other threads to determine + // if this one is still running + bool threadRunning = false; + + map incomingAttributes; + HANDLE attribMutex; +public: + DataSyncThread(SOCKET s) + { + sock = s; + attribMutex = CreateMutex(NULL, false, NULL); + }; + + // Synchronous functions (only called from thread) + void threadRuntime(); + bool readyToReceive(int interval = 1); + static DWORD threadInit(LPVOID pThreadArgs) + { + DataSyncThread* pDataSyncThread = (DataSyncThread*)pThreadArgs; + pDataSyncThread->threadRuntime(); + return NULL; + } + int recvBytes(void* buffer, size_t numBytes); + int sendBytes(char* buffer, size_t numBytes); + void addIncomingAttribute(Attribute attrib); + + // Instantiates a datasyncthread on the heap connected to given server. + int connectToAlgorithm(char* serverName); + + // Async control (only called outside of thread) + void startComms(); + bool isRunning(); + bool stopComms(); + unsigned int getSocketNumber() { return (unsigned int) socket; }; + bool areIncomingAttributesAvailable(); + vector getIncomingAttributes(); + map getIncomingAttributesMap(); + bool sendAttribute(Attribute attrib); +}; + +#endif \ No newline at end of file diff --git a/bfs/include/IOProcessor.hpp b/bfs/include/IOProcessor.hpp new file mode 100644 index 0000000..2f4802d --- /dev/null +++ b/bfs/include/IOProcessor.hpp @@ -0,0 +1,24 @@ + +#ifndef IO_PROCESSOR_HPP +#define IO_PROCESSOR_HPP + +#include "DataSyncThread.hpp" + +class IOProcessor +{ +public: + + IOProcessor(); + ~IOProcessor(); + + virtual void loop() {}; + virtual bool loopCondition() { return false; }; + + int init(); + int close(); + DataSyncThread* getComms() { return comms; } +private: + DataSyncThread* comms; +}; + +#endif diff --git a/bfs/include/Logger.h b/bfs/include/Logger.h new file mode 100644 index 0000000..de4420c --- /dev/null +++ b/bfs/include/Logger.h @@ -0,0 +1,51 @@ +#ifndef LOGGER_H +#define LOGGER_H + +#include +#include +#include +#include +#include + +using namespace std; + + + +extern class Logger { +public: + int logging_Level = 1; + string filename = "log.txt"; + + +}; + +void start_log(string filename){ + ofstream log_file; + log_file.open(filename, std::ios_base::in | std::ios_base::trunc); + log_file << "Start log"; + log_file.close(); +} + +void write_log(string msg, int msg_level, string filename, Logger* logObject) { + string line; + ofstream log_file; + log_file.open(filename, std::ios_base::app); + if (logObject->logging_Level <= msg_level) { + //for (int i = 0; i < &msg.size; i++) + log_file << msg; + + } + log_file.close(); +} + +Logger* logger = NULL; +Logger* getLogger() { + if (logger == NULL) { + logger = new Logger(); + + } + return logger; +} + +//Logger* logger = getLogger(); +#endif diff --git a/bfs/lib/ea_tdk/API_Reference_Windows.pdf b/bfs/lib/ea_tdk/API_Reference_Windows.pdf new file mode 100644 index 0000000..8dca30b Binary files /dev/null and b/bfs/lib/ea_tdk/API_Reference_Windows.pdf differ diff --git a/bfs/lib/ea_tdk/EAI_Defines.h b/bfs/lib/ea_tdk/EAI_Defines.h new file mode 100644 index 0000000..d595894 --- /dev/null +++ b/bfs/lib/ea_tdk/EAI_Defines.h @@ -0,0 +1,147 @@ +/* + This software is the copyrighted work of Engineering Acoustics, Inc. and/or its suppliers and may not be + reproduced or redistributed without prior written permission. + Engineering Acoustics, Inc (EAI) provides this software “as is," and use the software is at your own risk. + EAI make no warranties as to performance, merchantability, fitness for a particular purpose, or any + other warranties whether expressed or implied. Under no circumstances shall EAI be liable for direct, + indirect, special, incidental, or consequential damages resulting from the use, misuse, or inability to use + this software, even if EAI has been advised of the possibility of such damages. + + Copyright 2015(c) Engineering Acoustics, Inc. All rights reserved. +*/ + +/************************************************************************ +* * +* EAI_Defines.h -- error code definitions for the EAI Software * +* * +* Copyright 2015(c) Engineering Acoustics Inc. All rights reserved. * +* * +************************************************************************/ + + +#ifndef _EAIDEFINES_ +#define _EAIDEFINES_ + +// Default value to play a TAction at it's default location +#define TACTION_LOCATION_DEFAULT 0xDF + +// Number of device types. +#define DEVICE_TYPE_COUNT 5 + +// Flags for device types! +// Change in 0.1.0.7: These were integers, and are now bitflags! +#define DEVICE_TYPE_UNKNOWN 0x00 +#define DEVICE_TYPE_SERIAL 0x01 +#define DEVICE_TYPE_WINUSB 0x02 +#define DEVICE_TYPE_ANDROIDBLUETOOTH 0x04 +#define DEVICE_TYPE_ANDROIDUSB 0x08 +#define DEVICE_TYPE_ANDROIDBLE 0x10 + +#define TDK_LINEAR_RAMP 0x01 + +// values for command bytes +#define TDK_COMMAND_PULSE 0x11 +#define TDK_COMMAND_READFW 0x42 +#define TDK_COMMAND_READ_CURRENT 0x53 +#define TDK_COMMAND_STOP 0x01 +#define TDK_COMMAND_GAIN 0x20 +#define TDK_COMMAND_FREQ 0x12 +#define TDK_COMMAND_SETSIGSOURCE 0x15 +#define TDK_COMMAND_RAMP 0x2A +#define TDK_COMMAND_SELFTEST 0x30 +#define TDK_COMMAND_READ_BAT_DATA 0x3a +#define TDK_COMMAND_GETSEGMENTLIST 0x45 +#define TDK_COMMAND_SET_TACTORS 0x80 +#define TDK_COMMAND_SET_TACTOR_TYPE 0x33 +#define TDK_COMMAND_TACTION_PLAY 0x1A +#define TDK_COMMAND_TACTION_START 0x1B +#define TDK_COMMAND_ACTION_WAIT 0x1F +//#define TDK_COMMAND_TACTION_??? 0x1C +#define TDK_COMMAND_TACTION_END 0x1D +#define TDK_COMMAND_SET_FREQ_TIME_DELAY 0xA2 + +// SetSigSource type values. Can be bit-or'd together. +#define TDK_SIG_SRC_PRIMARY 0x01 +#define TDK_SIG_SRC_MODULATION 0x02 +#define TDK_SIG_SRC_NOISE 0x04 + +// Pre-done SigSource combinations. +#define TDK_SIG_SRC_PRIMARY_AND_MOD (TDK_SIG_SRC_PRIMARY | TDK_SIG_SRC_MODULATION) +#define TDK_SIG_SRC_PRIMARY_AND_NOISE (TDK_SIG_SRC_PRIMARY | TDK_SIG_SRC_NOISE) +#define TDK_SIG_SRC_MOD_AND_NOISE (TDK_SIG_SRC_MODULATION | TDK_SIG_SRC_NOISE ) +#define TDK_SIG_SRC_PRIMARY_MOD_NOISE (TDK_SIG_SRC_PRIMARY | TDK_SIG_SRC_MODULATION | TDK_SIG_SRC_NOISE) + + +#define MAX_ACTION_DURATION 2500 // the maximum length of an action duration +#define MIN_ACTION_DURATION 10 // the minimum length of an action duration. +#define MAX_ACTION_FREQUENCY 3500 // the maximum frequency of an action. +#define MIN_ACTION_FREQUENCY 300 // the minimum frequency of an action. +#define MAX_ACTION_GAIN 255 // the maximum gain of an action. +#define MIN_ACTION_GAIN 1 // the minimum gain of an action. + +#define TDK_MAX_STORED_TACTIONS 10 // the number of TActions the device can hold +#define TDK_MAX_STORED_TACTION_LENGTH 64 // the number of actions a stored TAction can h old + +// tactor type values +#define TDK_TACTOR_TYPE_C3 0x11 +#define TDK_TACTOR_TYPE_C2 0x12 +#define TDK_TACTOR_TYPE_EMS 0x21 +#define TDK_TACTOR_TYPE_EMR 0x22 + +#define ERROR_NOINIT 202000 +#define ERROR_CONNECTION 202001 +#define ERROR_BADPARAMETER 202002 +#define ERROR_INTERNALERROR 202003 +#define ERROR_PARTIALREAD 202004 +#define ERROR_HANDLE_NULL 202005 +#define ERROR_WIN_ERROR 202006 +#define ERROR_EAITIMEOUT 202007 +#define ERROR_EAINOREAD 202008 +#define ERROR_FAILED_TO_CLOSE 202009 +#define ERROR_MORE_TO_READ 202010 +#define ERROR_FAILED_TO_READ 202011 +#define ERROR_FAILED_TO_WRITE 202012 +#define ERROR_NO_SUPPORTED_DRIVER 202013 + +#define ERROR_PARSE_ERROR 203000 + +#define ERROR_DM_ACTION_LIMIT_REACHED 204010 +#define ERROR_DM_FAILED_TO_GENERATE_DEVICE_ID 204011 + +#define ERROR_JNI_UNKNOWN 205000 +#define ERROR_JNI_BAD 205001 +#define ERROR_JNI_FIND_CLASS_ERROR 205002 +#define ERROR_JNI_FIND_FIELD_ERROR 205003 +#define ERROR_JNI_FIND_METHOD_ERROR 205004 +#define ERROR_JNI_CALL_METHOD_ERROR 205005 +#define ERROR_JNI_RESOURCE_ACQUISITION_ERROR 205006 +#define ERROR_JNI_RESOURCE_RELEASE_ERROR 205007 + +#define ERROR_SI_ERROR 302000 + +#define ERROR_TM_NOT_INITIALIZED 402000 +#define ERROR_TM_NO_DEVICE 402001 +#define ERROR_TM_CANT_MAP 402002 +#define ERROR_TM_FAILED_TO_OPEN 402003 +#define ERROR_TM_INVALID_PARAM 402004 +#define ERROR_TM_TACTION_MISSING_CONNECTED_SEGEMENT 402005 +#define ERROR_TM_GENERATECOMMANDBUFFER_BAD_PARAMETER 402006 +#define ERROR_TM_TACTIONID_DOESNT_EXIST 402007 +#define ERROR_TM_DATABASE_NOT_INITIALIZED 402008 +#define ERROR_TM_MAX_CONTROLLER_LIMIT_REACHED 402009 +#define ERROR_TM_MAX_ACTION_LIMIT_REACHED 402010 +#define ERROR_TM_CONTROLLER_NOT_FOUND 402011 +#define ERROR_TM_MAX_TACTORLOCATION_LIMIT_REACHED 402012 +#define ERROR_TM_TACTION_NOT_FOUND 402013 +#define ERROR_TM_FAILED_TO_UNLOAD 402014 +#define ERROR_TM_NO_TACTIONS_IN_DATABASE 402015 +#define ERROR_TM_DATABASE_FAILED_TO_OPEN 402016 +#define ERROR_TM_FAILED_PACKET_PARSE 402017 +#define ERROR_TM_FAILED_TO_CLONE_TACTION 402018 + +#define EAI_DBM_ERROR 502000 +#define EAI_DBM_NO_ERROR 502001 + +#define ERROR_BAD_DATA 602000 + +#endif diff --git a/bfs/lib/ea_tdk/TActionInterface.h b/bfs/lib/ea_tdk/TActionInterface.h new file mode 100644 index 0000000..89291df --- /dev/null +++ b/bfs/lib/ea_tdk/TActionInterface.h @@ -0,0 +1,163 @@ +/* + This software is the copyrighted work of Engineering Acoustics, Inc. and/or its suppliers and may not be + reproduced or redistributed without prior written permission. + Engineering Acoustics, Inc (EAI) provides this software “as is," and use the software is at your own risk. + EAI make no warranties as to performance, merchantability, fitness for a particular purpose, or any + other warranties whether expressed or implied. Under no circumstances shall EAI be liable for direct, + indirect, special, incidental, or consequential damages resulting from the use, misuse, or inability to use + this software, even if EAI has been advised of the possibility of such damages. + + Copyright 2015(c) Engineering Acoustics, Inc. All rights reserved. +*/ + +#ifndef TACTION_INTERFACE_H_ +#define TACTION_INTERFACE_H_ + + +//#undef TACTIONSYSTEM + +#ifdef WIN32 +#pragma warning(disable : 4996)// _CRT_SECURE_NO_WARNINGS +#ifdef BUILD_TACTIONINTERFACE_DLL +#define EXPORTtactionInterface extern "C" __declspec(dllexport) +#else +#define EXPORTtactionInterface extern "C" __declspec(dllimport) +#endif +#else +#define EXPORTtactionInterface extern "C" +#endif + + +#ifdef TACTIONSYSTEM + +/**************************************************************************** +*FUNCTION: LoadTActionDatabase +*DESCRIPTION Loads the TAction Database file "tactionFile" +*PARAMETERS +*IN: char* tactionFile - the filename of the sqlite database to load +* +*RETURNS: +* on success: Number of TActions Found +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int LoadTActionDatabase(char * tactionFile); + +/**************************************************************************** +*FUNCTION: IsDatabaseLoaded +*DESCRIPTION Determines if there is a database currently loaded +* +*RETURNS: +* on success: 1. there is a database currently loaded +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int IsDatabaseLoaded(); + +/**************************************************************************** +*FUNCTION: GetLoadedTActionSize +*DESCRIPTION Gets how many TActions are currently loaded. +* +*RETURNS: +* on success: Number of TActions Loaded +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int GetLoadedTActionSize(); + +/**************************************************************************** +*FUNCTION: GetTActionDuration +*DESCRIPTION Gets the total time in milliseconds that it takes for a TAction to complely play. +*PARAMETERS +*IN: int tacID - the tacID of the TAction to be measured +* +*RETURNS: +* on success: The total duration of the TAction in milliseconds +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int GetTActionDuration(int tacID); + +/**************************************************************************** +*FUNCTION: UnloadTActions +*DESCRIPTION Unloads all the currently loaded TActions +* +*RETURNS: +* on success: 0 +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int UnloadTActions(); + +/**************************************************************************** +*FUNCTION: GetTActionName +*DESCRIPTION Gets the name of a specified TAction +*PARAMETERS +*IN: int tacID - The ID of the TAction to get the name of. +* +*RETURNS: +* on success: the name of the TAction. +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +char* GetTActionName(int tacID); + +/**************************************************************************** +*FUNCTION: CanTActionMap +*DESCRIPTION Determines if a taction can map to the given tactor device. +*PARAMETERS +*IN: int DeviceID - the device id to play the TAction on. +int tacID - the id of the TAction to play. +int tactorID - the id of the tactor to play the TAction on. + +* +*RETURNS: +* on success: 0 successfully mapped and played. +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int CanTActionMap(int boardID, int tacID, int tactorID); + +/**************************************************************************** +*FUNCTION: PlayTAction +*DESCRIPTION Plays the given taction to the given controller with the given scalefactors. +*PARAMETERS +*IN: int DeviceID - the device id to play the TAction on. + int tacID - the id of the TAction to play. + int tactorID - the id of the tactor to play the TAction on. + float gainScale - how much to scale the entire gain of the TAction by. + float freq1 - how much to scale the entire freq1 of the TAction by. + float freq2 - how much to scale the entire freq2 of the TAction by. + float timeScale - how much to scale the entire time of the TAction by. + +* +*RETURNS: +* on success: 0 successfully mapped and played. +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int PlayTAction(int boardID, int tacID, int tactorID, float gainScale, float freq1Scale, float freq2Scale, float timeScale); + +/**************************************************************************** +*FUNCTION: PlayTActionToSegment +*DESCRIPTION Plays the given taction to the given controller segment with the given scalefactors. +*PARAMETERS +*IN: int DeviceID - the device id to play the TAction on. + int tacID - the id of the TAction to play. + int tactorIDOffset - the id of the tactor to play the TAction on within the segment + int controllerSegmentID - the segment ID of the controller segment list to map to. + float gainScale - how much to scale the entire gain of the TAction by. + float freq1 - how much to scale the entire freq1 of the TAction by. + float freq2 - how much to scale the entire freq2 of the TAction by. + float timeScale - how much to scale the entire time of the TAction by. + +* +*RETURNS: +* on success: 0 successfully mapped and played. +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int PlayTActionToSegment(int boardID, int tacID, int tactorIDOffset,int controllerSegmentID, float gainScale, float freq1Scale, float freq2Scale, float timeScale); + +#endif +#endif diff --git a/bfs/lib/ea_tdk/TActionManager.dll b/bfs/lib/ea_tdk/TActionManager.dll new file mode 100644 index 0000000..8223921 Binary files /dev/null and b/bfs/lib/ea_tdk/TActionManager.dll differ diff --git a/bfs/lib/ea_tdk/TActionManager.lib b/bfs/lib/ea_tdk/TActionManager.lib new file mode 100644 index 0000000..010e825 Binary files /dev/null and b/bfs/lib/ea_tdk/TActionManager.lib differ diff --git a/bfs/lib/ea_tdk/TactorInterface.dll b/bfs/lib/ea_tdk/TactorInterface.dll new file mode 100644 index 0000000..7483333 Binary files /dev/null and b/bfs/lib/ea_tdk/TactorInterface.dll differ diff --git a/bfs/lib/ea_tdk/TactorInterface.h b/bfs/lib/ea_tdk/TactorInterface.h new file mode 100644 index 0000000..0b7050b --- /dev/null +++ b/bfs/lib/ea_tdk/TactorInterface.h @@ -0,0 +1,515 @@ +/* + This software is the copyrighted work of Engineering Acoustics, Inc. and/or its suppliers and may not be + reproduced or redistributed without prior written permission. + Engineering Acoustics, Inc (EAI) provides this software “as is," and use the software is at your own risk. + EAI make no warranties as to performance, merchantability, fitness for a particular purpose, or any + other warranties whether expressed or implied. Under no circumstances shall EAI be liable for direct, + indirect, special, incidental, or consequential damages resulting from the use, misuse, or inability to use + this software, even if EAI has been advised of the possibility of such damages. + + Copyright 2015(c) Engineering Acoustics, Inc. All rights reserved. +*/ + + +#ifndef _EAITACINT_ +#define _EAITACINT_ + +#include + +#ifdef WIN32 + #ifdef BUILD_TACTIONINTERFACE_DLL + #define EXPORTtactionInterface extern "C" __declspec(dllexport) + #else + #define EXPORTtactionInterface extern "C" __declspec(dllimport) + #endif +#else + #define EXPORTtactionInterface extern "C" +#endif + +/**************************************************************************** +*FUNCTION: InitializeTI +*DESCRIPTION Sets up TDK +* +* +*RETURNS: +* on success: 0 +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int InitializeTI(); + + +/**************************************************************************** +*FUNCTION: ShutdownTI +*DESCRIPTION Shuts down and cleans up the TDK +* +* +*RETURNS: +* on success: 0 +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ShutdownTI(); + +/**************************************************************************** +*FUNCTION: GetVersionNumber +*DESCRIPTION Version Identification of TDK +* +* +*RETURNS: +* on success: value Version Number +*****************************************************************************/ +EXPORTtactionInterface +const char* GetVersionNumber(); + +/**************************************************************************** +*FUNCTION: Connect +*DESCRIPTION Connect to a Tactor Controller +*PARAMETERS +*IN: const char* _name - Tactor Controller Name (proper name or COM Port) +*IN: int _type - Tactor Controller Type (see list of types in +*IN: void* _callback - reponse packet return function (can be null) +* (see function declaration in +* +*RETURNS: +* on success: Board Identification Number +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int Connect(const char* name, int type, void* _callback); + +/**************************************************************************** +*FUNCTION: Discover +*DESCRIPTION Scan Available Ports on computer for Tactor Controller +*PARAMETERS +*IN: int _type - Type of Controllers to Scan For (bitfield, +* multiple types can be ORd together.) +* +*RETURNS: +* on success: Number of Devices Found +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int Discover(int type); + +/**************************************************************************** +*FUNCTION: DiscoverLimited +*DESCRIPTION Scan Available Ports on computer for Tactor Controller with alotted amount +*PARAMETERS +*IN: int _type - Type of Controllers to Scan For (bitfield, +* multiple types can be ORd together.) +* _amount - the alotted amount. +* +*RETURNS: +* on success: Number of Devices Found +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int DiscoverLimited(int type,int amount); + +/**************************************************************************** +*FUNCTION: GetDiscoveredDeviceName +*DESCRIPTION Scan Available Ports on computer for Tactor Controller +*PARAMETERS +*IN: int index - Device To Get Name From (Index from Discover) NOT BOARD ID +* +*RETURNS: +* on success: const char* Name +* on failure: NULL check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +const char* GetDiscoveredDeviceName(int index); + +/**************************************************************************** +*FUNCTION: GetDiscoveredDeviceType +*DESCRIPTION Scan Available Ports on computer for Tactor Controller +*PARAMETERS +*IN: int index - Device To Get Name From (Index from Discover) NOT BOARD ID +* +*RETURNS: +* on success: integer representing the device discovered's type +* on failure: 0 check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int GetDiscoveredDeviceType(int index); + +/**************************************************************************** +*FUNCTION: Close +*DESCRIPTION Closes Connection with Selected Device +*PARAMETERS +*IN: int _deviceID - Tactor Controller Device ID (returned from Connect) +* +*RETURNS: +* on success: 0 +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int Close(int deviceID); + +/**************************************************************************** +*FUNCTION: CloseAll +*DESCRIPTION Closes All Active Connections +* +*RETURNS: +* on success: 0 +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int CloseAll(); + +/**************************************************************************** +*FUNCTION: Pulse +*DESCRIPTION Command Sent to the Tactor Controller +* Pulses Specified Tactor +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _msDuration - Duration of Pulse +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int Pulse(int deviceID, int _tacNum, int _msDuration, int _delay); +/**************************************************************************** +*FUNCTION: SendActionWait +*DESCRIPTION Command Sent to the Tactor Controller +* Waits all actions for given time. +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _msDuration - Duration of Wait +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int SendActionWait(int deviceID, int _msDuration, int _delay); + +/**************************************************************************** +*FUNCTION: ChangeGain +*DESCRIPTION Command Sent to the Tactor Controller +* Changes the Gain For Specified Tactor +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _gainVal - Gain Value (0-255) +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ChangeGain(int deviceID, int _tacNum, int gainval, int _delay); + +/**************************************************************************** +*FUNCTION: RampGain +*DESCRIPTION Command Sent to the Tactor Controller +* Changes the Gain From start to end within the duration specified for the tactor number specified +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _gainStart - Start Gain Value (0-255) +*IN: int _gainEnd - End Gain Value (0-255) +*IN: int _duration - Duration of Ramp (ms) +*IN: int _func - Function Type +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int RampGain(int deviceID, int _tacNum, int _gainStart, int _gainEnd, + int _duration, int _func, int _delay); + +/**************************************************************************** +*FUNCTION: ChangeFreq +*DESCRIPTION Command Sent to the Tactor Controller +* Changes the Frequency For Specified Tactor +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _freqVal - Freq Value (300-3550) +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ChangeFreq(int deviceID, int _tacNum, int freqVal, int _delay); + +/**************************************************************************** +*FUNCTION: RampFreq +*DESCRIPTION Command Sent to the Tactor Controller +* Changes the Freq From start to end within the duration specified for the tactor number specified +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _freqStart - Start Freq Value (300-3550) +*IN: int _freqEnd - End Freq Value (300-3550) +*IN: int _duration - Duration of Ramp (ms) +*IN: int _func - Function Type +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int RampFreq(int deviceID, int _tacNum, int _freqStart, int _freqEnd, + int _duration, int _func, int _delay); + +/**************************************************************************** +*FUNCTION: ChangeSigSource +*DESCRIPTION Command Sent to the Tactor Controller +* Changes the Sig Source For Specified Tactor +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _tacNum - Tactor Number For Command +*IN: int _type - New Sig Source Type +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ChangeSigSource(int _device, int _tacNum, int _type, int _delay); + +/**************************************************************************** +*FUNCTION: ReadFW +*DESCRIPTION Command Sent to the Tactor Controller +* Requests Firmware Version From Tactor Controller +*PARAMETERS +*IN: int _deviceID - Device To apply Command +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ReadFW(int deviceID); + +/**************************************************************************** +*FUNCTION: TactorSelfTest +*DESCRIPTION Command Sent to the Tactor Controller +* Self Test Tactor Controller +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int TactorSelfTest(int deviceID, int _delay); + +/**************************************************************************** +*FUNCTION: ReadSegmentList +*DESCRIPTION Command Sent to the Tactor Controller +* Request for Segment List From Tactor Controller +* Represents Number of Tactors connected to Tactor Controller +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ReadSegmentList(int deviceID, int _delay); + +/**************************************************************************** +*FUNCTION: ReadBatteryLevel +*DESCRIPTION Command Sent to the Tactor Controller +* Request for Battery Level From Tactor Controller +* +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int ReadBatteryLevel(int deviceID, int _delay); + +/**************************************************************************** +*FUNCTION: Stop +*DESCRIPTION Command Sent to the Tactor Controller +* Requests Tactor Controller To Stop All Commands +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int Stop(int deviceID, int _delay); + +/**************************************************************************** +*FUNCTION: SetTactors +*DESCRIPTION Command Sent to the Tactor Controller +* Sets the tactors on or off based on the byte array given. +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +*IN: unsigned char* states - An 8-byte array of boolean values representing +* the desired tactor states. Tactor 1 is at +* the LSB of byte 1, tactor 64 is the MSB +* of byte 8. +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int SetTactors(int device_id, int delay, unsigned char* states); + +/**************************************************************************** +*FUNCTION: SetTactorType +*DESCRIPTION Command Sent to the Tactor Controller +* Sets the given tactor to the type described. +*PARAMETERS +*IN: int device_id - Device To apply Command +*IN: int delay - Delay before running Command (ms) +*IN: int tactor - The tactor to modify +*IN: type type - The type to set the tactor to +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int SetTactorType(int device_id, int delay, int tactor, int type); + +/**************************************************************************** +*FUNCTION: UpdateTI +*DESCRIPTION Update The TactorInterface for house maintence +* - will check for errors with internal threads +* +*PARAMETERS +* +*RETURNS: +* on success: value(0) +* on failure: Error code - See EAI_Defines.h for reason +*****************************************************************************/ +EXPORTtactionInterface +int UpdateTI(); + +/**************************************************************************** +*FUNCTION: GetLastEAIError +*DESCRIPTION Returns EAI Error Code (See full list of error codes in EAI_ErrorCodes.h) +* +*PARAMETERS +* +* +*RETURNS: Last ErrorCode +*****************************************************************************/ +EXPORTtactionInterface +int GetLastEAIError(); + +/**************************************************************************** +*FUNCTION: SetLastEAIError +*DESCRIPTION Sets EAI Error Code (See full list of error codes in EAI_ErrorCodes.h) +* +*PARAMETERS +*IN: int e the last error code.. ***internal use. +* +*RETURNS: Last ErrorCode +*****************************************************************************/ +EXPORTtactionInterface +int SetLastEAIError(int e); + +/**************************************************************************** +*FUNCTION: SetTimeFactor +*DESCRIPTION Set DLL Time Factor to be passed with each Action List +* 10 is the default +* +*PARAMETERS +*IN: int _timeFactor (1-255) multiple delay value * timefactor for actual delay +* +*RETURNS: +* on success: 0 +* on failure: -1, and sets last EAI error as ERROR_BADPARAMETER +* +*****************************************************************************/ +EXPORTtactionInterface +int SetTimeFactor(int value); + +/**************************************************************************** +*FUNCTION: BeginStoreTAction +*DESCRIPTION Sets the tactor controller in the 'recording TAction' mode. +* +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int tacID - The the address of the TAction to store (1-10) +* +*RETURNS: +* on success: 0 +* on failure: -1, and sets last EAI error as ERROR_BADPARAMETER +* +*****************************************************************************/ +EXPORTtactionInterface +int BeginStoreTAction(int _deviceID, int tacID); + +/**************************************************************************** +*FUNCTION: FinishStoreTAction +*DESCRIPTION Finishes the 'recording TAction' mode. +* +*PARAMETERS +*IN: int _deviceID - Device To apply Command +* +*RETURNS: +* on success: 0 +* on failure: -1, and sets last EAI error as ERROR_BADPARAMETER +* +*****************************************************************************/ +EXPORTtactionInterface +int FinishStoreTAction(int _deviceID); + +/**************************************************************************** +*FUNCTION: PlayStoredTAction +*DESCRIPTION Plays a TAction stored on the tactor device. +* +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delay - Delay before running Command (ms) +*IN: int tacId - The the address of the TAction to play (1-10) +* +*RETURNS: +* on success: 0 +* on failure: -1, and sets last EAI error as ERROR_BADPARAMETER +* +*****************************************************************************/ +EXPORTtactionInterface +int PlayStoredTAction(int _deviceID, int _delay, int tacId); + +/**************************************************************************** +*FUNCTION: SetFreqTimeDelay +*DESCRIPTION Disables or enables the pulse to end on the sin wave reaching +* zero or the duration of the pulse +* +*PARAMETERS +*IN: int _deviceID - Device To apply Command +*IN: int _delayOn - False to end with duration, True to end when +* sin reaches zero after duration. +* +*RETURNS: +* on success: value(0) +* on failure: value(-1) check GetLastEAIError() for Error Code +*****************************************************************************/ +EXPORTtactionInterface +int SetFreqTimeDelay(int _deviceID, bool _delayOn); +#endif diff --git a/bfs/lib/ea_tdk/TactorInterface.lib b/bfs/lib/ea_tdk/TactorInterface.lib new file mode 100644 index 0000000..c84f9ea Binary files /dev/null and b/bfs/lib/ea_tdk/TactorInterface.lib differ diff --git a/bfs/lib/ea_tdk/eai_common.dll b/bfs/lib/ea_tdk/eai_common.dll new file mode 100644 index 0000000..a1d6aa6 Binary files /dev/null and b/bfs/lib/ea_tdk/eai_common.dll differ diff --git a/bfs/lib/ea_tdk/eai_serial.dll b/bfs/lib/ea_tdk/eai_serial.dll new file mode 100644 index 0000000..8ee0841 Binary files /dev/null and b/bfs/lib/ea_tdk/eai_serial.dll differ diff --git a/bfs/lib/ea_tdk/eai_winbluetooth.dll b/bfs/lib/ea_tdk/eai_winbluetooth.dll new file mode 100644 index 0000000..61d08c8 Binary files /dev/null and b/bfs/lib/ea_tdk/eai_winbluetooth.dll differ diff --git a/bfs/lib/ea_tdk/eai_winusb.dll b/bfs/lib/ea_tdk/eai_winusb.dll new file mode 100644 index 0000000..6c5831e Binary files /dev/null and b/bfs/lib/ea_tdk/eai_winusb.dll differ diff --git a/breadcrumbs/config/.blank b/bfs/res/.blank similarity index 100% rename from breadcrumbs/config/.blank rename to bfs/res/.blank diff --git a/bfs/scripts/buildbfs.py b/bfs/scripts/buildbfs.py new file mode 100644 index 0000000..80f4569 --- /dev/null +++ b/bfs/scripts/buildbfs.py @@ -0,0 +1,66 @@ + +import os +import glob + +def build_bfs(): + + root_bfs_dir = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) + print("Root BFS directory at:", root_bfs_dir) + build_dir = os.path.join(root_bfs_dir, "build") + print("Build directory at:", build_dir) + auto_build_dir = os.path.join(build_dir, "auto_build") + if not os.path.exists(auto_build_dir): + os.mkdir(auto_build_dir) + print("Creating auto build directory...") + print("Auto build directory at:", auto_build_dir) + + print("Changing direcory to auto build dir...") + prev_cur_dir = os.getcwd() + os.chdir(auto_build_dir) + + cmake_bin = None + + vs_cmake_path_pattern = "C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO\\*\\*\\COMMON*\\IDE\\COMMONEXTENSIONS\\MICROSOFT\\CMAKE\\CMake\\bin\\cmake.exe" + print("Searching for cmake installation in visual studio install location at %s" % vs_cmake_path_pattern) + possible_paths = glob.glob(vs_cmake_path_pattern) + if len(possible_paths) > 0: + cmake_bin = possible_paths[0] + + if cmake_bin is None: + sys_cmake_path_pattern = "C:\\Program Files (x86)\\CMake*\\bin\\cmake.exe" + print("cmake bin\\ not found, searching for system installation at %s" % sys_cmake_bin_directory) + possible_paths = glob.glob(sys_cmake_path_pattern) + if len(possible_paths) > 0: + cmake_bin = possible_paths[0] + + if cmake_bin is None: + print("No cmake directory found, try installing it through visual studio or through your system and retrying!") + quit() + else: + print("Cmake binary location found at: %s" % cmake_bin) + cmake_installation = "C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO\\2019\\COMMUNITY\\COMMON7\\IDE\\COMMONEXTENSIONS\\MICROSOFT\\CMAKE\\CMake\\bin\\cmake.exe" + + clean_command = "\"%s\" --clean ..\\.." % cmake_bin + build_command = "\"%s\" --build ." % cmake_bin + + + def start_build_program(program): + if not isinstance(program, str): + raise ValueError("Argument passed to start_program_sync() should be a string") + print("\n======> Running command: %s <======" % program) + return os.system("CMD /c \"%s\"" % program) + + + # While located in the bfs\build\auto_build directory... + + # cmake --clean ..\.. + start_build_program(clean_command) + + # cmake --build . + start_build_program(build_command) + + os.chdir(prev_cur_dir) + + +if __name__ == "__main__": + build_bfs() diff --git a/bfs/scripts/log.txt b/bfs/scripts/log.txt new file mode 100644 index 0000000..dabaeed --- /dev/null +++ b/bfs/scripts/log.txt @@ -0,0 +1,376 @@ +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Could not acquire mutex to add new client thread +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... diff --git a/bfs/scripts/startbfs.py b/bfs/scripts/startbfs.py new file mode 100644 index 0000000..fbbf56f --- /dev/null +++ b/bfs/scripts/startbfs.py @@ -0,0 +1,101 @@ + +import os +import argparse +import subprocess +import multiprocessing as mp + +from buildbfs import build_bfs + +os.chdir(os.path.dirname(os.path.abspath(__file__))) + + +def start_program(program, pause=True): + if not isinstance(program, str): + raise ValueError("Argument passed to start_program_sync() should be a string") + if pause: + command = "START /wait \"\" CMD /c \"\"" + program + "\"&pause\"" + else: + command = "START /wait \"\" CMD /c \"" + program + "\"" + print("> " + command) + return os.system(command) + + +def start_program_async(program, pause=True): + # TODO: This needs to account for the number of cores... + # Add another function called start_programs_async that takes a list + # of programs and starts them on the proper cores. + print("\n======> Starting ASYNC: %s <======" % program) + p = mp.Process(target=start_program, args=(program,pause)) + p.start() + print(p.pid) + return p + + +def flatten_list(lst): + flat = [] + for l in lst: + if isinstance(l, list): + flat.extend(flatten_list(l)) + else: + flat.append(l) + return flat + + +def get_exe_names(algo_args, io_proc_args, config_file): + names = [] + + if algo_args is not None: + names.append(algo_args) + + if io_proc_args is not None: + names.extend(flatten_list(io_proc_args)) + + return names + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("-a", "--algorithm", default=None, + help="""Specify the name of the algorithm .exe file to run in a separate process. Specifying +an algorithm like this eliminates the ability for the user to specify a specify configuration for this algorithm. +the created algorithm process will use the configuration file located in it's default config directory.""") + parser.add_argument("-p", "--io_processor", action='append', nargs='+', default=None, + help="""Specify the name of the IO Processor .exe file to run in a separate process. Specifying +an IO Processor like this eliminates the ability for the user to specify a specify configuration for this IO Processor. +the created IO Processor process will use the configuration file located in it's default config directory.""") + parser.add_argument("-c", "--config", default=None, + help="""Specify the configuration file to use. This can specify the algorithm and IO +processors to run. It can also specify settings for the individual IO Processors and algorithm themselves. The +config file will be divided up into smaller config files (one for each process run) that the respective processes +will read and adjust their settings accordingly. That way, each process only has access to their own config settings. +Note: this can be used in conjunction with -a and -p, but care is necessary to not produce any duplicate proceses.""") + parser.add_argument("-b", "--build", help="If specified, run buildbfs.py before proceeding.", action="store_true") + parser.add_argument("-t", "--terminal", help="If specified, run a prompt while waiting for the processes to finish execution", action="store_true") + parser.add_argument("-s", "--stop", help="If specified, keep the cmd windows for the aglo and procs open with a 'pause' prompt after they are finished executing", action="store_true") + args = parser.parse_args() + + if args.build: + print("=====> Building BFS") + build_bfs() + + binary_path = os.path.abspath("..\\bin") + exe_ending = ".exe" + exe_names = get_exe_names(args.algorithm, args.io_processor, args.config) + procs = [start_program_async(os.path.join(binary_path, x) + exe_ending, pause=args.stop) for x in exe_names] + + if args.console: + print("Press t to terminate or h for help.") + loop = True + while loop: + user_in = input() + if user_in == "t": + loop = False + + print("Waiting for cmd windows to close...") + [proc.join() for proc in procs] + + print("DONE") + + +if __name__ == "__main__": + main() diff --git a/breadcrumbs/lib/.blank b/bfs/src/algos/.blank similarity index 100% rename from breadcrumbs/lib/.blank rename to bfs/src/algos/.blank diff --git a/breadcrumbs/src/algos/Algorithm.cpp b/bfs/src/algos/Algorithm.cpp similarity index 100% rename from breadcrumbs/src/algos/Algorithm.cpp rename to bfs/src/algos/Algorithm.cpp diff --git a/bfs/src/comms/AlgorithmServer.cpp b/bfs/src/comms/AlgorithmServer.cpp new file mode 100644 index 0000000..cee6fe9 --- /dev/null +++ b/bfs/src/comms/AlgorithmServer.cpp @@ -0,0 +1,229 @@ + +#include "AlgorithmServer.hpp" +#include + + +AlgorithmServer::AlgorithmServer(size_t numClients) +{ + this->hThread = NULL; + this->dwThreadId = 0; + this->numClients = numClients; + + clientThreads.reserve(numClients); +} + +AlgorithmServer::~AlgorithmServer() +{ + this->stopServer(); +} + +void AlgorithmServer::serverThreadRuntime() +{ + //Logger* logger = getLogger(); + int iResult; + clientThreadsMutex = CreateMutex(NULL, false, NULL); + + SOCKET ListenSocket = INVALID_SOCKET; + SOCKET ClientSocket = INVALID_SOCKET; + + struct addrinfo* result = NULL; + struct addrinfo hints; + + int iSendResult; + + ZeroMemory(&hints, sizeof(hints)); + hints.ai_family = AF_INET; + hints.ai_socktype = SOCK_STREAM; + hints.ai_protocol = IPPROTO_TCP; + hints.ai_flags = AI_PASSIVE; + + // Resolve the server address and port + iResult = getaddrinfo(NULL, ALGORITHM_SERVER_PORT, &hints, &result); + if (iResult != 0) { + printf("getaddrinfo failed with error: %d\n", iResult); + WSACleanup(); + return; + } + + // Create a SOCKET for connecting to server + ListenSocket = socket(result->ai_family, result->ai_socktype, result->ai_protocol); + if (ListenSocket == INVALID_SOCKET) { + printf("socket failed with error: %ld\n", WSAGetLastError()); + freeaddrinfo(result); + WSACleanup(); + return; + } + ServerSocket = &ListenSocket; + + // Setup the TCP listening socket + iResult = bind(ListenSocket, result->ai_addr, (int)result->ai_addrlen); + if (iResult == SOCKET_ERROR) { + printf("bind failed with error: %d\n", WSAGetLastError()); + freeaddrinfo(result); + closesocket(ListenSocket); + WSACleanup(); + return; + } + freeaddrinfo(result); + + iResult = listen(ListenSocket, SOMAXCONN); + if (iResult == SOCKET_ERROR) { + printf("listen failed with error: %d\n", WSAGetLastError()); + closesocket(ListenSocket); + WSACleanup(); + return; + } + + int AcceptFailures = 0; + // Accept a client socket + while (continueThread) + { + cout << "Listening for clients..." << endl; + ClientSocket = accept(ListenSocket, NULL, NULL); + if (ClientSocket == INVALID_SOCKET) { + cout << "accept failed with error: " << WSAGetLastError() << endl; + AcceptFailures++; + if (AcceptFailures >= MAX_ACCEPT_FAILURES) + break; + } + else { + AcceptFailures = 0; + } + + // Reaping any old data sync threads + if (lockClientThreadsMutex() == STATUS_WAIT_0) + { + for (vector::iterator x = clientThreads.begin(); x != clientThreads.end();) + { + //Check for projectiles whos status is dead. + if (!(*x)->isRunning()) + { + delete (*x); + x = clientThreads.erase(x); + } + else + { + ++x; + } + } + + // Creating a new Data sync thread + if (clientThreads.size() < numClients) { + DataSyncThread* client = new DataSyncThread(ClientSocket); + clientThreads.push_back(client); + client->startComms(); + } + else { + cout << "Client attempted connection when at the client limit " << numClients << " clients are already connected" << endl; + } + unlockClientThreadsMutex(); + } + else { + printf("Could not acquire mutex to add new client thread\n"); + } + } + + // cleanup + closesocket(ListenSocket); + WSACleanup(); + ServerSocket = NULL; + continueThread = false; + CloseHandle(clientThreadsMutex); + return; +} + +vector AlgorithmServer::getAllIncomingAttributes() +{ + /* + Polls DataSyncThreads for new updates + Updates master storage accordingly + */ + vector newAttribs; + if (lockClientThreadsMutex() == STATUS_WAIT_0) + { + for (DataSyncThread* dst : clientThreads) + { + vector toAdd = dst->getIncomingAttributes(); + newAttribs.insert(newAttribs.end(), toAdd.begin(), toAdd.end()); + } + unlockClientThreadsMutex(); + } + else { + cout << "Could not acquire mutex to get incoming attributes." << endl; + } + return newAttribs; +} + +map AlgorithmServer :: getAllIncomingAttributesMap() +{ + map combinedAttribMap; + if (lockClientThreadsMutex() == STATUS_WAIT_0) + { + for (DataSyncThread* dst : clientThreads) + { + map toAdd = dst->getIncomingAttributesMap(); + combinedAttribMap.insert(toAdd.begin(), toAdd.end()); + } + unlockClientThreadsMutex(); + } + else { + cout << "Could not acquire mutex to get incoming attributes." << endl; + } + return combinedAttribMap; +} + +void AlgorithmServer :: sendAttributeToAll(Attribute attrib) +{ + for (DataSyncThread* dst : clientThreads) + { + dst->sendAttribute(attrib); + } +} + +void AlgorithmServer::startServer() +{ + + // Initialize Winsock + WSADATA wsaData; + int result; + if (result = WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) { + printf("WSAStartup failed with error: %d\n", result); + return; + } + + // Starts the server thread: + continueThread = true; + hThread = CreateThread( + NULL, // default security attributes + 0, // use default stack size + serverThreadInit, // thread function name + this, // argument to thread function + 0, // use default creation flags + &dwThreadId); // returns the thread identifier +} + +int AlgorithmServer::stopServer() +{ + if (continueThread && ServerSocket != NULL) { + continueThread = false; + return shutdown(*ServerSocket, SD_BOTH); + } + return 0; +} + +DWORD AlgorithmServer::lockClientThreadsMutex() +{ + if (clientThreadsMutex != NULL) + { + return WaitForSingleObject(clientThreadsMutex, INFINITE); + } + return -1; +} + +void AlgorithmServer::unlockClientThreadsMutex() +{ + if (clientThreadsMutex != NULL) + { + ReleaseMutex(clientThreadsMutex); + } +} diff --git a/bfs/src/comms/DataSyncThread.cpp b/bfs/src/comms/DataSyncThread.cpp new file mode 100644 index 0000000..1083a8c --- /dev/null +++ b/bfs/src/comms/DataSyncThread.cpp @@ -0,0 +1,325 @@ +//#include +#include "DataSyncThread.hpp" +//include + +void DataSyncThread::threadRuntime() +{ + threadRunning = true; + cout << "Starting DataSyncThread: " << this << endl; + + /* + Handles the data sync between the other end of the socket + */ + int iResult = 1; + + while (continueThread && iResult > 0) + { + if (!readyToReceive()) + continue; + + char commandByte; + iResult = recvBytes(&commandByte, 1); + if (iResult <= 0) + break; + + switch (commandByte) + { + case 0: + bAttrib bAttr; + iResult = recvBytes(&bAttr, sizeof(bAttrib)); + if (iResult <= 0) + break; + + if (bAttr.length <= 0) + break; + + void* value = malloc(bAttr.length); + iResult = recvBytes(value, bAttr.length); + if (iResult <= 0) + break; + + Attribute attr(bAttr, value); + + // Storing the attrib update + addIncomingAttribute(attr); + } + } + + continueThread = false; + + // Waiting for all atributes to be read with a timeout: + auto start = clock(); + cout << "Waiting for attributes to be polled!" << endl; + while (areIncomingAttributesAvailable() && + (clock() - start) / (CLOCKS_PER_SEC) * 1000.0 < EXIT_PENDING_ATTRIBUTE_TIMEOUT); + if (areIncomingAttributesAvailable()) + { + cout << "WARNING: Attributes are still left to be polled but data sync thread is exiting." << endl; + } + + if (attribMutex != NULL) { + CloseHandle(attribMutex); + attribMutex = NULL; + } + + // Gracefully closing the socket: + shutdown(sock, SD_SEND); + char buf; + int result = recv(sock, &buf, 1, 0); + if (!result) + cout << "Graceful socket shutdown success!" << endl; + else if (result < 0) + cout << "Graceful socket shutdown failed! ERROR: " << result << endl; + else + cout << "Graceful socket shutdown failed! Still more data to read!" << endl; + closesocket(sock); + + cout << "Stopped DataSyncThread: " << this << endl; + threadRunning = false; +} + +// Returns 1 if it is the socket file descriptor is waiting for a read call, 0 otherwise +bool DataSyncThread::readyToReceive(int interval) +{ + fd_set fds; + FD_ZERO(&fds); + FD_SET(sock, &fds); + + timeval tv; + tv.tv_sec = interval; + tv.tv_usec = 0; + + bool result = select(sock + 1, &fds, 0, 0, &tv) == 1; + if (FD_ISSET(sock, &fds)) + return true; + return result; +} + +// Garentees receiving the given number of bytes +int DataSyncThread::recvBytes(void* buffer, size_t numBytes) +{ + size_t bytesRecved = 0; + int iResult; + + while (bytesRecved < numBytes) + { + iResult = recv(sock, ((char*) buffer) + bytesRecved, numBytes - bytesRecved, 0); + if (iResult < 0) + { + printf("recv failed with error: %d\n", WSAGetLastError()); + return iResult; + } + else if (iResult == 0) { + printf("recv returned 0, connection closed.\n"); + return iResult; + } + else + bytesRecved += iResult; + } + return numBytes; +} + +// Garentees sending the given number of bytes +int DataSyncThread::sendBytes(char* buffer, size_t numBytes) +{ + size_t bytesSent = 0; + int iResult; + + while (bytesSent < numBytes) + { + iResult = send(sock, buffer + bytesSent, numBytes - bytesSent, 0); + if (iResult < 0) + { + printf("send failed with error: %d\n", WSAGetLastError()); + return iResult; + } + else if (iResult == 0) { + printf("send returned 0, connection closed.\n"); + return iResult; + } + else + bytesSent += iResult; + } + return numBytes; +} + +void DataSyncThread::addIncomingAttribute(Attribute attrib) +{ + DWORD result = WaitForSingleObject(attribMutex, INFINITE); + if (result == WAIT_OBJECT_0) { + incomingAttributes[string(attrib.getKey())] = attrib; + ReleaseMutex(attribMutex); + } + else { + printf("Failed to acquire mutex, wait returned %x, error: %d\n", result, GetLastError()); + } +} + +void DataSyncThread::startComms() +{ + /* + Initializes the communication thread + */ + //write_log("Start comms: ", 1, logger->filename, logger); + //write_log(std::to_string(incomingAttributes), 1, logger->filename, logger); + + if (!threadRunning) + { + threadRunning = false; + continueThread = true; + hThread = CreateThread( + NULL, // default security attributes + 0, // use default stack size + threadInit, // thread function name + this, // argument to thread function + 0, // use default creation flags + &dwThreadId); // returns the thread identifier + + // Waiting for the thread to start + while (! threadRunning); + } +} + +bool DataSyncThread::isRunning() +{ + return threadRunning; +} + +bool DataSyncThread::stopComms() +{ + /* + Stops the communication thread + */ + continueThread = false; + while (isRunning()); + return true; +} + +int DataSyncThread::connectToAlgorithm(char* serverName) +{ + sock = INVALID_SOCKET; + WSADATA wsaData; + struct addrinfo* result = NULL,* ptr = NULL, hints; + int iResult; + + // Initialize Winsock + iResult = WSAStartup(MAKEWORD(2, 2), &wsaData); + if (iResult != 0) { + printf("WSAStartup failed with error: %d\n", iResult); + return 1; + } + + ZeroMemory(&hints, sizeof(hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + hints.ai_protocol = IPPROTO_TCP; + + // Resolve the server address and port + iResult = getaddrinfo(serverName, ALGORITHM_SERVER_PORT, &hints, &result); + if (iResult != 0) { + printf("getaddrinfo failed with error: %d\n", iResult); + return 1; + } + + // Attempt to connect to an address until one succeeds + for (ptr = result; ptr != NULL; ptr = ptr->ai_next) { + + // Create a SOCKET for connecting to server + sock = socket(ptr->ai_family, ptr->ai_socktype, + ptr->ai_protocol); + if (sock == INVALID_SOCKET) { + printf("socket failed with error: %ld\n", WSAGetLastError()); + return 1; + } + + // Connect to server. + iResult = connect(sock, ptr->ai_addr, (int)ptr->ai_addrlen); + if (iResult == SOCKET_ERROR) { + closesocket(sock); + sock = INVALID_SOCKET; + continue; + } + break; + } + freeaddrinfo(result); + + if (sock == INVALID_SOCKET) { + printf("Unable to connect to server!\n"); + return 1; + } + else + { + return 0; + } +} + +vector DataSyncThread :: getIncomingAttributes() +{ + vector newAttribVector; + if (! areIncomingAttributesAvailable()) + return newAttribVector; + + DWORD result = WaitForSingleObject(attribMutex, INFINITE); + if (result == WAIT_OBJECT_0) { + for (auto attrib : incomingAttributes) + { + newAttribVector.push_back(attrib.second); + } + incomingAttributes.clear(); + ReleaseMutex(attribMutex); + } + else { + printf("Failed to acquire mutex, wait returned %x, error: %d\n", result, GetLastError()); + } + + return newAttribVector; +} + +map DataSyncThread :: getIncomingAttributesMap() +{ + map incomingAttribMap; + if (!areIncomingAttributesAvailable()) + return incomingAttribMap; + + DWORD result = WaitForSingleObject(attribMutex, INFINITE); + if (result == WAIT_OBJECT_0) { + incomingAttribMap = map(incomingAttributes); + incomingAttributes.clear(); + ReleaseMutex(attribMutex); + } + else { + printf("Failed to acquire mutex, wait returned %x, error: %d\n", result, GetLastError()); + } + return incomingAttribMap; +} + +bool DataSyncThread::areIncomingAttributesAvailable() +{ + if (!threadRunning) + return 0; + return incomingAttributes.size() > 0; +} + +bool DataSyncThread::sendAttribute(Attribute attrib) +{ + if (!threadRunning) + return true; + + // two extra bytes, one for command 0x00 and one for length: + int streamLength = attrib.getLength() + ATTRIB_KEY_SIZE + 2; + char *bytes = new char[streamLength]; + int iter = 0; + bytes[iter++] = 0x00; + + string key = attrib.getKey(); + for (int i = 0; i < ATTRIB_KEY_SIZE; i++) + bytes[iter++] = key[i]; + + bytes[iter++] = attrib.getLength(); + + for (int i = 0; i < attrib.getLength(); i++) + bytes[iter++] = ((char*) attrib.getValue())[i]; + + int result = sendBytes(bytes, streamLength); + return result == streamLength; +} diff --git a/breadcrumbs/res/.blank b/bfs/src/config/.blank similarity index 100% rename from breadcrumbs/res/.blank rename to bfs/src/config/.blank diff --git a/bfs/src/config/config.cpp b/bfs/src/config/config.cpp new file mode 100644 index 0000000..e225905 --- /dev/null +++ b/bfs/src/config/config.cpp @@ -0,0 +1,2 @@ + +#include "Config.hpp" diff --git a/bfs/src/io_procs/IOProcessor.cpp b/bfs/src/io_procs/IOProcessor.cpp new file mode 100644 index 0000000..771497b --- /dev/null +++ b/bfs/src/io_procs/IOProcessor.cpp @@ -0,0 +1,29 @@ + +#include "IOProcessor.hpp" + + +IOProcessor::IOProcessor() +{ + comms = new DataSyncThread(NULL); +} + +IOProcessor::~IOProcessor() +{ + delete comms; +} + +int IOProcessor::init() +{ + int result = comms->connectToAlgorithm("localhost"); + if (!result) + comms->startComms(); + else + WSACleanup(); + return result; +} + +int IOProcessor::close() +{ + int result = static_cast(comms->stopComms()); + return result; +} diff --git a/breadcrumbs/src/algos/.blank b/bfs/src/logging/.blank similarity index 100% rename from breadcrumbs/src/algos/.blank rename to bfs/src/logging/.blank diff --git a/bfs/src/template/AlgorithmTemplate.cpp.in b/bfs/src/template/AlgorithmTemplate.cpp.in new file mode 100644 index 0000000..0ea6ced --- /dev/null +++ b/bfs/src/template/AlgorithmTemplate.cpp.in @@ -0,0 +1,19 @@ + +#include +#include "Config.hpp" + +#include "@Bfs_TEMP_ALGORITHM_NAME@.hpp" + + +int main() +{ + Algorithm* algorithm = new @Bfs_TEMP_ALGORITHM_NAME@(@Bfs_TEMP_ALGORITHM_CLIENT_LIMIT@); + + // Loop + while (algorithm->loopCondition()) + { + algorithm->loop(); + } + + return 0; +} diff --git a/bfs/src/template/IOProcessorTemplate.cpp.in b/bfs/src/template/IOProcessorTemplate.cpp.in new file mode 100644 index 0000000..6a3550f --- /dev/null +++ b/bfs/src/template/IOProcessorTemplate.cpp.in @@ -0,0 +1,23 @@ + +#include + +#include "DataSyncThread.hpp" +#include "@Bfs_TEMP_IOPROC_NAME@.hpp" + + +int main() +{ + IOProcessor* client = new @Bfs_TEMP_IOPROC_NAME@; + + if (!client->init()) + { + while (client->loopCondition()) + client->loop(); + + int result = client->close(); + delete client; + return result; + } + + return 0; +} diff --git a/breadcrumbs/src/config/.blank b/bfs/test/.blank similarity index 100% rename from breadcrumbs/src/config/.blank rename to bfs/test/.blank diff --git a/bfs/tools/tinyxml/.gitignore b/bfs/tools/tinyxml/.gitignore new file mode 100644 index 0000000..1456145 --- /dev/null +++ b/bfs/tools/tinyxml/.gitignore @@ -0,0 +1,20 @@ +# intermediate files +Win32/ +x64/ +ipch/ +resources/out/ +tinyxml2/tinyxml2-cbp/bin/ +tinyxml2/tinyxml2-cbp/obj/ +tinyxml2/bin/ +tinyxml2/temp/ +.artifacts/ +.projects/ +*.sdf +*.suo +*.opensdf +*.user +*.depend +*.layout +*.o +*.vc.db +*.vc.opendb diff --git a/bfs/tools/tinyxml/.travis.yml b/bfs/tools/tinyxml/.travis.yml new file mode 100644 index 0000000..0634ccb --- /dev/null +++ b/bfs/tools/tinyxml/.travis.yml @@ -0,0 +1,15 @@ +language: cpp + +os: + - linux + - osx + +compiler: + - g++ + - clang + +before_script: cmake . + +script: + - make -j3 + - make test diff --git a/bfs/tools/tinyxml/CMakeLists.txt b/bfs/tools/tinyxml/CMakeLists.txt new file mode 100644 index 0000000..67c1a0f --- /dev/null +++ b/bfs/tools/tinyxml/CMakeLists.txt @@ -0,0 +1,143 @@ +IF(BIICODE) + ADD_BIICODE_TARGETS() + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/resources) + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + ENDIF() + RETURN() +ENDIF(BIICODE) +cmake_minimum_required(VERSION 2.6 FATAL_ERROR) +cmake_policy(VERSION 2.6) +if(POLICY CMP0063) + cmake_policy(SET CMP0063 OLD) +endif() + +project(tinyxml2) +include(GNUInstallDirs) +include(CTest) +#enable_testing() + +#CMAKE_BUILD_TOOL + +################################ +# set lib version here + +set(GENERIC_LIB_VERSION "7.1.0") +set(GENERIC_LIB_SOVERSION "7") + +################################ +# Add definitions + +################################ +# Add targets +# By Default shared library is being built +# To build static libs also - Do cmake . -DBUILD_STATIC_LIBS:BOOL=ON +# User can choose not to build shared library by using cmake -DBUILD_SHARED_LIBS:BOOL=OFF +# To build only static libs use cmake . -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON +# To build the tests, use cmake . -DBUILD_TESTS:BOOL=ON +# To disable the building of the tests, use cmake . -DBUILD_TESTS:BOOL=OFF + +option(BUILD_SHARED_LIBS "build as shared library" ON) +option(BUILD_TESTS "build xmltest (deprecated: Use BUILD_TESTING)" ON) + +# To allow using tinyxml in another shared library +set(CMAKE_POSITION_INDEPENDENT_CODE ON) + +set(CMAKE_CXX_VISIBILITY_PRESET hidden) +set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) + +# to distinguish between debug and release lib +set(CMAKE_DEBUG_POSTFIX "d") + +add_library(tinyxml2 tinyxml2.cpp tinyxml2.h) + +set_target_properties(tinyxml2 PROPERTIES + COMPILE_DEFINITIONS "TINYXML2_EXPORT" + VERSION "${GENERIC_LIB_VERSION}" + SOVERSION "${GENERIC_LIB_SOVERSION}") + +target_compile_definitions(tinyxml2 PUBLIC $<$:TINYXML2_DEBUG>) + +if(DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") + target_include_directories(tinyxml2 PUBLIC + $ + $) + + if(MSVC) + target_compile_definitions(tinyxml2 PUBLIC -D_CRT_SECURE_NO_WARNINGS) + endif(MSVC) +else() + include_directories(${PROJECT_SOURCE_DIR}) + + if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS) + endif(MSVC) +endif() + +# export targets for find_package config mode +export(TARGETS tinyxml2 + FILE ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Targets.cmake) + +install(TARGETS tinyxml2 + EXPORT ${CMAKE_PROJECT_NAME}Targets + RUNTIME + DESTINATION ${CMAKE_INSTALL_BINDIR} + COMPONENT tinyxml2_runtime + LIBRARY + DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT tinyxml2_libraries + ARCHIVE + DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT tinyxml2_libraries) + +if(BUILD_TESTING AND BUILD_TESTS) + add_executable(xmltest xmltest.cpp) + add_dependencies(xmltest tinyxml2) + target_link_libraries(xmltest tinyxml2) + + # Copy test resources and create test output directory + add_custom_command(TARGET xmltest POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/resources $/resources + COMMAND ${CMAKE_COMMAND} -E make_directory $/resources/out + COMMENT "Configuring xmltest resources directory: ${CMAKE_CURRENT_BINARY_DIR}/resources" + ) + + add_test(NAME xmltest COMMAND xmltest WORKING_DIRECTORY $) +endif() + +install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT tinyxml2_headers) + +configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT tinyxml2_config) + +# uninstall target +if(NOT TARGET uninstall) + configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) + + add_custom_target(uninstall + COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) +endif() + +include(CMakePackageConfigHelpers) +set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") +configure_package_config_file( + "Config.cmake.in" + "${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Config.cmake" + INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${CMAKE_PROJECT_NAME}" +) +write_basic_package_version_file( + "${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}ConfigVersion.cmake" + VERSION ${GENERIC_LIB_VERSION} + COMPATIBILITY SameMajorVersion +) +install(FILES + ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Config.cmake + ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}ConfigVersion.cmake + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CMAKE_PROJECT_NAME} + COMPONENT tinyxml2_config) + +install(EXPORT ${CMAKE_PROJECT_NAME}Targets NAMESPACE tinyxml2:: + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CMAKE_PROJECT_NAME} + COMPONENT tinyxml2_config) diff --git a/bfs/tools/tinyxml/Config.cmake.in b/bfs/tools/tinyxml/Config.cmake.in new file mode 100644 index 0000000..38bbde7 --- /dev/null +++ b/bfs/tools/tinyxml/Config.cmake.in @@ -0,0 +1,4 @@ +@PACKAGE_INIT@ + +include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") +check_required_components("@PROJECT_NAME@") diff --git a/bfs/tools/tinyxml/LICENSE.txt b/bfs/tools/tinyxml/LICENSE.txt new file mode 100644 index 0000000..85a6a36 --- /dev/null +++ b/bfs/tools/tinyxml/LICENSE.txt @@ -0,0 +1,18 @@ +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. diff --git a/bfs/tools/tinyxml/Makefile b/bfs/tools/tinyxml/Makefile new file mode 100644 index 0000000..5989b95 --- /dev/null +++ b/bfs/tools/tinyxml/Makefile @@ -0,0 +1,75 @@ +# For GNU conventions and targets see https://www.gnu.org/prep/standards/standards.html +# Using GNU standards makes it easier for some users to keep doing what they are used to. + +# 'mkdir -p' is non-portable, but it is widely supported. A portable solution +# is elusive due to race conditions on testing the directory and creating it. +# Anemic toolchain users can sidestep the problem using MKDIR="mkdir". + +AR = ar +ARFLAGS = cr +RM = rm -f +RANLIB = ranlib +MKDIR = mkdir -p +CXXFLAGS = -fPIC + +INSTALL = install +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DATA = $(INSTALL) -m 644 + +prefix = /usr/local +bindir = $(prefix)/bin +libdir = $(prefix)/lib +includedir = $(prefix)/include + +all: xmltest staticlib + +rebuild: clean all + +xmltest: xmltest.cpp libtinyxml2.a + +effc: + gcc -Werror -Wall -Wextra -Wshadow -Wpedantic -Wformat-nonliteral \ + -Wformat-security -Wswitch-default -Wuninitialized -Wundef \ + -Wpointer-arith -Woverloaded-virtual -Wctor-dtor-privacy \ + -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo \ + -Wno-unused-parameter -Weffc++ xmltest.cpp tinyxml2.cpp -o xmltest + +clean: + -$(RM) *.o xmltest libtinyxml2.a + +# Standard GNU target +distclean: + -$(RM) *.o xmltest libtinyxml2.a + +test: clean xmltest + ./xmltest + +# Standard GNU target +check: clean xmltest + ./xmltest + +staticlib: libtinyxml2.a + +libtinyxml2.a: tinyxml2.o + $(AR) $(ARFLAGS) $@ $^ + $(RANLIB) $@ + +tinyxml2.o: tinyxml2.cpp tinyxml2.h + +directories: + $(MKDIR) $(DESTDIR)$(prefix) + $(MKDIR) $(DESTDIR)$(bindir) + $(MKDIR) $(DESTDIR)$(libdir) + $(MKDIR) $(DESTDIR)$(includedir) + +# Standard GNU target. +install: xmltest staticlib directories + $(INSTALL_PROGRAM) xmltest $(DESTDIR)$(bindir)/xmltest + $(INSTALL_DATA) tinyxml2.h $(DESTDIR)$(includedir)/tinyxml2.h + $(INSTALL_DATA) libtinyxml2.a $(DESTDIR)$(libdir)/libtinyxml2.a + +# Standard GNU target +uninstall: + $(RM) $(DESTDIR)$(bindir)/xmltest + $(RM) $(DESTDIR)$(includedir)/tinyxml2.h + $(RM) $(DESTDIR)$(libdir)/libtinyxml2.a diff --git a/bfs/tools/tinyxml/TinyXML2_small.png b/bfs/tools/tinyxml/TinyXML2_small.png new file mode 100644 index 0000000..6e84b35 Binary files /dev/null and b/bfs/tools/tinyxml/TinyXML2_small.png differ diff --git a/bfs/tools/tinyxml/appveyor.yml b/bfs/tools/tinyxml/appveyor.yml new file mode 100644 index 0000000..0d5e86b --- /dev/null +++ b/bfs/tools/tinyxml/appveyor.yml @@ -0,0 +1,10 @@ +before_build: + - cmake . + +build_script: + - msbuild tinyxml2.sln /m /p:Configuration=Debug /t:ALL_BUILD + - msbuild tinyxml2.sln /m /p:Configuration=Release /t:ALL_BUILD + - cd %APPVEYOR_BUILD_FOLDER%\Debug + - xmltest.exe + - cd %APPVEYOR_BUILD_FOLDER%\Release + - xmltest.exe diff --git a/bfs/tools/tinyxml/biicode.conf b/bfs/tools/tinyxml/biicode.conf new file mode 100644 index 0000000..5dca6b1 --- /dev/null +++ b/bfs/tools/tinyxml/biicode.conf @@ -0,0 +1,7 @@ +# Biicode configuration file + +[paths] + / + +[dependencies] + xmltest.cpp + resources/*.xml \ No newline at end of file diff --git a/bfs/tools/tinyxml/cmake_uninstall.cmake.in b/bfs/tools/tinyxml/cmake_uninstall.cmake.in new file mode 100644 index 0000000..2c34c81 --- /dev/null +++ b/bfs/tools/tinyxml/cmake_uninstall.cmake.in @@ -0,0 +1,21 @@ +if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") +endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + +file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) +string(REGEX REPLACE "\n" ";" files "${files}") +foreach(file ${files}) + message(STATUS "Uninstalling $ENV{DESTDIR}${file}") + if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + exec_program( + "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + if(NOT "${rm_retval}" STREQUAL 0) + message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") + endif(NOT "${rm_retval}" STREQUAL 0) + else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + message(STATUS "File $ENV{DESTDIR}${file} does not exist.") + endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") +endforeach(file) \ No newline at end of file diff --git a/bfs/tools/tinyxml/contrib/html5-printer.cpp b/bfs/tools/tinyxml/contrib/html5-printer.cpp new file mode 100644 index 0000000..e9a423d --- /dev/null +++ b/bfs/tools/tinyxml/contrib/html5-printer.cpp @@ -0,0 +1,108 @@ +// g++ -Wall -O2 contrib/html5-printer.cpp -o html5-printer -ltinyxml2 + +// This program demonstrates how to use "tinyxml2" to generate conformant HTML5 +// by deriving from the "tinyxml2::XMLPrinter" class. + +// http://dev.w3.org/html5/markup/syntax.html + +// In HTML5, there are 16 so-called "void" elements. "void elements" NEVER have +// inner content (but they MAY have attributes), and are assumed to be self-closing. +// An example of a self-closig HTML5 element is "
" (line break) +// All other elements are called "non-void" and MUST never self-close. +// Examples: "
". + +// tinyxml2::XMLPrinter will emit _ALL_ XML elements with no inner content as +// self-closing. This behavior produces space-effeceint XML, but incorrect HTML5. + +// Author: Dennis Jenkins, dennis (dot) jenkins (dot) 75 (at) gmail (dot) com. +// License: Same as tinyxml2 (zlib, see below) +// This example is a small contribution to the world! Enjoy it! + +/* +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 "../tinyxml2.h" +#include + +#if defined (_MSC_VER) +#define strcasecmp stricmp +#endif + +using namespace tinyxml2; + +// Contrived input containing a mix of void and non-void HTML5 elements. +// When printed via XMLPrinter, some non-void elements will self-close (not valid HTML5). +static const char input[] = +"


©
"; + +// XMLPrinterHTML5 is small enough, just put the entire implementation inline. +class XMLPrinterHTML5 : public XMLPrinter +{ +public: + XMLPrinterHTML5 (FILE* file=0, bool compact = false, int depth = 0) : + XMLPrinter (file, compact, depth) + {} + +protected: + virtual void CloseElement () { + if (_elementJustOpened && !isVoidElement (_stack.PeekTop())) { + SealElementIfJustOpened(); + } + XMLPrinter::CloseElement(); + } + + virtual bool isVoidElement (const char *name) { +// Complete list of all HTML5 "void elements", +// http://dev.w3.org/html5/markup/syntax.html + static const char *list[] = { + "area", "base", "br", "col", "command", "embed", "hr", "img", + "input", "keygen", "link", "meta", "param", "source", "track", "wbr", + NULL + }; + +// I could use 'bsearch', but I don't have MSVC to test on (it would work with gcc/libc). + for (const char **p = list; *p; ++p) { + if (!strcasecmp (name, *p)) { + return true; + } + } + + return false; + } +}; + +int main (void) { + XMLDocument doc (false); + doc.Parse (input); + + std::cout << "INPUT:\n" << input << "\n\n"; + + XMLPrinter prn (NULL, true); + doc.Print (&prn); + std::cout << "XMLPrinter (not valid HTML5):\n" << prn.CStr() << "\n\n"; + + XMLPrinterHTML5 html5 (NULL, true); + doc.Print (&html5); + std::cout << "XMLPrinterHTML5:\n" << html5.CStr() << "\n"; + + return 0; +} diff --git a/bfs/tools/tinyxml/docs/_example_1.html b/bfs/tools/tinyxml/docs/_example_1.html new file mode 100644 index 0000000..17322ad --- /dev/null +++ b/bfs/tools/tinyxml/docs/_example_1.html @@ -0,0 +1,75 @@ + + + + + + + +TinyXML-2: Load an XML File + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Load an XML File
+
+
+
Basic XML file loading. The basic syntax to load an XML file from disk and check for an error. (ErrorID() will return 0 for no error.)
int example_1()
{
XMLDocument doc;
doc.LoadFile( "resources/dream.xml" );
return doc.ErrorID();
}

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/_example_2.html b/bfs/tools/tinyxml/docs/_example_2.html new file mode 100644 index 0000000..e5c0dd4 --- /dev/null +++ b/bfs/tools/tinyxml/docs/_example_2.html @@ -0,0 +1,75 @@ + + + + + + + +TinyXML-2: Parse an XML from char buffer + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Parse an XML from char buffer
+
+
+
Basic XML string parsing. The basic syntax to parse an XML for a char* and check for an error. (ErrorID() will return 0 for no error.)
int example_2()
{
static const char* xml = "<element/>";
XMLDocument doc;
doc.Parse( xml );
return doc.ErrorID();
}

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/_example_3.html b/bfs/tools/tinyxml/docs/_example_3.html new file mode 100644 index 0000000..31bb54b --- /dev/null +++ b/bfs/tools/tinyxml/docs/_example_3.html @@ -0,0 +1,104 @@ + + + + + + + +TinyXML-2: Get information out of XML + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Get information out of XML
+
+
+
In this example, we navigate a simple XML file, and read some interesting text. Note that this example doesn't use error checking; working code should check for null pointers when walking an XML tree, or use XMLHandle.

+

(The XML is an excerpt from "dream.xml").

+

int example_3()
{
static const char* xml =
"<?xml version=\"1.0\"?>"
"<!DOCTYPE PLAY SYSTEM \"play.dtd\">"
"<PLAY>"
"<TITLE>A Midsummer Night's Dream</TITLE>"
"</PLAY>";

+

The structure of the XML file is:

+
    +
  • +(declaration)
  • +
  • +(dtd stuff)
  • +
  • +Element "PLAY"
      +
    • +Element "TITLE"
        +
      • +Text "A Midsummer Night's Dream"
      • +
      +
    • +
    +
  • +
+

For this example, we want to print out the title of the play. The text of the title (what we want) is child of the "TITLE" element which is a child of the "PLAY" element.

+

We want to skip the declaration and dtd, so the method FirstChildElement() is a good choice. The FirstChildElement() of the Document is the "PLAY" Element, the FirstChildElement() of the "PLAY" Element is the "TITLE" Element.

+

XMLDocument doc;
doc.Parse( xml );
XMLElement* titleElement = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" );

+

We can then use the convenience function GetText() to get the title of the play.

+

const char* title = titleElement->GetText();
printf( "Name of play (1): %s\n", title );

+

Text is just another Node in the XML DOM. And in fact you should be a little cautious with it, as text nodes can contain elements.

+
Consider: A Midsummer Night's <b>Dream</b>
+

It is more correct to actually query the Text Node if in doubt:

+

XMLText* textNode = titleElement->FirstChild()->ToText();
title = textNode->Value();
printf( "Name of play (2): %s\n", title );

+

Noting that here we use FirstChild() since we are looking for XMLText, not an element, and ToText() is a cast from a Node to a XMLText.

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/_example_4.html b/bfs/tools/tinyxml/docs/_example_4.html new file mode 100644 index 0000000..e5c1c07 --- /dev/null +++ b/bfs/tools/tinyxml/docs/_example_4.html @@ -0,0 +1,81 @@ + + + + + + + +TinyXML-2: Read attributes and text information. + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Read attributes and text information.
+
+
+

There are fundamentally 2 ways of writing a key-value pair into an XML file. (Something that's always annoyed me about XML.) Either by using attributes, or by writing the key name into an element and the value into the text node wrapped by the element. Both approaches are illustrated in this example, which shows two ways to encode the value "2" into the key "v":

+

bool example_4()
{
static const char* xml =
"<information>"
" <attributeApproach v='2' />"
" <textApproach>"
" <v>2</v>"
" </textApproach>"
"</information>";

+

TinyXML-2 has accessors for both approaches.

+

When using an attribute, you navigate to the XMLElement with that attribute and use the QueryIntAttribute() group of methods. (Also QueryFloatAttribute(), etc.)

+

XMLElement* attributeApproachElement = doc.FirstChildElement()->FirstChildElement( "attributeApproach" );
attributeApproachElement->QueryIntAttribute( "v", &v0 );

+

When using the text approach, you need to navigate down one more step to the XMLElement that contains the text. Note the extra FirstChildElement( "v" ) in the code below. The value of the text can then be safely queried with the QueryIntText() group of methods. (Also QueryFloatText(), etc.)

+

XMLElement* textApproachElement = doc.FirstChildElement()->FirstChildElement( "textApproach" );
textApproachElement->FirstChildElement( "v" )->QueryIntText( &v1 );

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/annotated.html b/bfs/tools/tinyxml/docs/annotated.html new file mode 100644 index 0000000..ac85843 --- /dev/null +++ b/bfs/tools/tinyxml/docs/annotated.html @@ -0,0 +1,91 @@ + + + + + + + +TinyXML-2: Class List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + +
 Ntinyxml2
 CXMLAttribute
 CXMLComment
 CXMLConstHandle
 CXMLDeclaration
 CXMLDocument
 CXMLElement
 CXMLHandle
 CXMLNode
 CXMLPrinter
 CXMLText
 CXMLUnknown
 CXMLVisitor
+
+
+ + + + diff --git a/bfs/tools/tinyxml/docs/bc_s.png b/bfs/tools/tinyxml/docs/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/bfs/tools/tinyxml/docs/bc_s.png differ diff --git a/bfs/tools/tinyxml/docs/bdwn.png b/bfs/tools/tinyxml/docs/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/bfs/tools/tinyxml/docs/bdwn.png differ diff --git a/bfs/tools/tinyxml/docs/classes.html b/bfs/tools/tinyxml/docs/classes.html new file mode 100644 index 0000000..efaf47a --- /dev/null +++ b/bfs/tools/tinyxml/docs/classes.html @@ -0,0 +1,83 @@ + + + + + + + +TinyXML-2: Class Index + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+ + + + + + +
  x  
+
XMLComment (tinyxml2)   XMLDocument (tinyxml2)   XMLNode (tinyxml2)   XMLUnknown (tinyxml2)   
XMLConstHandle (tinyxml2)   XMLElement (tinyxml2)   XMLPrinter (tinyxml2)   XMLVisitor (tinyxml2)   
XMLAttribute (tinyxml2)   XMLDeclaration (tinyxml2)   XMLHandle (tinyxml2)   XMLText (tinyxml2)   
+ +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute-members.html new file mode 100644 index 0000000..8a9acc3 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute-members.html @@ -0,0 +1,103 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLAttribute Member List
+
+ + + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute.html new file mode 100644 index 0000000..b3e4f15 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_attribute.html @@ -0,0 +1,223 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLAttribute Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLAttribute Class Reference
+
+
+ +

#include <tinyxml2.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+const char * Name () const
 The name of the attribute.
 
+const char * Value () const
 The value of the attribute.
 
+int GetLineNum () const
 Gets the line number the attribute is in, if the document was parsed from a file.
 
+const XMLAttributeNext () const
 The next attribute in the list.
 
int IntValue () const
 
+unsigned UnsignedValue () const
 Query as an unsigned integer. See IntValue()
 
+bool BoolValue () const
 Query as a boolean. See IntValue()
 
+double DoubleValue () const
 Query as a double. See IntValue()
 
+float FloatValue () const
 Query as a float. See IntValue()
 
XMLError QueryIntValue (int *value) const
 
+XMLError QueryUnsignedValue (unsigned int *value) const
 See QueryIntValue.
 
+XMLError QueryInt64Value (int64_t *value) const
 See QueryIntValue.
 
+XMLError QueryBoolValue (bool *value) const
 See QueryIntValue.
 
+XMLError QueryDoubleValue (double *value) const
 See QueryIntValue.
 
+XMLError QueryFloatValue (float *value) const
 See QueryIntValue.
 
+void SetAttribute (const char *value)
 Set the attribute to a string value.
 
+void SetAttribute (int value)
 Set the attribute to value.
 
+void SetAttribute (unsigned value)
 Set the attribute to value.
 
+void SetAttribute (int64_t value)
 Set the attribute to value.
 
+void SetAttribute (bool value)
 Set the attribute to value.
 
+void SetAttribute (double value)
 Set the attribute to value.
 
+void SetAttribute (float value)
 Set the attribute to value.
 
+

Detailed Description

+

An attribute is a name-value pair. Elements have an arbitrary number of attributes, each with a unique name.

+
Note
The attributes are not XMLNodes. You may only query the Next() attribute in a list.
+

Member Function Documentation

+ +

◆ IntValue()

+ +
+
+ + + + + +
+ + + + + + + +
int tinyxml2::XMLAttribute::IntValue () const
+
+inline
+
+

IntValue interprets the attribute as an integer, and returns the value. If the value isn't an integer, 0 will be returned. There is no error checking; use QueryIntValue() if you need error checking.

+ +
+
+ +

◆ QueryIntValue()

+ +
+
+ + + + + + + + +
XMLError tinyxml2::XMLAttribute::QueryIntValue (int * value) const
+
+

QueryIntValue interprets the attribute as an integer, and returns the value in the provided parameter. The function will return XML_SUCCESS on success, and XML_WRONG_ATTRIBUTE_TYPE if the conversion is not successful.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment-members.html new file mode 100644 index 0000000..404cd26 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment-members.html @@ -0,0 +1,113 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLComment Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLComment, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLCommentvirtual
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) consttinyxml2::XMLCommentvirtual
ShallowEqual(const XMLNode *compare) consttinyxml2::XMLCommentvirtual
ToComment()tinyxml2::XMLCommentinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.html new file mode 100644 index 0000000..669db46 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.html @@ -0,0 +1,300 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLComment Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLComment Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLComment:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
virtual bool Accept (XMLVisitor *visitor) const
 
virtual XMLNodeShallowClone (XMLDocument *document) const
 
virtual bool ShallowEqual (const XMLNode *compare) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

An XML Comment.

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLComment::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLComment::ShallowClone (XMLDocumentdocument) const
+
+virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLComment::ShallowEqual (const XMLNodecompare) const
+
+virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.png new file mode 100644 index 0000000..3a076f0 Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_comment.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle-members.html new file mode 100644 index 0000000..50c3c53 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle-members.html @@ -0,0 +1,81 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLConstHandle Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLConstHandle, including all inherited members.

+ +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle.html new file mode 100644 index 0000000..031e256 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_const_handle.html @@ -0,0 +1,87 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLConstHandle Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLConstHandle Class Reference
+
+
+ +

#include <tinyxml2.h>

+

Detailed Description

+

A variant of the XMLHandle class for working with const XMLNodes and Documents. It is the same in all regards, except for the 'const' qualifiers. See XMLHandle for API.

+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration-members.html new file mode 100644 index 0000000..2a4e776 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration-members.html @@ -0,0 +1,113 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLDeclaration Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLDeclaration, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLDeclarationvirtual
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) consttinyxml2::XMLDeclarationvirtual
ShallowEqual(const XMLNode *compare) consttinyxml2::XMLDeclarationvirtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLDeclarationinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.html new file mode 100644 index 0000000..f50306b --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.html @@ -0,0 +1,302 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLDeclaration Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLDeclaration Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLDeclaration:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
virtual bool Accept (XMLVisitor *visitor) const
 
virtual XMLNodeShallowClone (XMLDocument *document) const
 
virtual bool ShallowEqual (const XMLNode *compare) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

In correct XML the declaration is the first entry in the file.

    <?xml version="1.0" standalone="yes"?>
+

TinyXML-2 will happily read or write files without a declaration, however.

+

The text of the declaration isn't interpreted. It is parsed and written as a string.

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLDeclaration::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLDeclaration::ShallowClone (XMLDocumentdocument) const
+
+virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLDeclaration::ShallowEqual (const XMLNodecompare) const
+
+virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.png new file mode 100644 index 0000000..c7aa631 Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_declaration.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document-members.html new file mode 100644 index 0000000..ffac062 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document-members.html @@ -0,0 +1,136 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLDocument Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLDocument, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLDocumentvirtual
Clear()tinyxml2::XMLDocument
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeepCopy(XMLDocument *target) consttinyxml2::XMLDocument
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
DeleteNode(XMLNode *node)tinyxml2::XMLDocument
Error() consttinyxml2::XMLDocumentinline
ErrorID() consttinyxml2::XMLDocumentinline
ErrorLineNum() consttinyxml2::XMLDocumentinline
ErrorStr() consttinyxml2::XMLDocument
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
HasBOM() consttinyxml2::XMLDocumentinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
LoadFile(const char *filename)tinyxml2::XMLDocument
LoadFile(FILE *)tinyxml2::XMLDocument
NewComment(const char *comment)tinyxml2::XMLDocument
NewDeclaration(const char *text=0)tinyxml2::XMLDocument
NewElement(const char *name)tinyxml2::XMLDocument
NewText(const char *text)tinyxml2::XMLDocument
NewUnknown(const char *text)tinyxml2::XMLDocument
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
Parse(const char *xml, size_t nBytes=(size_t)(-1))tinyxml2::XMLDocument
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
Print(XMLPrinter *streamer=0) consttinyxml2::XMLDocument
PrintError() consttinyxml2::XMLDocument
RootElement()tinyxml2::XMLDocumentinline
SaveFile(const char *filename, bool compact=false)tinyxml2::XMLDocument
SaveFile(FILE *fp, bool compact=false)tinyxml2::XMLDocument
SetBOM(bool useBOM)tinyxml2::XMLDocumentinline
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *) consttinyxml2::XMLDocumentinlinevirtual
ShallowEqual(const XMLNode *) consttinyxml2::XMLDocumentinlinevirtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLDocumentinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
Value() consttinyxml2::XMLNode
XMLDocument(bool processEntities=true, Whitespace whitespaceMode=PRESERVE_WHITESPACE)tinyxml2::XMLDocument
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.html new file mode 100644 index 0000000..c3e43c4 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.html @@ -0,0 +1,742 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLDocument Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLDocument Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLDocument:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

XMLDocument (bool processEntities=true, Whitespace whitespaceMode=PRESERVE_WHITESPACE)
 constructor
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
XMLError Parse (const char *xml, size_t nBytes=(size_t)(-1))
 
XMLError LoadFile (const char *filename)
 
XMLError LoadFile (FILE *)
 
XMLError SaveFile (const char *filename, bool compact=false)
 
XMLError SaveFile (FILE *fp, bool compact=false)
 
bool HasBOM () const
 
void SetBOM (bool useBOM)
 
XMLElementRootElement ()
 
void Print (XMLPrinter *streamer=0) const
 
virtual bool Accept (XMLVisitor *visitor) const
 
XMLElementNewElement (const char *name)
 
XMLCommentNewComment (const char *comment)
 
XMLTextNewText (const char *text)
 
XMLDeclarationNewDeclaration (const char *text=0)
 
XMLUnknownNewUnknown (const char *text)
 
void DeleteNode (XMLNode *node)
 
+bool Error () const
 Return true if there was an error parsing the document.
 
+XMLError ErrorID () const
 Return the errorID.
 
const char * ErrorStr () const
 
+void PrintError () const
 A (trivial) utility function that prints the ErrorStr() to stdout.
 
+int ErrorLineNum () const
 Return the line where the error occurred, or zero if unknown.
 
+void Clear ()
 Clear the document, resetting it to the initial state.
 
void DeepCopy (XMLDocument *target) const
 
virtual XMLNodeShallowClone (XMLDocument *) const
 
virtual bool ShallowEqual (const XMLNode *) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

A Document binds together all the functionality. It can be saved, loaded, and printed to the screen. All Nodes are connected and allocated to a Document. If the Document is deleted, all its Nodes are also deleted.

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLDocument::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ DeepCopy()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLDocument::DeepCopy (XMLDocumenttarget) const
+
+

Copies this document to a target document. The target will be completely cleared before the copy. If you want to copy a sub-tree, see XMLNode::DeepClone().

+

NOTE: that the 'target' must be non-null.

+ +
+
+ +

◆ DeleteNode()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLDocument::DeleteNode (XMLNodenode)
+
+

Delete a node associated with this document. It will be unlinked from the DOM.

+ +
+
+ +

◆ ErrorStr()

+ +
+
+ + + + + + + +
const char* tinyxml2::XMLDocument::ErrorStr () const
+
+

Returns a "long form" error description. A hopefully helpful diagnostic with location, line number, and/or additional info.

+ +
+
+ +

◆ HasBOM()

+ +
+
+ + + + + +
+ + + + + + + +
bool tinyxml2::XMLDocument::HasBOM () const
+
+inline
+
+

Returns true if this document has a leading Byte Order Mark of UTF8.

+ +
+
+ +

◆ LoadFile() [1/2]

+ +
+
+ + + + + + + + +
XMLError tinyxml2::XMLDocument::LoadFile (const char * filename)
+
+

Load an XML file from disk. Returns XML_SUCCESS (0) on success, or an errorID.

+ +
+
+ +

◆ LoadFile() [2/2]

+ +
+
+ + + + + + + + +
XMLError tinyxml2::XMLDocument::LoadFile (FILE * )
+
+

Load an XML file from disk. You are responsible for providing and closing the FILE*.

+

NOTE: The file should be opened as binary ("rb") not text in order for TinyXML-2 to correctly do newline normalization.

+

Returns XML_SUCCESS (0) on success, or an errorID.

+ +
+
+ +

◆ NewComment()

+ +
+
+ + + + + + + + +
XMLComment* tinyxml2::XMLDocument::NewComment (const char * comment)
+
+

Create a new Comment associated with this Document. The memory for the Comment is managed by the Document.

+ +
+
+ +

◆ NewDeclaration()

+ +
+
+ + + + + + + + +
XMLDeclaration* tinyxml2::XMLDocument::NewDeclaration (const char * text = 0)
+
+

Create a new Declaration associated with this Document. The memory for the object is managed by the Document.

+

If the 'text' param is null, the standard declaration is used.:

    <?xml version="1.0" encoding="UTF-8"?>
+
+
+
+ +

◆ NewElement()

+ +
+
+ + + + + + + + +
XMLElement* tinyxml2::XMLDocument::NewElement (const char * name)
+
+

Create a new Element associated with this Document. The memory for the Element is managed by the Document.

+ +
+
+ +

◆ NewText()

+ +
+
+ + + + + + + + +
XMLText* tinyxml2::XMLDocument::NewText (const char * text)
+
+

Create a new Text associated with this Document. The memory for the Text is managed by the Document.

+ +
+
+ +

◆ NewUnknown()

+ +
+
+ + + + + + + + +
XMLUnknown* tinyxml2::XMLDocument::NewUnknown (const char * text)
+
+

Create a new Unknown associated with this Document. The memory for the object is managed by the Document.

+ +
+
+ +

◆ Parse()

+ +
+
+ + + + + + + + + + + + + + + + + + +
XMLError tinyxml2::XMLDocument::Parse (const char * xml,
size_t nBytes = (size_t)(-1) 
)
+
+

Parse an XML file from a character string. Returns XML_SUCCESS (0) on success, or an errorID.

+

You may optionally pass in the 'nBytes', which is the number of bytes which will be parsed. If not specified, TinyXML-2 will assume 'xml' points to a null terminated string.

+ +
+
+ +

◆ Print()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLDocument::Print (XMLPrinterstreamer = 0) const
+
+

Print the Document. If the Printer is not provided, it will print to stdout. If you provide Printer, this can print to a file:

XMLPrinter printer( fp );
+doc.Print( &printer );
+

Or you can use a printer to print to memory:

XMLPrinter printer;
+doc.Print( &printer );
+// printer.CStr() has a const char* to the XML
+
+
+
+ +

◆ RootElement()

+ +
+
+ + + + + +
+ + + + + + + +
XMLElement* tinyxml2::XMLDocument::RootElement ()
+
+inline
+
+

Return the root element of DOM. Equivalent to FirstChildElement(). To get the first node, use FirstChild().

+ +
+
+ +

◆ SaveFile() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
XMLError tinyxml2::XMLDocument::SaveFile (const char * filename,
bool compact = false 
)
+
+

Save the XML file to disk. Returns XML_SUCCESS (0) on success, or an errorID.

+ +
+
+ +

◆ SaveFile() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
XMLError tinyxml2::XMLDocument::SaveFile (FILE * fp,
bool compact = false 
)
+
+

Save the XML file to disk. You are responsible for providing and closing the FILE*.

+

Returns XML_SUCCESS (0) on success, or an errorID.

+ +
+
+ +

◆ SetBOM()

+ +
+
+ + + + + +
+ + + + + + + + +
void tinyxml2::XMLDocument::SetBOM (bool useBOM)
+
+inline
+
+

Sets whether to write the BOM when writing the file.

+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLDocument::ShallowClone (XMLDocumentdocument) const
+
+inlinevirtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLDocument::ShallowEqual (const XMLNodecompare) const
+
+inlinevirtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.png new file mode 100644 index 0000000..4fcf9f4 Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_document.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element-members.html new file mode 100644 index 0000000..b70b08b --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element-members.html @@ -0,0 +1,159 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLElement Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLElement, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLElementvirtual
Attribute(const char *name, const char *value=0) consttinyxml2::XMLElement
BoolAttribute(const char *name, bool defaultValue=false) consttinyxml2::XMLElement
BoolText(bool defaultValue=false) consttinyxml2::XMLElement
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteAttribute(const char *name)tinyxml2::XMLElement
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
DoubleAttribute(const char *name, double defaultValue=0) consttinyxml2::XMLElement
DoubleText(double defaultValue=0) consttinyxml2::XMLElement
FindAttribute(const char *name) consttinyxml2::XMLElement
FirstAttribute() consttinyxml2::XMLElementinline
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
FloatAttribute(const char *name, float defaultValue=0) consttinyxml2::XMLElement
FloatText(float defaultValue=0) consttinyxml2::XMLElement
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetText() consttinyxml2::XMLElement
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
Int64Attribute(const char *name, int64_t defaultValue=0) consttinyxml2::XMLElement
Int64Text(int64_t defaultValue=0) consttinyxml2::XMLElement
IntAttribute(const char *name, int defaultValue=0) consttinyxml2::XMLElement
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
Name() consttinyxml2::XMLElementinline
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
QueryAttribute(const char *name, int *value) consttinyxml2::XMLElementinline
QueryBoolAttribute(const char *name, bool *value) consttinyxml2::XMLElementinline
QueryBoolText(bool *bval) consttinyxml2::XMLElement
QueryDoubleAttribute(const char *name, double *value) consttinyxml2::XMLElementinline
QueryDoubleText(double *dval) consttinyxml2::XMLElement
QueryFloatAttribute(const char *name, float *value) consttinyxml2::XMLElementinline
QueryFloatText(float *fval) consttinyxml2::XMLElement
QueryInt64Attribute(const char *name, int64_t *value) consttinyxml2::XMLElementinline
QueryInt64Text(int64_t *uval) consttinyxml2::XMLElement
QueryIntAttribute(const char *name, int *value) consttinyxml2::XMLElementinline
QueryIntText(int *ival) consttinyxml2::XMLElement
QueryStringAttribute(const char *name, const char **value) consttinyxml2::XMLElementinline
QueryUnsignedAttribute(const char *name, unsigned int *value) consttinyxml2::XMLElementinline
QueryUnsignedText(unsigned *uval) consttinyxml2::XMLElement
SetAttribute(const char *name, const char *value)tinyxml2::XMLElementinline
SetAttribute(const char *name, int value)tinyxml2::XMLElementinline
SetAttribute(const char *name, unsigned value)tinyxml2::XMLElementinline
SetAttribute(const char *name, int64_t value)tinyxml2::XMLElementinline
SetAttribute(const char *name, bool value)tinyxml2::XMLElementinline
SetAttribute(const char *name, double value)tinyxml2::XMLElementinline
SetAttribute(const char *name, float value)tinyxml2::XMLElementinline
SetName(const char *str, bool staticMem=false)tinyxml2::XMLElementinline
SetText(const char *inText)tinyxml2::XMLElement
SetText(int value)tinyxml2::XMLElement
SetText(unsigned value)tinyxml2::XMLElement
SetText(int64_t value)tinyxml2::XMLElement
SetText(bool value)tinyxml2::XMLElement
SetText(double value)tinyxml2::XMLElement
SetText(float value)tinyxml2::XMLElement
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) consttinyxml2::XMLElementvirtual
ShallowEqual(const XMLNode *compare) consttinyxml2::XMLElementvirtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLElementinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
UnsignedAttribute(const char *name, unsigned defaultValue=0) consttinyxml2::XMLElement
UnsignedText(unsigned defaultValue=0) consttinyxml2::XMLElement
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.html new file mode 100644 index 0000000..4d1d9c2 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.html @@ -0,0 +1,712 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLElement Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLElement Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLElement:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+const char * Name () const
 Get the name of an element (which is the Value() of the node.)
 
+void SetName (const char *str, bool staticMem=false)
 Set the name of the element.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
virtual bool Accept (XMLVisitor *visitor) const
 
const char * Attribute (const char *name, const char *value=0) const
 
int IntAttribute (const char *name, int defaultValue=0) const
 
+unsigned UnsignedAttribute (const char *name, unsigned defaultValue=0) const
 See IntAttribute()
 
+int64_t Int64Attribute (const char *name, int64_t defaultValue=0) const
 See IntAttribute()
 
+bool BoolAttribute (const char *name, bool defaultValue=false) const
 See IntAttribute()
 
+double DoubleAttribute (const char *name, double defaultValue=0) const
 See IntAttribute()
 
+float FloatAttribute (const char *name, float defaultValue=0) const
 See IntAttribute()
 
XMLError QueryIntAttribute (const char *name, int *value) const
 
+XMLError QueryUnsignedAttribute (const char *name, unsigned int *value) const
 See QueryIntAttribute()
 
+XMLError QueryInt64Attribute (const char *name, int64_t *value) const
 See QueryIntAttribute()
 
+XMLError QueryBoolAttribute (const char *name, bool *value) const
 See QueryIntAttribute()
 
+XMLError QueryDoubleAttribute (const char *name, double *value) const
 See QueryIntAttribute()
 
+XMLError QueryFloatAttribute (const char *name, float *value) const
 See QueryIntAttribute()
 
+XMLError QueryStringAttribute (const char *name, const char **value) const
 See QueryIntAttribute()
 
XMLError QueryAttribute (const char *name, int *value) const
 
+void SetAttribute (const char *name, const char *value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, int value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, unsigned value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, int64_t value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, bool value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, double value)
 Sets the named attribute to value.
 
+void SetAttribute (const char *name, float value)
 Sets the named attribute to value.
 
void DeleteAttribute (const char *name)
 
+const XMLAttributeFirstAttribute () const
 Return the first attribute in the list.
 
+const XMLAttributeFindAttribute (const char *name) const
 Query a specific attribute in the list.
 
const char * GetText () const
 
void SetText (const char *inText)
 
+void SetText (int value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
+void SetText (unsigned value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
+void SetText (int64_t value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
+void SetText (bool value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
+void SetText (double value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
+void SetText (float value)
 Convenience method for setting text inside an element. See SetText() for important limitations.
 
XMLError QueryIntText (int *ival) const
 
+XMLError QueryUnsignedText (unsigned *uval) const
 See QueryIntText()
 
+XMLError QueryInt64Text (int64_t *uval) const
 See QueryIntText()
 
+XMLError QueryBoolText (bool *bval) const
 See QueryIntText()
 
+XMLError QueryDoubleText (double *dval) const
 See QueryIntText()
 
+XMLError QueryFloatText (float *fval) const
 See QueryIntText()
 
+unsigned UnsignedText (unsigned defaultValue=0) const
 See QueryIntText()
 
+int64_t Int64Text (int64_t defaultValue=0) const
 See QueryIntText()
 
+bool BoolText (bool defaultValue=false) const
 See QueryIntText()
 
+double DoubleText (double defaultValue=0) const
 See QueryIntText()
 
+float FloatText (float defaultValue=0) const
 See QueryIntText()
 
virtual XMLNodeShallowClone (XMLDocument *document) const
 
virtual bool ShallowEqual (const XMLNode *compare) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

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.

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLElement::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ Attribute()

+ +
+
+ + + + + + + + + + + + + + + + + + +
const char* tinyxml2::XMLElement::Attribute (const char * name,
const char * value = 0 
) const
+
+

Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. For example:

+
const char* value = ele->Attribute( "foo" );
+

The 'value' parameter is normally null. However, if specified, the attribute will only be returned if the 'name' and 'value' match. This allow you to write code:

+
if ( ele->Attribute( "foo", "bar" ) ) callFooIsBar();
+

rather than:

if ( ele->Attribute( "foo" ) ) {
+    if ( strcmp( ele->Attribute( "foo" ), "bar" ) == 0 ) callFooIsBar();
+}
+
+
+
+ +

◆ DeleteAttribute()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLElement::DeleteAttribute (const char * name)
+
+

Delete an attribute.

+ +
+
+ +

◆ GetText()

+ +
+
+ + + + + + + +
const char* tinyxml2::XMLElement::GetText () const
+
+

Convenience function for easy access to the text inside an element. Although easy and concise, GetText() is limited compared to getting the XMLText child and accessing it directly.

+

If the first child of 'this' is a XMLText, 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:

<foo>This is text</foo>
+    const char* str = fooElement->GetText();
+

'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:

    <foo><b>This is text</b></foo>
+

then the value of str would be null. The first child node isn't a text node, it is another element. From this XML:

    <foo>This is <b>text</b></foo>
+

GetText() will return "This is ".

+ +
+
+ +

◆ IntAttribute()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int tinyxml2::XMLElement::IntAttribute (const char * name,
int defaultValue = 0 
) const
+
+

Given an attribute name, IntAttribute() returns the value of the attribute interpreted as an integer. The default value will be returned if the attribute isn't present, or if there is an error. (For a method with error checking, see QueryIntAttribute()).

+ +
+
+ +

◆ QueryAttribute()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
XMLError tinyxml2::XMLElement::QueryAttribute (const char * name,
int * value 
) const
+
+inline
+
+

Given an attribute name, QueryAttribute() returns XML_SUCCESS, XML_WRONG_ATTRIBUTE_TYPE if the conversion can't be performed, or XML_NO_ATTRIBUTE if the attribute doesn't exist. It is overloaded for the primitive types, and is a generally more convenient replacement of QueryIntAttribute() and related functions.

+

If successful, the result of the conversion will be written to 'value'. If not successful, nothing will be written to 'value'. This allows you to provide default value:

+
int value = 10;
+QueryAttribute( "foo", &value );        // if "foo" isn't found, value will still be 10
+
+
+
+ +

◆ QueryIntAttribute()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
XMLError tinyxml2::XMLElement::QueryIntAttribute (const char * name,
int * value 
) const
+
+inline
+
+

Given an attribute name, QueryIntAttribute() returns XML_SUCCESS, XML_WRONG_ATTRIBUTE_TYPE if the conversion can't be performed, or XML_NO_ATTRIBUTE if the attribute doesn't exist. If successful, the result of the conversion will be written to 'value'. If not successful, nothing will be written to 'value'. This allows you to provide default value:

+
int value = 10;
+QueryIntAttribute( "foo", &value );     // if "foo" isn't found, value will still be 10
+
+
+
+ +

◆ QueryIntText()

+ +
+
+ + + + + + + + +
XMLError tinyxml2::XMLElement::QueryIntText (int * ival) const
+
+

Convenience method to query the value of a child text node. This is probably best shown by example. Given you have a document is this form:

    <point>
+        <x>1</x>
+        <y>1.4</y>
+    </point>
+

The QueryIntText() and similar functions provide a safe and easier way to get to the "value" of x and y.

+
    int x = 0;
+    float y = 0;    // types of x and y are contrived for example
+    const XMLElement* xElement = pointElement->FirstChildElement( "x" );
+    const XMLElement* yElement = pointElement->FirstChildElement( "y" );
+    xElement->QueryIntText( &x );
+    yElement->QueryFloatText( &y );
+
Returns
XML_SUCCESS (0) on success, XML_CAN_NOT_CONVERT_TEXT if the text cannot be converted to the requested type, and XML_NO_TEXT_NODE if there is no child text to query.
+ +
+
+ +

◆ SetText()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLElement::SetText (const char * inText)
+
+

Convenience function for easy access to the text inside an element. Although easy and concise, SetText() is limited compared to creating an XMLText child and mutating it directly.

+

If the first child of 'this' is a XMLText, SetText() sets its value to the given string, otherwise it will create a first child that is an XMLText.

+

This is a convenient method for setting the text of simple contained text:

<foo>This is text</foo>
+    fooElement->SetText( "Hullaballoo!" );
+<foo>Hullaballoo!</foo>
+

Note that this function can be misleading. If the element foo was created from this XML:

    <foo><b>This is text</b></foo>
+

then it will not change "This is text", but rather prefix it with a text element:

    <foo>Hullaballoo!<b>This is text</b></foo>
+

For this XML:

    <foo />
+

SetText() will generate

    <foo>Hullaballoo!</foo>
+
+
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLElement::ShallowClone (XMLDocumentdocument) const
+
+virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLElement::ShallowEqual (const XMLNodecompare) const
+
+virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.png new file mode 100644 index 0000000..b76dc5b Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_element.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle-members.html new file mode 100644 index 0000000..6b952a5 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle-members.html @@ -0,0 +1,98 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLHandle Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLHandle, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
FirstChild()tinyxml2::XMLHandleinline
FirstChildElement(const char *name=0)tinyxml2::XMLHandleinline
LastChild()tinyxml2::XMLHandleinline
LastChildElement(const char *name=0)tinyxml2::XMLHandleinline
NextSibling()tinyxml2::XMLHandleinline
NextSiblingElement(const char *name=0)tinyxml2::XMLHandleinline
operator=(const XMLHandle &ref)tinyxml2::XMLHandleinline
PreviousSibling()tinyxml2::XMLHandleinline
PreviousSiblingElement(const char *name=0)tinyxml2::XMLHandleinline
ToDeclaration()tinyxml2::XMLHandleinline
ToElement()tinyxml2::XMLHandleinline
ToNode()tinyxml2::XMLHandleinline
ToText()tinyxml2::XMLHandleinline
ToUnknown()tinyxml2::XMLHandleinline
XMLHandle(XMLNode *node)tinyxml2::XMLHandleinlineexplicit
XMLHandle(XMLNode &node)tinyxml2::XMLHandleinlineexplicit
XMLHandle(const XMLHandle &ref)tinyxml2::XMLHandleinline
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle.html new file mode 100644 index 0000000..6a5cc42 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_handle.html @@ -0,0 +1,189 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLHandle Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLHandle Class Reference
+
+
+ +

#include <tinyxml2.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer.
 
XMLHandle (XMLNode &node)
 Create a handle from a node.
 
XMLHandle (const XMLHandle &ref)
 Copy constructor.
 
+XMLHandleoperator= (const XMLHandle &ref)
 Assignment.
 
+XMLHandle FirstChild ()
 Get the first child of this handle.
 
+XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle.
 
+XMLHandle LastChild ()
 Get the last child of this handle.
 
+XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle.
 
+XMLHandle PreviousSibling ()
 Get the previous sibling of this handle.
 
+XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle.
 
+XMLHandle NextSibling ()
 Get the next sibling of this handle.
 
+XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle.
 
+XMLNodeToNode ()
 Safe cast to XMLNode. This can return null.
 
+XMLElementToElement ()
 Safe cast to XMLElement. This can return null.
 
+XMLTextToText ()
 Safe cast to XMLText. This can return null.
 
+XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null.
 
+XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null.
 
+

Detailed Description

+

A XMLHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. Note that XMLHandle is not part of the TinyXML-2 DOM structure. It is a separate utility class.

+

Take an example:

<Document>
+    <Element attributeA = "valueA">
+        <Child attributeB = "value1" />
+        <Child attributeB = "value2" />
+    </Element>
+</Document>
+

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:

+
XMLElement* root = document.FirstChildElement( "Document" );
+if ( root )
+{
+    XMLElement* element = root->FirstChildElement( "Element" );
+    if ( element )
+    {
+        XMLElement* child = element->FirstChildElement( "Child" );
+        if ( child )
+        {
+            XMLElement* child2 = child->NextSiblingElement( "Child" );
+            if ( child2 )
+            {
+                // Finally do something useful.
+

And that doesn't even cover "else" cases. XMLHandle addresses the verbosity of such code. A XMLHandle checks for null pointers so it is perfectly safe and correct to use:

+
XMLHandle docHandle( &document );
+XMLElement* child2 = docHandle.FirstChildElement( "Document" ).FirstChildElement( "Element" ).FirstChildElement().NextSiblingElement();
+if ( child2 )
+{
+    // do something useful
+

Which is MUCH more concise and useful.

+

It is also safe to copy handles - internally they are nothing more than node pointers.

XMLHandle handleCopy = handle;
+

See also XMLConstHandle, which is the same as XMLHandle, but operates on const objects.

+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node-members.html new file mode 100644 index 0000000..aa89862 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node-members.html @@ -0,0 +1,113 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLNode Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLNode, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) const =0tinyxml2::XMLNodepure virtual
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) const =0tinyxml2::XMLNodepure virtual
ShallowEqual(const XMLNode *compare) const =0tinyxml2::XMLNodepure virtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.html new file mode 100644 index 0000000..185b4ad --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.html @@ -0,0 +1,581 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLNode Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLNode Class Referenceabstract
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLNode:
+
+
+ + +tinyxml2::XMLComment +tinyxml2::XMLDeclaration +tinyxml2::XMLDocument +tinyxml2::XMLElement +tinyxml2::XMLText +tinyxml2::XMLUnknown + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
virtual XMLNodeShallowClone (XMLDocument *document) const =0
 
XMLNodeDeepClone (XMLDocument *target) const
 
virtual bool ShallowEqual (const XMLNode *compare) const =0
 
virtual bool Accept (XMLVisitor *visitor) const =0
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

XMLNode is a base class for every object that is in the XML Document Object Model (DOM), except XMLAttributes. Nodes have siblings, a parent, and children which can be navigated. A node is always in a XMLDocument. The type of a XMLNode can be queried, and it can be cast to its more defined type.

+

A XMLDocument allocates memory for all its Nodes. When the XMLDocument gets deleted, all its Nodes will also be deleted.

+
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)

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLNode::Accept (XMLVisitorvisitor) const
+
+pure virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implemented in tinyxml2::XMLDocument, tinyxml2::XMLElement, tinyxml2::XMLUnknown, tinyxml2::XMLDeclaration, tinyxml2::XMLComment, and tinyxml2::XMLText.

+ +
+
+ +

◆ DeepClone()

+ +
+
+ + + + + + + + +
XMLNode* tinyxml2::XMLNode::DeepClone (XMLDocumenttarget) const
+
+

Make a copy of this node and all its children.

+

If the 'target' is null, then the nodes will be allocated in the current document. If 'target' is specified, the memory will be allocated is the specified XMLDocument.

+

NOTE: This is probably not the correct tool to copy a document, since XMLDocuments can have multiple top level XMLNodes. You probably want to use XMLDocument::DeepCopy()

+ +
+
+ +

◆ DeleteChild()

+ +
+
+ + + + + + + + +
void tinyxml2::XMLNode::DeleteChild (XMLNodenode)
+
+

Delete a child of this node.

+ +
+
+ +

◆ DeleteChildren()

+ +
+
+ + + + + + + +
void tinyxml2::XMLNode::DeleteChildren ()
+
+

Delete all the children of this node.

+ +
+
+ +

◆ FirstChildElement()

+ +
+
+ + + + + + + + +
const XMLElement* tinyxml2::XMLNode::FirstChildElement (const char * name = 0) const
+
+

Get the first child element, or optionally the first child element with the specified name.

+ +
+
+ +

◆ GetUserData()

+ +
+
+ + + + + +
+ + + + + + + +
void* tinyxml2::XMLNode::GetUserData () const
+
+inline
+
+

Get user data set into the XMLNode. TinyXML-2 in no way processes or interprets user data. It is initially 0.

+ +
+
+ +

◆ InsertAfterChild()

+ +
+
+ + + + + + + + + + + + + + + + + + +
XMLNode* tinyxml2::XMLNode::InsertAfterChild (XMLNodeafterThis,
XMLNodeaddThis 
)
+
+

Add a node after the specified child node. If the child node is already part of the document, it is moved from its old location to the new location. Returns the addThis argument or 0 if the afterThis node is not a child of this node, or if the node does not belong to the same document.

+ +
+
+ +

◆ InsertEndChild()

+ +
+
+ + + + + + + + +
XMLNode* tinyxml2::XMLNode::InsertEndChild (XMLNodeaddThis)
+
+

Add a child node as the last (right) child. If the child node is already part of the document, it is moved from its old location to the new location. Returns the addThis argument or 0 if the node does not belong to the same document.

+ +
+
+ +

◆ InsertFirstChild()

+ +
+
+ + + + + + + + +
XMLNode* tinyxml2::XMLNode::InsertFirstChild (XMLNodeaddThis)
+
+

Add a child node as the first (left) child. If the child node is already part of the document, it is moved from its old location to the new location. Returns the addThis argument or 0 if the node does not belong to the same document.

+ +
+
+ +

◆ LastChildElement()

+ +
+
+ + + + + + + + +
const XMLElement* tinyxml2::XMLNode::LastChildElement (const char * name = 0) const
+
+

Get the last child element or optionally the last child element with the specified name.

+ +
+
+ +

◆ SetUserData()

+ +
+
+ + + + + +
+ + + + + + + + +
void tinyxml2::XMLNode::SetUserData (void * userData)
+
+inline
+
+

Set user data into the XMLNode. TinyXML-2 in no way processes or interprets user data. It is initially 0.

+ +
+
+ +

◆ SetValue()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void tinyxml2::XMLNode::SetValue (const char * val,
bool staticMem = false 
)
+
+

Set the Value of an XML node.

See also
Value()
+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLNode::ShallowClone (XMLDocumentdocument) const
+
+pure virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implemented in tinyxml2::XMLDocument, tinyxml2::XMLElement, tinyxml2::XMLUnknown, tinyxml2::XMLDeclaration, tinyxml2::XMLComment, and tinyxml2::XMLText.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLNode::ShallowEqual (const XMLNodecompare) const
+
+pure virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implemented in tinyxml2::XMLDocument, tinyxml2::XMLElement, tinyxml2::XMLUnknown, tinyxml2::XMLDeclaration, tinyxml2::XMLComment, and tinyxml2::XMLText.

+ +
+
+ +

◆ Value()

+ +
+
+ + + + + + + +
const char* tinyxml2::XMLNode::Value () const
+
+

The meaning of 'value' changes for the specific type.

Document:   empty (NULL is returned, not an empty string)
+Element:    name of the element
+Comment:    the comment text
+Unknown:    the tag contents
+Text:       the text string
+
+
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.png new file mode 100644 index 0000000..cb1e7ce Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_node.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer-members.html new file mode 100644 index 0000000..bbf8420 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer-members.html @@ -0,0 +1,106 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLPrinter Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLPrinter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ClearBuffer()tinyxml2::XMLPrinterinline
CloseElement(bool compactMode=false)tinyxml2::XMLPrintervirtual
CStr() consttinyxml2::XMLPrinterinline
CStrSize() consttinyxml2::XMLPrinterinline
OpenElement(const char *name, bool compactMode=false)tinyxml2::XMLPrinter
PrintSpace(int depth)tinyxml2::XMLPrinterprotectedvirtual
PushAttribute(const char *name, const char *value)tinyxml2::XMLPrinter
PushComment(const char *comment)tinyxml2::XMLPrinter
PushHeader(bool writeBOM, bool writeDeclaration)tinyxml2::XMLPrinter
PushText(const char *text, bool cdata=false)tinyxml2::XMLPrinter
PushText(int value)tinyxml2::XMLPrinter
PushText(unsigned value)tinyxml2::XMLPrinter
PushText(int64_t value)tinyxml2::XMLPrinter
PushText(bool value)tinyxml2::XMLPrinter
PushText(float value)tinyxml2::XMLPrinter
PushText(double value)tinyxml2::XMLPrinter
Visit(const XMLText &text)tinyxml2::XMLPrintervirtual
Visit(const XMLComment &comment)tinyxml2::XMLPrintervirtual
Visit(const XMLDeclaration &declaration)tinyxml2::XMLPrintervirtual
Visit(const XMLUnknown &unknown)tinyxml2::XMLPrintervirtual
VisitEnter(const XMLDocument &)tinyxml2::XMLPrintervirtual
VisitEnter(const XMLElement &element, const XMLAttribute *attribute)tinyxml2::XMLPrintervirtual
VisitExit(const XMLDocument &)tinyxml2::XMLPrinterinlinevirtual
VisitExit(const XMLElement &element)tinyxml2::XMLPrintervirtual
XMLPrinter(FILE *file=0, bool compact=false, int depth=0)tinyxml2::XMLPrinter
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.html new file mode 100644 index 0000000..c71df85 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.html @@ -0,0 +1,410 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLPrinter Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLPrinter Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLPrinter:
+
+
+ + +tinyxml2::XMLVisitor + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 XMLPrinter (FILE *file=0, bool compact=false, int depth=0)
 
void PushHeader (bool writeBOM, bool writeDeclaration)
 
void OpenElement (const char *name, bool compactMode=false)
 
+void PushAttribute (const char *name, const char *value)
 If streaming, add an attribute to an open element.
 
+virtual void CloseElement (bool compactMode=false)
 If streaming, close the Element.
 
+void PushText (const char *text, bool cdata=false)
 Add a text node.
 
+void PushText (int value)
 Add a text node from an integer.
 
+void PushText (unsigned value)
 Add a text node from an unsigned.
 
+void PushText (int64_t value)
 Add a text node from an unsigned.
 
+void PushText (bool value)
 Add a text node from a bool.
 
+void PushText (float value)
 Add a text node from a float.
 
+void PushText (double value)
 Add a text node from a double.
 
+void PushComment (const char *comment)
 Add a comment.
 
+virtual bool VisitEnter (const XMLDocument &)
 Visit a document.
 
+virtual bool VisitExit (const XMLDocument &)
 Visit a document.
 
+virtual bool VisitEnter (const XMLElement &element, const XMLAttribute *attribute)
 Visit an element.
 
+virtual bool VisitExit (const XMLElement &element)
 Visit an element.
 
+virtual bool Visit (const XMLText &text)
 Visit a text node.
 
+virtual bool Visit (const XMLComment &comment)
 Visit a comment node.
 
+virtual bool Visit (const XMLDeclaration &declaration)
 Visit a declaration.
 
+virtual bool Visit (const XMLUnknown &unknown)
 Visit an unknown node.
 
const char * CStr () const
 
int CStrSize () const
 
void ClearBuffer ()
 
+ + + +

+Protected Member Functions

virtual void PrintSpace (int depth)
 
+

Detailed Description

+

Printing functionality. The XMLPrinter gives you more options than the XMLDocument::Print() method.

+

It can:

    +
  1. Print to memory.
  2. +
  3. Print to a file you provide.
  4. +
  5. Print XML without a XMLDocument.
  6. +
+

Print to Memory

+
XMLPrinter printer;
+doc.Print( &printer );
+SomeFunction( printer.CStr() );
+

Print to a File

+

You provide the file pointer.

XMLPrinter printer( fp );
+doc.Print( &printer );
+

Print without a XMLDocument

+

When loading, an XML parser is very useful. However, sometimes when saving, it just gets in the way. The code is often set up for streaming, and constructing the DOM is just overhead.

+

The Printer supports the streaming case. The following code prints out a trivially simple XML file without ever creating an XML document.

+
XMLPrinter printer( fp );
+printer.OpenElement( "foo" );
+printer.PushAttribute( "foo", "bar" );
+printer.CloseElement();
+

Constructor & Destructor Documentation

+ +

◆ XMLPrinter()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
tinyxml2::XMLPrinter::XMLPrinter (FILE * file = 0,
bool compact = false,
int depth = 0 
)
+
+

Construct the printer. If the FILE* is specified, this will print to the FILE. Else it will print to memory, and the result is available in CStr(). If 'compact' is set to true, then output is created with only required whitespace and newlines.

+ +
+
+

Member Function Documentation

+ +

◆ ClearBuffer()

+ +
+
+ + + + + +
+ + + + + + + +
void tinyxml2::XMLPrinter::ClearBuffer ()
+
+inline
+
+

If in print to memory mode, reset the buffer to the beginning.

+ +
+
+ +

◆ CStr()

+ +
+
+ + + + + +
+ + + + + + + +
const char* tinyxml2::XMLPrinter::CStr () const
+
+inline
+
+

If in print to memory mode, return a pointer to the XML file in memory.

+ +
+
+ +

◆ CStrSize()

+ +
+
+ + + + + +
+ + + + + + + +
int tinyxml2::XMLPrinter::CStrSize () const
+
+inline
+
+

If in print to memory mode, return the size of the XML file in memory. (Note the size returned includes the terminating null.)

+ +
+
+ +

◆ OpenElement()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void tinyxml2::XMLPrinter::OpenElement (const char * name,
bool compactMode = false 
)
+
+

If streaming, start writing an element. The element must be closed with CloseElement()

+ +
+
+ +

◆ PrintSpace()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void tinyxml2::XMLPrinter::PrintSpace (int depth)
+
+protectedvirtual
+
+

Prints out the space before an element. You may override to change the space and tabs used. A PrintSpace() override should call Print().

+ +
+
+ +

◆ PushHeader()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void tinyxml2::XMLPrinter::PushHeader (bool writeBOM,
bool writeDeclaration 
)
+
+

If streaming, write the BOM and declaration.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.png new file mode 100644 index 0000000..9bc6748 Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_printer.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text-members.html new file mode 100644 index 0000000..f3b5dd2 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text-members.html @@ -0,0 +1,115 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLText Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLText, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLTextvirtual
CData() consttinyxml2::XMLTextinline
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
SetCData(bool isCData)tinyxml2::XMLTextinline
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) consttinyxml2::XMLTextvirtual
ShallowEqual(const XMLNode *compare) consttinyxml2::XMLTextvirtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLTextinlinevirtual
ToUnknown()tinyxml2::XMLNodeinlinevirtual
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.html new file mode 100644 index 0000000..7218f3f --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.html @@ -0,0 +1,310 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLText Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLText Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLText:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual bool Accept (XMLVisitor *visitor) const
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+void SetCData (bool isCData)
 Declare whether this should be CDATA or standard text.
 
+bool CData () const
 Returns true if this is a CDATA text element.
 
virtual XMLNodeShallowClone (XMLDocument *document) const
 
virtual bool ShallowEqual (const XMLNode *compare) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

XML text.

+

Note that a text node can have child element nodes, for example:

<root>This is <b>bold</b></root>
+

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().

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLText::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLText::ShallowClone (XMLDocumentdocument) const
+
+virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLText::ShallowEqual (const XMLNodecompare) const
+
+virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.png new file mode 100644 index 0000000..5a9863a Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_text.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown-members.html new file mode 100644 index 0000000..f4f1fe4 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown-members.html @@ -0,0 +1,113 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLUnknown Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLUnknown, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(XMLVisitor *visitor) consttinyxml2::XMLUnknownvirtual
DeepClone(XMLDocument *target) consttinyxml2::XMLNode
DeleteChild(XMLNode *node)tinyxml2::XMLNode
DeleteChildren()tinyxml2::XMLNode
FirstChild() consttinyxml2::XMLNodeinline
FirstChildElement(const char *name=0) consttinyxml2::XMLNode
GetDocument() consttinyxml2::XMLNodeinline
GetDocument()tinyxml2::XMLNodeinline
GetLineNum() consttinyxml2::XMLNodeinline
GetUserData() consttinyxml2::XMLNodeinline
InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)tinyxml2::XMLNode
InsertEndChild(XMLNode *addThis)tinyxml2::XMLNode
InsertFirstChild(XMLNode *addThis)tinyxml2::XMLNode
LastChild() consttinyxml2::XMLNodeinline
LastChildElement(const char *name=0) consttinyxml2::XMLNode
NextSibling() consttinyxml2::XMLNodeinline
NextSiblingElement(const char *name=0) consttinyxml2::XMLNode
NoChildren() consttinyxml2::XMLNodeinline
Parent() consttinyxml2::XMLNodeinline
PreviousSibling() consttinyxml2::XMLNodeinline
PreviousSiblingElement(const char *name=0) consttinyxml2::XMLNode
SetUserData(void *userData)tinyxml2::XMLNodeinline
SetValue(const char *val, bool staticMem=false)tinyxml2::XMLNode
ShallowClone(XMLDocument *document) consttinyxml2::XMLUnknownvirtual
ShallowEqual(const XMLNode *compare) consttinyxml2::XMLUnknownvirtual
ToComment()tinyxml2::XMLNodeinlinevirtual
ToDeclaration()tinyxml2::XMLNodeinlinevirtual
ToDocument()tinyxml2::XMLNodeinlinevirtual
ToElement()tinyxml2::XMLNodeinlinevirtual
ToText()tinyxml2::XMLNodeinlinevirtual
ToUnknown()tinyxml2::XMLUnknowninlinevirtual
Value() consttinyxml2::XMLNode
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.html new file mode 100644 index 0000000..e875a51 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.html @@ -0,0 +1,301 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLUnknown Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLUnknown Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLUnknown:
+
+
+ + +tinyxml2::XMLNode + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual XMLUnknownToUnknown ()
 Safely cast to an Unknown, or null.
 
virtual bool Accept (XMLVisitor *visitor) const
 
virtual XMLNodeShallowClone (XMLDocument *document) const
 
virtual bool ShallowEqual (const XMLNode *compare) const
 
- Public Member Functions inherited from tinyxml2::XMLNode
+const XMLDocumentGetDocument () const
 Get the XMLDocument that owns this XMLNode.
 
+XMLDocumentGetDocument ()
 Get the XMLDocument that owns this XMLNode.
 
+virtual XMLElementToElement ()
 Safely cast to an Element, or null.
 
+virtual XMLTextToText ()
 Safely cast to Text, or null.
 
+virtual XMLCommentToComment ()
 Safely cast to a Comment, or null.
 
+virtual XMLDocumentToDocument ()
 Safely cast to a Document, or null.
 
+virtual XMLDeclarationToDeclaration ()
 Safely cast to a Declaration, or null.
 
const char * Value () const
 
void SetValue (const char *val, bool staticMem=false)
 
+int GetLineNum () const
 Gets the line number the node is in, if the document was parsed from a file.
 
+const XMLNodeParent () const
 Get the parent of this node on the DOM.
 
+bool NoChildren () const
 Returns true if this node has no children.
 
+const XMLNodeFirstChild () const
 Get the first child node, or null if none exists.
 
const XMLElementFirstChildElement (const char *name=0) const
 
+const XMLNodeLastChild () const
 Get the last child node, or null if none exists.
 
const XMLElementLastChildElement (const char *name=0) const
 
+const XMLNodePreviousSibling () const
 Get the previous (left) sibling node of this node.
 
+const XMLElementPreviousSiblingElement (const char *name=0) const
 Get the previous (left) sibling element of this node, with an optionally supplied name.
 
+const XMLNodeNextSibling () const
 Get the next (right) sibling node of this node.
 
+const XMLElementNextSiblingElement (const char *name=0) const
 Get the next (right) sibling element of this node, with an optionally supplied name.
 
XMLNodeInsertEndChild (XMLNode *addThis)
 
XMLNodeInsertFirstChild (XMLNode *addThis)
 
XMLNodeInsertAfterChild (XMLNode *afterThis, XMLNode *addThis)
 
void DeleteChildren ()
 
void DeleteChild (XMLNode *node)
 
XMLNodeDeepClone (XMLDocument *target) const
 
void SetUserData (void *userData)
 
void * GetUserData () const
 
+

Detailed Description

+

Any tag that TinyXML-2 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 XMLUnknowns.

+

Member Function Documentation

+ +

◆ Accept()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLUnknown::Accept (XMLVisitorvisitor) const
+
+virtual
+
+

Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the XMLVisitor interface.

+

This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

+ +

Which are both good references for "visiting".

+

An example of using Accept():

XMLPrinter printer;
+tinyxmlDoc.Accept( &printer );
+const char* xmlcstr = printer.CStr();
+
+

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowClone()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual XMLNode* tinyxml2::XMLUnknown::ShallowClone (XMLDocumentdocument) const
+
+virtual
+
+

Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())

+

Note: if called on a XMLDocument, this will return null.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+ +

◆ ShallowEqual()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool tinyxml2::XMLUnknown::ShallowEqual (const XMLNodecompare) const
+
+virtual
+
+

Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.

+

Note: if called on a XMLDocument, this will return false.

+ +

Implements tinyxml2::XMLNode.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.png new file mode 100644 index 0000000..217b62c Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_unknown.png differ diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor-members.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor-members.html new file mode 100644 index 0000000..d7ab509 --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor-members.html @@ -0,0 +1,89 @@ + + + + + + + +TinyXML-2: Member List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
tinyxml2::XMLVisitor Member List
+
+
+ +

This is the complete list of members for tinyxml2::XMLVisitor, including all inherited members.

+ + + + + + + + + +
Visit(const XMLDeclaration &)tinyxml2::XMLVisitorinlinevirtual
Visit(const XMLText &)tinyxml2::XMLVisitorinlinevirtual
Visit(const XMLComment &)tinyxml2::XMLVisitorinlinevirtual
Visit(const XMLUnknown &)tinyxml2::XMLVisitorinlinevirtual
VisitEnter(const XMLDocument &)tinyxml2::XMLVisitorinlinevirtual
VisitEnter(const XMLElement &, const XMLAttribute *)tinyxml2::XMLVisitorinlinevirtual
VisitExit(const XMLDocument &)tinyxml2::XMLVisitorinlinevirtual
VisitExit(const XMLElement &)tinyxml2::XMLVisitorinlinevirtual
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.html b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.html new file mode 100644 index 0000000..c8c0f6b --- /dev/null +++ b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.html @@ -0,0 +1,138 @@ + + + + + + + +TinyXML-2: tinyxml2::XMLVisitor Class Reference + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
tinyxml2::XMLVisitor Class Reference
+
+
+ +

#include <tinyxml2.h>

+
+Inheritance diagram for tinyxml2::XMLVisitor:
+
+
+ + +tinyxml2::XMLPrinter + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual bool VisitEnter (const XMLDocument &)
 Visit a document.
 
+virtual bool VisitExit (const XMLDocument &)
 Visit a document.
 
+virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element.
 
+virtual bool VisitExit (const XMLElement &)
 Visit an element.
 
+virtual bool Visit (const XMLDeclaration &)
 Visit a declaration.
 
+virtual bool Visit (const XMLText &)
 Visit a text node.
 
+virtual bool Visit (const XMLComment &)
 Visit a comment node.
 
+virtual bool Visit (const XMLUnknown &)
 Visit an unknown node.
 
+

Detailed Description

+

Implements the interface to the "Visitor pattern" (see the Accept() method.) If you call the Accept() method, it requires being passed a XMLVisitor 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 leafs are simply called with Visit().

+

If you return 'true' from a Visit method, recursive parsing will continue. If you return false, no children of this node or its siblings 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 XMLDocument, although all nodes support visiting.

+

You should never change the document from a callback.

+
See also
XMLNode::Accept()
+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.png b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.png new file mode 100644 index 0000000..8ae4c23 Binary files /dev/null and b/bfs/tools/tinyxml/docs/classtinyxml2_1_1_x_m_l_visitor.png differ diff --git a/bfs/tools/tinyxml/docs/closed.png b/bfs/tools/tinyxml/docs/closed.png new file mode 100644 index 0000000..98cc2c9 Binary files /dev/null and b/bfs/tools/tinyxml/docs/closed.png differ diff --git a/bfs/tools/tinyxml/docs/doc.png b/bfs/tools/tinyxml/docs/doc.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/bfs/tools/tinyxml/docs/doc.png differ diff --git a/bfs/tools/tinyxml/docs/doxygen.css b/bfs/tools/tinyxml/docs/doxygen.css new file mode 100644 index 0000000..4f1ab91 --- /dev/null +++ b/bfs/tools/tinyxml/docs/doxygen.css @@ -0,0 +1,1596 @@ +/* The standard CSS for doxygen 1.8.13 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +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 { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +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: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +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; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +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 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @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 #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/bfs/tools/tinyxml/docs/doxygen.png b/bfs/tools/tinyxml/docs/doxygen.png new file mode 100644 index 0000000..3ff17d8 Binary files /dev/null and b/bfs/tools/tinyxml/docs/doxygen.png differ diff --git a/bfs/tools/tinyxml/docs/dynsections.js b/bfs/tools/tinyxml/docs/dynsections.js new file mode 100644 index 0000000..85e1836 --- /dev/null +++ b/bfs/tools/tinyxml/docs/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +TinyXML-2: File List + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+ + +
 tinyxml2.h
+
+
+ + + + diff --git a/bfs/tools/tinyxml/docs/folderclosed.png b/bfs/tools/tinyxml/docs/folderclosed.png new file mode 100644 index 0000000..bb8ab35 Binary files /dev/null and b/bfs/tools/tinyxml/docs/folderclosed.png differ diff --git a/bfs/tools/tinyxml/docs/folderopen.png b/bfs/tools/tinyxml/docs/folderopen.png new file mode 100644 index 0000000..d6c7f67 Binary files /dev/null and b/bfs/tools/tinyxml/docs/folderopen.png differ diff --git a/bfs/tools/tinyxml/docs/functions.html b/bfs/tools/tinyxml/docs/functions.html new file mode 100644 index 0000000..0a3f3ea --- /dev/null +++ b/bfs/tools/tinyxml/docs/functions.html @@ -0,0 +1,544 @@ + + + + + + + +TinyXML-2: Class Members + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- x -

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/functions_func.html b/bfs/tools/tinyxml/docs/functions_func.html new file mode 100644 index 0000000..3d8cb61 --- /dev/null +++ b/bfs/tools/tinyxml/docs/functions_func.html @@ -0,0 +1,544 @@ + + + + + + + +TinyXML-2: Class Members - Functions + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- x -

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/hierarchy.html b/bfs/tools/tinyxml/docs/hierarchy.html new file mode 100644 index 0000000..5d26b25 --- /dev/null +++ b/bfs/tools/tinyxml/docs/hierarchy.html @@ -0,0 +1,90 @@ + + + + + + + +TinyXML-2: Class Hierarchy + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
+ + + + diff --git a/bfs/tools/tinyxml/docs/index.html b/bfs/tools/tinyxml/docs/index.html new file mode 100644 index 0000000..4f257f3 --- /dev/null +++ b/bfs/tools/tinyxml/docs/index.html @@ -0,0 +1,214 @@ + + + + + + + +TinyXML-2: TinyXML-2 + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
TinyXML-2
+
+
+

+
+TinyXML-2 Logo +
+

TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.

+

The master is hosted on github: https://github.com/leethomason/tinyxml2

+

The online HTML version of these docs: http://leethomason.github.io/tinyxml2/

+

Examples are in the "related pages" tab of the HTML docs.

+

What it does.

+

In brief, TinyXML-2 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 is a general purpose human and machine readable markup language to describe arbitrary data. All those random file formats created to store application data can all be replaced with XML. One parser for everything.

+

http://en.wikipedia.org/wiki/XML

+

There are different ways to access and interact with XML data. TinyXML-2 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. You can even use TinyXML-2 to stream XML programmatically from code without creating a document first.

+

TinyXML-2 is designed to be easy and fast to learn. It is one header and one cpp file. Simply add these to your project and off you go. There is an example file - xmltest.cpp - to get you started.

+

TinyXML-2 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-2 attempts to be a flexible parser, but with truly correct and compliant XML output. TinyXML-2 should compile on any reasonably C++ compliant system. It does not rely on exceptions, RTTI, or the STL.

+

What it doesn't do.

+

TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there 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-2 is not the parser for you.

+

TinyXML-1 vs. TinyXML-2

+

TinyXML-2 is now the focus of all development, well tested, and your best choice between the two APIs. At this point, unless you are maintaining legacy code, you should choose TinyXML-2.

+

TinyXML-2 uses a similar API to TinyXML-1 and the same rich test cases. But the implementation of the parser is completely re-written to make it more appropriate for use in a game. It uses less memory, is faster, and uses far fewer memory allocations.

+

TinyXML-2 has no requirement or support for STL. By returning const char* TinyXML-2 can be much more efficient with memory usage. (TinyXML-1 did support and use STL, but consumed much more memory for the DOM representation.)

+

Features

+

Code Page

+

TinyXML-2 uses UTF-8 exclusively when interpreting XML. All XML is assumed to be UTF-8.

+

Filenames for loading / saving are passed unchanged to the underlying OS.

+

Memory Model

+

An XMLDocument is a C++ object like any other, that can be on the stack, or new'd and deleted on the heap.

+

However, any sub-node of the Document, XMLElement, XMLText, etc, can only be created by calling the appropriate XMLDocument::NewElement, NewText, etc. method. Although you have pointers to these objects, they are still owned by the Document. When the Document is deleted, so are all the nodes it contains.

+

White Space

+

Whitespace Preservation (default)

+

Microsoft has an excellent article on white space: http://msdn.microsoft.com/en-us/library/ms256097.aspx

+

By default, TinyXML-2 preserves white space in a (hopefully) sane way that is almost compliant with the spec. (TinyXML-1 used a completely different model, much more similar to 'collapse', below.)

+

As a first step, all newlines / carriage-returns / line-feeds are normalized to a line-feed character, as required by the XML spec.

+

White space in text is preserved. For example:

<element> Hello,  World</element>
+

The leading space before the "Hello" and the double space after the comma are preserved. Line-feeds are preserved, as in this example:

<element> Hello again,
+          World</element>
+

However, white space between elements is not preserved. Although not strictly compliant, tracking and reporting inter-element space is awkward, and not normally valuable. TinyXML-2 sees these as the same XML:

<document>
+    <data>1</data>
+    <data>2</data>
+    <data>3</data>
+</document>
+
+<document><data>1</data><data>2</data><data>3</data></document>
+

Whitespace Collapse

+

For some applications, it is preferable to collapse whitespace. Collapsing whitespace gives you "HTML-like" behavior, which is sometimes more suitable for hand typed documents.

+

TinyXML-2 supports this with the 'whitespace' parameter to the XMLDocument constructor. (The default is to preserve whitespace, as described above.)

+

However, you may also use COLLAPSE_WHITESPACE, which will:

+
    +
  • Remove leading and trailing whitespace
  • +
  • Convert newlines and line-feeds into a space character
  • +
  • Collapse a run of any number of space characters into a single space character
  • +
+

Note that (currently) there is a performance impact for using COLLAPSE_WHITESPACE. It essentially causes the XML to be parsed twice.

+

Error Reporting

+

TinyXML-2 reports the line number of any errors in an XML document that cannot be parsed correctly. In addition, all nodes (elements, declarations, text, comments etc.) and attributes have a line number recorded as they are parsed. This allows an application that performs additional validation of the parsed XML document (e.g. application-implemented DTD validation) to report line number information for error messages.

+

Entities

+

TinyXML-2 recognizes the pre-defined "character entities", meaning special characters. Namely:

&amp;   &
+&lt;    <
+&gt;    >
+&quot;  "
+&apos;  '
+

These are recognized when the XML document is read, and translated to their UTF-8 equivalents. For instance, text with the XML of:

Far &amp; Away
+

will have the Value() of "Far & Away" when queried from the XMLText object, and will be written back to the XML stream/file as an ampersand.

+

Additionally, any character can be specified by its Unicode code point: The syntax &#xA0; or &#160; are both to the non-breaking space character. This is called a 'numeric character reference'. Any numeric character reference that isn't one of the special entities above, will be read, but written as a regular code point. The output is correct, but the entity syntax isn't preserved.

+

Printing

+

Print to file

+

You can directly use the convenience function:

XMLDocument doc;
+...
+doc.SaveFile( "foo.xml" );
+

Or the XMLPrinter class:

XMLPrinter printer( fp );
+doc.Print( &printer );
+

Print to memory

+

Printing to memory is supported by the XMLPrinter.

XMLPrinter printer;
+doc.Print( &printer );
+// printer.CStr() has a const char* to the XML
+

Print without an XMLDocument

+

When loading, an XML parser is very useful. However, sometimes when saving, it just gets in the way. The code is often set up for streaming, and constructing the DOM is just overhead.

+

The Printer supports the streaming case. The following code prints out a trivially simple XML file without ever creating an XML document.

XMLPrinter printer( fp );
+printer.OpenElement( "foo" );
+printer.PushAttribute( "foo", "bar" );
+printer.CloseElement();
+

Examples

+

Load and parse an XML file.

+
/* ------ Example 1: Load and parse an XML file. ---- */
+{
+    XMLDocument doc;
+    doc.LoadFile( "dream.xml" );
+}
+

Lookup information.

+
/* ------ Example 2: Lookup information. ---- */
+{
+    XMLDocument doc;
+    doc.LoadFile( "dream.xml" );
+
+    // Structure of the XML file:
+    // - Element "PLAY"      the root Element, which is the
+    //                       FirstChildElement of the Document
+    // - - Element "TITLE"   child of the root PLAY Element
+    // - - - Text            child of the TITLE Element
+
+    // Navigate to the title, using the convenience function,
+    // with a dangerous lack of error checking.
+    const char* title = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" )->GetText();
+    printf( "Name of play (1): %s\n", title );
+
+    // Text is just another Node to TinyXML-2. The more
+    // general way to get to the XMLText:
+    XMLText* textNode = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" )->FirstChild()->ToText();
+    title = textNode->Value();
+    printf( "Name of play (2): %s\n", title );
+}
+

Using and Installing

+

There are 2 files in TinyXML-2:

+

And additionally a test file:

    +
  • xmltest.cpp
  • +
+

Simply compile and run. There is a visual studio 2017 project included, a simple Makefile, an Xcode project, a Code::Blocks project, and a cmake CMakeLists.txt included to help you. The top of tinyxml.h even has a simple g++ command line if you are are Unix/Linuk/BSD and don't want to use a build system.

+

Versioning

+

TinyXML-2 uses semantic versioning. http://semver.org/ Releases are now tagged in github.

+

Note that the major version will (probably) change fairly rapidly. API changes are fairly common.

+

Documentation

+

The documentation is build with Doxygen, using the 'dox' configuration file.

+

License

+

TinyXML-2 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. +
  3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  4. +
  5. This notice may not be removed or altered from any source distribution.
  6. +
+

Contributors

+

Thanks very much to everyone who sends suggestions, bugs, ideas, and encouragement. It all helps, and makes this project fun.

+

The original TinyXML-1 has many contributors, who all deserve thanks in shaping what is a very successful library. Extra thanks to Yves Berquin and Andrew Ellerton who were key contributors.

+

TinyXML-2 grew from that effort. Lee Thomason is the original author of TinyXML-2 (and TinyXML-1) but TinyXML-2 has been and is being improved by many contributors.

+

Thanks to John Mackay at http://john.mackay.rosalilastudio.com for the TinyXML-2 logo!

+
+ + + + diff --git a/bfs/tools/tinyxml/docs/jquery.js b/bfs/tools/tinyxml/docs/jquery.js new file mode 100644 index 0000000..f5343ed --- /dev/null +++ b/bfs/tools/tinyxml/docs/jquery.js @@ -0,0 +1,87 @@ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + +
+
+
Related Pages
+
+
+
Here is a list of all related documentation pages:
+
+ + + + +
 Load an XML File
 Parse an XML from char buffer
 Get information out of XML
 Read attributes and text information.
+ + + + + + diff --git a/bfs/tools/tinyxml/docs/search/all_0.html b/bfs/tools/tinyxml/docs/search/all_0.html new file mode 100644 index 0000000..f25360b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_0.js b/bfs/tools/tinyxml/docs/search/all_0.js new file mode 100644 index 0000000..28cfce2 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['accept',['Accept',['../classtinyxml2_1_1_x_m_l_node.html#a81e66df0a44c67a7af17f3b77a152785',1,'tinyxml2::XMLNode::Accept()'],['../classtinyxml2_1_1_x_m_l_text.html#a1b2c1448f1a21299d0a7913f18b55206',1,'tinyxml2::XMLText::Accept()'],['../classtinyxml2_1_1_x_m_l_comment.html#a4a33dc32fae0285b03f9cfcb3e43e122',1,'tinyxml2::XMLComment::Accept()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a5f376019fb34752eb248548f42f32045',1,'tinyxml2::XMLDeclaration::Accept()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a70983aa1b1cff3d3aa6d4d0a80e5ee48',1,'tinyxml2::XMLUnknown::Accept()'],['../classtinyxml2_1_1_x_m_l_element.html#a3ea8a40e788fb9ad876c28a32932c6d5',1,'tinyxml2::XMLElement::Accept()'],['../classtinyxml2_1_1_x_m_l_document.html#a9efa54f7ecb37c17ab1fa2b3078ccca1',1,'tinyxml2::XMLDocument::Accept()']]], + ['attribute',['Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a70e49ed60b11212ae35f7e354cfe1de9',1,'tinyxml2::XMLElement']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_1.html b/bfs/tools/tinyxml/docs/search/all_1.html new file mode 100644 index 0000000..b13f0f7 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_1.js b/bfs/tools/tinyxml/docs/search/all_1.js new file mode 100644 index 0000000..2f5497b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['boolattribute',['BoolAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a53eda26131e1ad1031ef8ec8adb51bd8',1,'tinyxml2::XMLElement']]], + ['booltext',['BoolText',['../classtinyxml2_1_1_x_m_l_element.html#a68569f59f6382bcea7f5013ec59736d2',1,'tinyxml2::XMLElement']]], + ['boolvalue',['BoolValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a98ce5207344ad33a265b0422addae1ff',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_10.html b/bfs/tools/tinyxml/docs/search/all_10.html new file mode 100644 index 0000000..d1345a1 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_10.js b/bfs/tools/tinyxml/docs/search/all_10.js new file mode 100644 index 0000000..280048c --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_10.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['tinyxml_2d2',['TinyXML-2',['../index.html',1,'']]], + ['tocomment',['ToComment',['../classtinyxml2_1_1_x_m_l_node.html#aff47671055aa99840a1c1ebd661e63e3',1,'tinyxml2::XMLNode::ToComment()'],['../classtinyxml2_1_1_x_m_l_comment.html#a8093e1dc8a34fa446d9dc3fde0e6c0ee',1,'tinyxml2::XMLComment::ToComment()']]], + ['todeclaration',['ToDeclaration',['../classtinyxml2_1_1_x_m_l_node.html#a174fd4c22c010b58138c1b84a0dfbd51',1,'tinyxml2::XMLNode::ToDeclaration()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a159d8ac45865215e88059ea1e5b52fc5',1,'tinyxml2::XMLDeclaration::ToDeclaration()'],['../classtinyxml2_1_1_x_m_l_handle.html#a108858be7ee3eb53f73b5194c1aa8ff0',1,'tinyxml2::XMLHandle::ToDeclaration()']]], + ['todocument',['ToDocument',['../classtinyxml2_1_1_x_m_l_node.html#a836e2966ed736fc3c94f70e12a2a3357',1,'tinyxml2::XMLNode::ToDocument()'],['../classtinyxml2_1_1_x_m_l_document.html#a3e185f880882bd978367bb55937735ec',1,'tinyxml2::XMLDocument::ToDocument()']]], + ['toelement',['ToElement',['../classtinyxml2_1_1_x_m_l_node.html#aab516e699567f75cc9ab2ef2eee501e8',1,'tinyxml2::XMLNode::ToElement()'],['../classtinyxml2_1_1_x_m_l_element.html#ad9ff5c2dbc15df36cf664ce1b0ea0a5d',1,'tinyxml2::XMLElement::ToElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a5e73ed8f3f6f9619d5a8bb1862c47d99',1,'tinyxml2::XMLHandle::ToElement()']]], + ['tonode',['ToNode',['../classtinyxml2_1_1_x_m_l_handle.html#a03ea6ec970a021b71bf1219a0f6717df',1,'tinyxml2::XMLHandle']]], + ['totext',['ToText',['../classtinyxml2_1_1_x_m_l_node.html#a41c55dab9162d1eb62db2008430e376b',1,'tinyxml2::XMLNode::ToText()'],['../classtinyxml2_1_1_x_m_l_text.html#ab1213b4ddebe9b17ec7e7040e9f1caf7',1,'tinyxml2::XMLText::ToText()'],['../classtinyxml2_1_1_x_m_l_handle.html#a6ab9e8cbfb41417246e5657e3842c62a',1,'tinyxml2::XMLHandle::ToText()']]], + ['tounknown',['ToUnknown',['../classtinyxml2_1_1_x_m_l_node.html#a8675a74aa0ada6eccab0c77ef3e5b9bd',1,'tinyxml2::XMLNode::ToUnknown()'],['../classtinyxml2_1_1_x_m_l_unknown.html#af4374856421921cad578c8affae872b6',1,'tinyxml2::XMLUnknown::ToUnknown()'],['../classtinyxml2_1_1_x_m_l_handle.html#aa387368a1ad8d843a9f12df863d298de',1,'tinyxml2::XMLHandle::ToUnknown()']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_11.html b/bfs/tools/tinyxml/docs/search/all_11.html new file mode 100644 index 0000000..2be8b71 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_11.js b/bfs/tools/tinyxml/docs/search/all_11.js new file mode 100644 index 0000000..7e35c72 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_11.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['unsignedattribute',['UnsignedAttribute',['../classtinyxml2_1_1_x_m_l_element.html#afea43a1d4aa33e3703ddee5fc9adc26c',1,'tinyxml2::XMLElement']]], + ['unsignedtext',['UnsignedText',['../classtinyxml2_1_1_x_m_l_element.html#a49bad014ffcc17b0b6119d5b2c97dfb5',1,'tinyxml2::XMLElement']]], + ['unsignedvalue',['UnsignedValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a0be5343b08a957c42c02c5d32c35d338',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_12.html b/bfs/tools/tinyxml/docs/search/all_12.html new file mode 100644 index 0000000..13c5263 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_12.js b/bfs/tools/tinyxml/docs/search/all_12.js new file mode 100644 index 0000000..bc84876 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_12.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['value',['Value',['../classtinyxml2_1_1_x_m_l_node.html#a66344989a4b436155bcda72bd6b07b82',1,'tinyxml2::XMLNode::Value()'],['../classtinyxml2_1_1_x_m_l_attribute.html#a1aab1dd0e43ecbcfa306adbcf3a3d853',1,'tinyxml2::XMLAttribute::Value()']]], + ['visit',['Visit',['../classtinyxml2_1_1_x_m_l_visitor.html#adc75bd459fc7ba8223b50f0616767f9a',1,'tinyxml2::XMLVisitor::Visit(const XMLDeclaration &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#af30233565856480ea48b6fa0d6dec65b',1,'tinyxml2::XMLVisitor::Visit(const XMLText &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#acc8147fb5a85f6c65721654e427752d7',1,'tinyxml2::XMLVisitor::Visit(const XMLComment &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#a14e4748387c34bf53d24e8119bb1f292',1,'tinyxml2::XMLVisitor::Visit(const XMLUnknown &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a275ae25544a12199ae40b6994ca6e4de',1,'tinyxml2::XMLPrinter::Visit(const XMLText &text)'],['../classtinyxml2_1_1_x_m_l_printer.html#a3f16a30be1537ac141d9bd2db824ba9e',1,'tinyxml2::XMLPrinter::Visit(const XMLComment &comment)'],['../classtinyxml2_1_1_x_m_l_printer.html#a9ceff5cd85e5db65838962174fcdcc46',1,'tinyxml2::XMLPrinter::Visit(const XMLDeclaration &declaration)'],['../classtinyxml2_1_1_x_m_l_printer.html#aa15e1da81e17dea5da6499ac5b08d9d8',1,'tinyxml2::XMLPrinter::Visit(const XMLUnknown &unknown)']]], + ['visitenter',['VisitEnter',['../classtinyxml2_1_1_x_m_l_visitor.html#acb3c22fc5f60eb9db98f533f2761f67d',1,'tinyxml2::XMLVisitor::VisitEnter(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#af97980a17dd4e37448b181f5ddfa92b5',1,'tinyxml2::XMLVisitor::VisitEnter(const XMLElement &, const XMLAttribute *)'],['../classtinyxml2_1_1_x_m_l_printer.html#ae966b988a7a28c41e91c5ca17fb2054b',1,'tinyxml2::XMLPrinter::VisitEnter(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a2ce2aa508c21ac91615093ddb9c282c5',1,'tinyxml2::XMLPrinter::VisitEnter(const XMLElement &element, const XMLAttribute *attribute)']]], + ['visitexit',['VisitExit',['../classtinyxml2_1_1_x_m_l_visitor.html#a170e9989cd046ba904f302d087e07086',1,'tinyxml2::XMLVisitor::VisitExit(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#a772f10ddc83f881956d32628faa16eb6',1,'tinyxml2::XMLVisitor::VisitExit(const XMLElement &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a15fc1f2b922f540917dcf52808737b29',1,'tinyxml2::XMLPrinter::VisitExit(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_printer.html#ae99e0a7086543591edfb565f24689098',1,'tinyxml2::XMLPrinter::VisitExit(const XMLElement &element)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_13.html b/bfs/tools/tinyxml/docs/search/all_13.html new file mode 100644 index 0000000..b4a8bca --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_13.js b/bfs/tools/tinyxml/docs/search/all_13.js new file mode 100644 index 0000000..9c06153 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_13.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['xmlattribute',['XMLAttribute',['../classtinyxml2_1_1_x_m_l_attribute.html',1,'tinyxml2']]], + ['xmlcomment',['XMLComment',['../classtinyxml2_1_1_x_m_l_comment.html',1,'tinyxml2']]], + ['xmlconsthandle',['XMLConstHandle',['../classtinyxml2_1_1_x_m_l_const_handle.html',1,'tinyxml2']]], + ['xmldeclaration',['XMLDeclaration',['../classtinyxml2_1_1_x_m_l_declaration.html',1,'tinyxml2']]], + ['xmldocument',['XMLDocument',['../classtinyxml2_1_1_x_m_l_document.html',1,'tinyxml2::XMLDocument'],['../classtinyxml2_1_1_x_m_l_document.html#a57ddf17b6e054dda10af98991b1b8f70',1,'tinyxml2::XMLDocument::XMLDocument()']]], + ['xmlelement',['XMLElement',['../classtinyxml2_1_1_x_m_l_element.html',1,'tinyxml2']]], + ['xmlhandle',['XMLHandle',['../classtinyxml2_1_1_x_m_l_handle.html',1,'tinyxml2::XMLHandle'],['../classtinyxml2_1_1_x_m_l_handle.html#a9c240a35c18f053509b4b97ddccd9793',1,'tinyxml2::XMLHandle::XMLHandle(XMLNode *node)'],['../classtinyxml2_1_1_x_m_l_handle.html#aa2edbc1c0d3e3e8259bd98de7f1cf500',1,'tinyxml2::XMLHandle::XMLHandle(XMLNode &node)'],['../classtinyxml2_1_1_x_m_l_handle.html#afd8e01e6018c07347b8e6d80272466aa',1,'tinyxml2::XMLHandle::XMLHandle(const XMLHandle &ref)']]], + ['xmlnode',['XMLNode',['../classtinyxml2_1_1_x_m_l_node.html',1,'tinyxml2']]], + ['xmlprinter',['XMLPrinter',['../classtinyxml2_1_1_x_m_l_printer.html',1,'tinyxml2::XMLPrinter'],['../classtinyxml2_1_1_x_m_l_printer.html#aa6d3841c069085f5b8a27bc7103c04f7',1,'tinyxml2::XMLPrinter::XMLPrinter()']]], + ['xmltext',['XMLText',['../classtinyxml2_1_1_x_m_l_text.html',1,'tinyxml2']]], + ['xmlunknown',['XMLUnknown',['../classtinyxml2_1_1_x_m_l_unknown.html',1,'tinyxml2']]], + ['xmlvisitor',['XMLVisitor',['../classtinyxml2_1_1_x_m_l_visitor.html',1,'tinyxml2']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_2.html b/bfs/tools/tinyxml/docs/search/all_2.html new file mode 100644 index 0000000..9543c57 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_2.js b/bfs/tools/tinyxml/docs/search/all_2.js new file mode 100644 index 0000000..62ab567 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_2.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['cdata',['CData',['../classtinyxml2_1_1_x_m_l_text.html#ac1bb5ea4166c320882d9e0ad16fd385b',1,'tinyxml2::XMLText']]], + ['clear',['Clear',['../classtinyxml2_1_1_x_m_l_document.html#a65656b0b2cbc822708eb351504178aaf',1,'tinyxml2::XMLDocument']]], + ['clearbuffer',['ClearBuffer',['../classtinyxml2_1_1_x_m_l_printer.html#a216157765b7267bf389975b1cbf9a909',1,'tinyxml2::XMLPrinter']]], + ['closeelement',['CloseElement',['../classtinyxml2_1_1_x_m_l_printer.html#ad04d29562b46fcdb23ab320f8b664240',1,'tinyxml2::XMLPrinter']]], + ['cstr',['CStr',['../classtinyxml2_1_1_x_m_l_printer.html#a180671d73844f159f2d4aafbc11d106e',1,'tinyxml2::XMLPrinter']]], + ['cstrsize',['CStrSize',['../classtinyxml2_1_1_x_m_l_printer.html#a3256cf3523d4898b91abb18b924be04c',1,'tinyxml2::XMLPrinter']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_3.html b/bfs/tools/tinyxml/docs/search/all_3.html new file mode 100644 index 0000000..03405c0 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_3.js b/bfs/tools/tinyxml/docs/search/all_3.js new file mode 100644 index 0000000..0c8c9f9 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_3.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['deepclone',['DeepClone',['../classtinyxml2_1_1_x_m_l_node.html#a62c71b6bf8734b5424063b8d9a61c266',1,'tinyxml2::XMLNode']]], + ['deepcopy',['DeepCopy',['../classtinyxml2_1_1_x_m_l_document.html#af592ffc91514e25a39664521ac83db45',1,'tinyxml2::XMLDocument']]], + ['deleteattribute',['DeleteAttribute',['../classtinyxml2_1_1_x_m_l_element.html#aebd45aa7118964c30b32fe12e944628a',1,'tinyxml2::XMLElement']]], + ['deletechild',['DeleteChild',['../classtinyxml2_1_1_x_m_l_node.html#a363b6edbd6ebd55f8387d2b89f2b0921',1,'tinyxml2::XMLNode']]], + ['deletechildren',['DeleteChildren',['../classtinyxml2_1_1_x_m_l_node.html#a0360085cc54df5bff85d5c5da13afdce',1,'tinyxml2::XMLNode']]], + ['deletenode',['DeleteNode',['../classtinyxml2_1_1_x_m_l_document.html#ac1d6e2c7fcc1a660624ac4f68e96380d',1,'tinyxml2::XMLDocument']]], + ['doubleattribute',['DoubleAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a10a90c505aea716bf073eea1c97f33b5',1,'tinyxml2::XMLElement']]], + ['doubletext',['DoubleText',['../classtinyxml2_1_1_x_m_l_element.html#a81b1ff0cf2f2cd09be8badc08b39a2b7',1,'tinyxml2::XMLElement']]], + ['doublevalue',['DoubleValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a4aa73513f54ff0087d3e804f0f54e30f',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_4.html b/bfs/tools/tinyxml/docs/search/all_4.html new file mode 100644 index 0000000..8e1f4b9 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_4.js b/bfs/tools/tinyxml/docs/search/all_4.js new file mode 100644 index 0000000..47e3245 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_4.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['error',['Error',['../classtinyxml2_1_1_x_m_l_document.html#a34e6318e182e40e3cc4f4ba5d59ed9ed',1,'tinyxml2::XMLDocument']]], + ['errorid',['ErrorID',['../classtinyxml2_1_1_x_m_l_document.html#afa3ed33b3107f920ec2b301f805ac17d',1,'tinyxml2::XMLDocument']]], + ['errorlinenum',['ErrorLineNum',['../classtinyxml2_1_1_x_m_l_document.html#a57400f816dbe7799ece33615ead9ab76',1,'tinyxml2::XMLDocument']]], + ['errorstr',['ErrorStr',['../classtinyxml2_1_1_x_m_l_document.html#ad75aa9d32c4e8b300655186808aa9abf',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_5.html b/bfs/tools/tinyxml/docs/search/all_5.html new file mode 100644 index 0000000..89a879e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_5.js b/bfs/tools/tinyxml/docs/search/all_5.js new file mode 100644 index 0000000..182bbfe --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_5.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['findattribute',['FindAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a2dcd4d5d6fb63396cd2f257c318b42c4',1,'tinyxml2::XMLElement']]], + ['firstattribute',['FirstAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a3e191704c8d499906ec11fe2f60c6686',1,'tinyxml2::XMLElement']]], + ['firstchild',['FirstChild',['../classtinyxml2_1_1_x_m_l_node.html#ae7dc225e1018cdd685f7563593a1fe08',1,'tinyxml2::XMLNode::FirstChild()'],['../classtinyxml2_1_1_x_m_l_handle.html#a536447dc7f54c0cd11e031dad94795ae',1,'tinyxml2::XMLHandle::FirstChild()']]], + ['firstchildelement',['FirstChildElement',['../classtinyxml2_1_1_x_m_l_node.html#a1795a35852dc8aae877cc8ded986e59b',1,'tinyxml2::XMLNode::FirstChildElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a74b04dd0f15e0bf01860e282b840b6a3',1,'tinyxml2::XMLHandle::FirstChildElement()']]], + ['floatattribute',['FloatAttribute',['../classtinyxml2_1_1_x_m_l_element.html#ab1f4be2332e27dc640e9b6abd01d64dd',1,'tinyxml2::XMLElement']]], + ['floattext',['FloatText',['../classtinyxml2_1_1_x_m_l_element.html#a45444eb21f99ca46101545992dc2e927',1,'tinyxml2::XMLElement']]], + ['floatvalue',['FloatValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a27797b45d21c981257720db94f5f8801',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_6.html b/bfs/tools/tinyxml/docs/search/all_6.html new file mode 100644 index 0000000..6afac06 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_6.js b/bfs/tools/tinyxml/docs/search/all_6.js new file mode 100644 index 0000000..cc2aeca --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['get_20information_20out_20of_20xml',['Get information out of XML',['../_example_3.html',1,'']]], + ['getdocument',['GetDocument',['../classtinyxml2_1_1_x_m_l_node.html#a2de84cfa4ec3fe249bad745069d145f1',1,'tinyxml2::XMLNode::GetDocument() const'],['../classtinyxml2_1_1_x_m_l_node.html#af343d1ef0b45c0020e62d784d7e67a68',1,'tinyxml2::XMLNode::GetDocument()']]], + ['getlinenum',['GetLineNum',['../classtinyxml2_1_1_x_m_l_node.html#a9b5fc636646fda761d342c72e91cb286',1,'tinyxml2::XMLNode::GetLineNum()'],['../classtinyxml2_1_1_x_m_l_attribute.html#a02d5ea924586e35f9c13857d1671b765',1,'tinyxml2::XMLAttribute::GetLineNum()']]], + ['gettext',['GetText',['../classtinyxml2_1_1_x_m_l_element.html#a6d5c8d115561ade4e4456b71d91b6f51',1,'tinyxml2::XMLElement']]], + ['getuserdata',['GetUserData',['../classtinyxml2_1_1_x_m_l_node.html#a7f0687574afa03bc479dc44f29db0afe',1,'tinyxml2::XMLNode']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_7.html b/bfs/tools/tinyxml/docs/search/all_7.html new file mode 100644 index 0000000..de19107 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_7.js b/bfs/tools/tinyxml/docs/search/all_7.js new file mode 100644 index 0000000..b7d6d1f --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['hasbom',['HasBOM',['../classtinyxml2_1_1_x_m_l_document.html#a33fc5d159db873a179fa26338adb05bd',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_8.html b/bfs/tools/tinyxml/docs/search/all_8.html new file mode 100644 index 0000000..11e27cd --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_8.js b/bfs/tools/tinyxml/docs/search/all_8.js new file mode 100644 index 0000000..b1519d5 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_8.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['insertafterchild',['InsertAfterChild',['../classtinyxml2_1_1_x_m_l_node.html#a85adb8f0b7477eec30f9a41d420b09c2',1,'tinyxml2::XMLNode']]], + ['insertendchild',['InsertEndChild',['../classtinyxml2_1_1_x_m_l_node.html#aeb249ed60f4e8bfad3709151c3ee4286',1,'tinyxml2::XMLNode']]], + ['insertfirstchild',['InsertFirstChild',['../classtinyxml2_1_1_x_m_l_node.html#a8ff7dc071f3a1a6ae2ac25a37492865d',1,'tinyxml2::XMLNode']]], + ['int64attribute',['Int64Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a66d96972adecd816194191f13cc4a0a0',1,'tinyxml2::XMLElement']]], + ['int64text',['Int64Text',['../classtinyxml2_1_1_x_m_l_element.html#aab6151f7e3b4c2c0a8234e262d7b6b8a',1,'tinyxml2::XMLElement']]], + ['intattribute',['IntAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a95a89b13bb14a2d4655e2b5b406c00d4',1,'tinyxml2::XMLElement']]], + ['intvalue',['IntValue',['../classtinyxml2_1_1_x_m_l_attribute.html#adfa2433f0fdafd5c3880936de9affa80',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_9.html b/bfs/tools/tinyxml/docs/search/all_9.html new file mode 100644 index 0000000..f8abbbe --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_9.js b/bfs/tools/tinyxml/docs/search/all_9.js new file mode 100644 index 0000000..7c6cde9 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_9.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['load_20an_20xml_20file',['Load an XML File',['../_example_1.html',1,'']]], + ['lastchild',['LastChild',['../classtinyxml2_1_1_x_m_l_node.html#a9b8583a277e8e26f4cbbb5492786778e',1,'tinyxml2::XMLNode::LastChild()'],['../classtinyxml2_1_1_x_m_l_handle.html#a9d09f04435f0f2f7d0816b0198d0517b',1,'tinyxml2::XMLHandle::LastChild()']]], + ['lastchildelement',['LastChildElement',['../classtinyxml2_1_1_x_m_l_node.html#a173e9d1341bc56992e2d320a35936551',1,'tinyxml2::XMLNode::LastChildElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a42cccd0ce8b1ce704f431025e9f19e0c',1,'tinyxml2::XMLHandle::LastChildElement()']]], + ['loadfile',['LoadFile',['../classtinyxml2_1_1_x_m_l_document.html#a2ebd4647a8af5fc6831b294ac26a150a',1,'tinyxml2::XMLDocument::LoadFile(const char *filename)'],['../classtinyxml2_1_1_x_m_l_document.html#a5f1d330fad44c52f3d265338dd2a6dc2',1,'tinyxml2::XMLDocument::LoadFile(FILE *)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_a.html b/bfs/tools/tinyxml/docs/search/all_a.html new file mode 100644 index 0000000..9601fce --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_a.js b/bfs/tools/tinyxml/docs/search/all_a.js new file mode 100644 index 0000000..953470a --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_a.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['name',['Name',['../classtinyxml2_1_1_x_m_l_attribute.html#ab886c486ec19f02ed826f8dc129e5ad8',1,'tinyxml2::XMLAttribute::Name()'],['../classtinyxml2_1_1_x_m_l_element.html#a63e057fb5baee1dd29f323cb85907b35',1,'tinyxml2::XMLElement::Name()']]], + ['newcomment',['NewComment',['../classtinyxml2_1_1_x_m_l_document.html#ade4874bcb439954972ef2b3723ff3259',1,'tinyxml2::XMLDocument']]], + ['newdeclaration',['NewDeclaration',['../classtinyxml2_1_1_x_m_l_document.html#aee2eb3435923f5494dcc70ac225b60a2',1,'tinyxml2::XMLDocument']]], + ['newelement',['NewElement',['../classtinyxml2_1_1_x_m_l_document.html#a8aa7817d4a1001364b06373763ab99d6',1,'tinyxml2::XMLDocument']]], + ['newtext',['NewText',['../classtinyxml2_1_1_x_m_l_document.html#ab7e8b29ae4099092a8bb947da6361296',1,'tinyxml2::XMLDocument']]], + ['newunknown',['NewUnknown',['../classtinyxml2_1_1_x_m_l_document.html#a5385c937734ff6db9226ab707d2c7147',1,'tinyxml2::XMLDocument']]], + ['next',['Next',['../classtinyxml2_1_1_x_m_l_attribute.html#aee53571b21e7ce5421eb929523a8bbe6',1,'tinyxml2::XMLAttribute']]], + ['nextsibling',['NextSibling',['../classtinyxml2_1_1_x_m_l_node.html#a79db9ef0fe014d27790f2218b87bcbb5',1,'tinyxml2::XMLNode::NextSibling()'],['../classtinyxml2_1_1_x_m_l_handle.html#aad2eccc7c7c7b18145877c978c3850b5',1,'tinyxml2::XMLHandle::NextSibling()']]], + ['nextsiblingelement',['NextSiblingElement',['../classtinyxml2_1_1_x_m_l_node.html#a1264c86233328f0cd36297552d982f80',1,'tinyxml2::XMLNode::NextSiblingElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#ae41d88ee061f3c49a081630ff753b2c5',1,'tinyxml2::XMLHandle::NextSiblingElement()']]], + ['nochildren',['NoChildren',['../classtinyxml2_1_1_x_m_l_node.html#ac3ab489e6e202a3cd1762d3b332e89d4',1,'tinyxml2::XMLNode']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_b.html b/bfs/tools/tinyxml/docs/search/all_b.html new file mode 100644 index 0000000..0814e4e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_b.js b/bfs/tools/tinyxml/docs/search/all_b.js new file mode 100644 index 0000000..9772c30 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['openelement',['OpenElement',['../classtinyxml2_1_1_x_m_l_printer.html#a20fb06c83bd13e5140d7dd13af06c010',1,'tinyxml2::XMLPrinter']]], + ['operator_3d',['operator=',['../classtinyxml2_1_1_x_m_l_handle.html#a75b908322bb4b83be3281b6845252b20',1,'tinyxml2::XMLHandle']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_c.html b/bfs/tools/tinyxml/docs/search/all_c.html new file mode 100644 index 0000000..da08c38 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_c.js b/bfs/tools/tinyxml/docs/search/all_c.js new file mode 100644 index 0000000..2bc8ffa --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_c.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['parse_20an_20xml_20from_20char_20buffer',['Parse an XML from char buffer',['../_example_2.html',1,'']]], + ['parent',['Parent',['../classtinyxml2_1_1_x_m_l_node.html#ae0f62bc186c56c2e0483ebd52dbfbe34',1,'tinyxml2::XMLNode']]], + ['parse',['Parse',['../classtinyxml2_1_1_x_m_l_document.html#a1819bd34f540a7304c105a6232d25a1f',1,'tinyxml2::XMLDocument']]], + ['previoussibling',['PreviousSibling',['../classtinyxml2_1_1_x_m_l_node.html#aac667c513d445f8b783e1e15ef9d3551',1,'tinyxml2::XMLNode::PreviousSibling()'],['../classtinyxml2_1_1_x_m_l_handle.html#a428374e756f4db4cbc287fec64eae02c',1,'tinyxml2::XMLHandle::PreviousSibling()']]], + ['previoussiblingelement',['PreviousSiblingElement',['../classtinyxml2_1_1_x_m_l_node.html#a872936cae46fb473eb47fec99129fc70',1,'tinyxml2::XMLNode::PreviousSiblingElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a786957e498039554ed334cdc36612a7e',1,'tinyxml2::XMLHandle::PreviousSiblingElement()']]], + ['print',['Print',['../classtinyxml2_1_1_x_m_l_document.html#a867cf5fa3e3ff6ae4847a8b7ee8ec083',1,'tinyxml2::XMLDocument']]], + ['printerror',['PrintError',['../classtinyxml2_1_1_x_m_l_document.html#a1d033945b42e125d933d6231e4571552',1,'tinyxml2::XMLDocument']]], + ['printspace',['PrintSpace',['../classtinyxml2_1_1_x_m_l_printer.html#a01148e2ebe6776e38c5a3e41bc5feb74',1,'tinyxml2::XMLPrinter']]], + ['pushattribute',['PushAttribute',['../classtinyxml2_1_1_x_m_l_printer.html#a9a4e2c9348b42e147629d5a99f4af3f0',1,'tinyxml2::XMLPrinter']]], + ['pushcomment',['PushComment',['../classtinyxml2_1_1_x_m_l_printer.html#afc8416814219591c2fd5656e0c233140',1,'tinyxml2::XMLPrinter']]], + ['pushheader',['PushHeader',['../classtinyxml2_1_1_x_m_l_printer.html#a178c608ce8476043d5d6513819cde903',1,'tinyxml2::XMLPrinter']]], + ['pushtext',['PushText',['../classtinyxml2_1_1_x_m_l_printer.html#a1cc16a9362df4332012cb13cff6441b3',1,'tinyxml2::XMLPrinter::PushText(const char *text, bool cdata=false)'],['../classtinyxml2_1_1_x_m_l_printer.html#a3e0d4d78de25d4cf081009e1431cea7e',1,'tinyxml2::XMLPrinter::PushText(int value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a661fb50e7e0a4918d2d259cb0fae647e',1,'tinyxml2::XMLPrinter::PushText(unsigned value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a96b0a0bfe105154a0a6c37d725258f0a',1,'tinyxml2::XMLPrinter::PushText(int64_t value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a4390e5fa1ed05189a8686647345ab29f',1,'tinyxml2::XMLPrinter::PushText(bool value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a1dbb1390e829d0673af66b9cd1928bd7',1,'tinyxml2::XMLPrinter::PushText(float value)'],['../classtinyxml2_1_1_x_m_l_printer.html#aa715302dfc09473c77c853cbd5431965',1,'tinyxml2::XMLPrinter::PushText(double value)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_d.html b/bfs/tools/tinyxml/docs/search/all_d.html new file mode 100644 index 0000000..9986c9c --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_d.js b/bfs/tools/tinyxml/docs/search/all_d.js new file mode 100644 index 0000000..70858af --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_d.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['queryattribute',['QueryAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a5b7df3bed2b8954eabf227fa204522eb',1,'tinyxml2::XMLElement']]], + ['queryboolattribute',['QueryBoolAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a14c1bb77c39689838be01838d86ca872',1,'tinyxml2::XMLElement']]], + ['querybooltext',['QueryBoolText',['../classtinyxml2_1_1_x_m_l_element.html#a3fe5417d59eb8f5c4afe924b7d332736',1,'tinyxml2::XMLElement']]], + ['queryboolvalue',['QueryBoolValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a5f32e038954256f61c21ff20fd13a09c',1,'tinyxml2::XMLAttribute']]], + ['querydoubleattribute',['QueryDoubleAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a5f0964e2dbd8e2ee7fce9beab689443c',1,'tinyxml2::XMLElement']]], + ['querydoubletext',['QueryDoubleText',['../classtinyxml2_1_1_x_m_l_element.html#a684679c99bb036a25652744cec6c4d96',1,'tinyxml2::XMLElement']]], + ['querydoublevalue',['QueryDoubleValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a2aa6e55e8ea03af0609cf6690bff79b9',1,'tinyxml2::XMLAttribute']]], + ['queryfloatattribute',['QueryFloatAttribute',['../classtinyxml2_1_1_x_m_l_element.html#acd5eeddf6002ef90806af794b9d9a5a5',1,'tinyxml2::XMLElement']]], + ['queryfloattext',['QueryFloatText',['../classtinyxml2_1_1_x_m_l_element.html#afa332afedd93210daa6d44b88eb11e29',1,'tinyxml2::XMLElement']]], + ['queryfloatvalue',['QueryFloatValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a049dea6449a6259b6cfed44a9427b607',1,'tinyxml2::XMLAttribute']]], + ['queryint64attribute',['QueryInt64Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a7c0955d80b6f8d196744eacb0f6e90a8',1,'tinyxml2::XMLElement']]], + ['queryint64text',['QueryInt64Text',['../classtinyxml2_1_1_x_m_l_element.html#a120c538c8eead169e635dbc70fb226d8',1,'tinyxml2::XMLElement']]], + ['queryint64value',['QueryInt64Value',['../classtinyxml2_1_1_x_m_l_attribute.html#a4e25344d6e4159026be34dbddf1dcac2',1,'tinyxml2::XMLAttribute']]], + ['queryintattribute',['QueryIntAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a8a78bc1187c1c45ad89f2690eab567b1',1,'tinyxml2::XMLElement']]], + ['queryinttext',['QueryIntText',['../classtinyxml2_1_1_x_m_l_element.html#a926357996bef633cb736e1a558419632',1,'tinyxml2::XMLElement']]], + ['queryintvalue',['QueryIntValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a6d5176260db00ea301c01af8457cd993',1,'tinyxml2::XMLAttribute']]], + ['querystringattribute',['QueryStringAttribute',['../classtinyxml2_1_1_x_m_l_element.html#adb8ae765f98d0c5037faec48deea78bc',1,'tinyxml2::XMLElement']]], + ['queryunsignedattribute',['QueryUnsignedAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a26fc84cbfba6769dafcfbf256c05e22f',1,'tinyxml2::XMLElement']]], + ['queryunsignedtext',['QueryUnsignedText',['../classtinyxml2_1_1_x_m_l_element.html#a14d38aa4b5e18a46274a27425188a6a1',1,'tinyxml2::XMLElement']]], + ['queryunsignedvalue',['QueryUnsignedValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a48a7f3496f1415832e451bd8d09c9cb9',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_e.html b/bfs/tools/tinyxml/docs/search/all_e.html new file mode 100644 index 0000000..9fa42bb --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_e.js b/bfs/tools/tinyxml/docs/search/all_e.js new file mode 100644 index 0000000..8420c7d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_e.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['read_20attributes_20and_20text_20information_2e',['Read attributes and text information.',['../_example_4.html',1,'']]], + ['rootelement',['RootElement',['../classtinyxml2_1_1_x_m_l_document.html#ad2b70320d3c2a071c2f36928edff3e1c',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/all_f.html b/bfs/tools/tinyxml/docs/search/all_f.html new file mode 100644 index 0000000..6ecfc0e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/all_f.js b/bfs/tools/tinyxml/docs/search/all_f.js new file mode 100644 index 0000000..be8e75d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/all_f.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['savefile',['SaveFile',['../classtinyxml2_1_1_x_m_l_document.html#a73ac416b4a2aa0952e841220eb3da18f',1,'tinyxml2::XMLDocument::SaveFile(const char *filename, bool compact=false)'],['../classtinyxml2_1_1_x_m_l_document.html#a8b95779479a0035acc67b3a61dfe1b74',1,'tinyxml2::XMLDocument::SaveFile(FILE *fp, bool compact=false)']]], + ['setattribute',['SetAttribute',['../classtinyxml2_1_1_x_m_l_attribute.html#a406d2c4a13c7af99a65edb59dd9f7581',1,'tinyxml2::XMLAttribute::SetAttribute(const char *value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ad86d7d7058d76761c3a80662566a57e5',1,'tinyxml2::XMLAttribute::SetAttribute(int value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ae70468c0f6df2748ba3529c716999fae',1,'tinyxml2::XMLAttribute::SetAttribute(unsigned value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#a7c1240f479722b9aa29b6c030aa116c2',1,'tinyxml2::XMLAttribute::SetAttribute(int64_t value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ab3516def4fe058fe328f2b89fc2d77da',1,'tinyxml2::XMLAttribute::SetAttribute(bool value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#a9a65ab3147abe8ccbbd373ce8791e818',1,'tinyxml2::XMLAttribute::SetAttribute(double value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ae95e843313aaf5d56c32530b6456df02',1,'tinyxml2::XMLAttribute::SetAttribute(float value)'],['../classtinyxml2_1_1_x_m_l_element.html#a11943abf2d0831548c3790dd5d9f119c',1,'tinyxml2::XMLElement::SetAttribute(const char *name, const char *value)'],['../classtinyxml2_1_1_x_m_l_element.html#aae6568c64c7f1cc88be8461ba41a79cf',1,'tinyxml2::XMLElement::SetAttribute(const char *name, int value)'],['../classtinyxml2_1_1_x_m_l_element.html#ae143997e90064ba82326b29a9930ea8f',1,'tinyxml2::XMLElement::SetAttribute(const char *name, unsigned value)'],['../classtinyxml2_1_1_x_m_l_element.html#aaeefdf9171fec91b13a776b42299b0dd',1,'tinyxml2::XMLElement::SetAttribute(const char *name, int64_t value)'],['../classtinyxml2_1_1_x_m_l_element.html#aa848b696e6a75e4e545c6da9893b11e1',1,'tinyxml2::XMLElement::SetAttribute(const char *name, bool value)'],['../classtinyxml2_1_1_x_m_l_element.html#a233397ee81e70eb5d4b814c5f8698533',1,'tinyxml2::XMLElement::SetAttribute(const char *name, double value)'],['../classtinyxml2_1_1_x_m_l_element.html#a554b70d882e65b28fc084b23df9b9759',1,'tinyxml2::XMLElement::SetAttribute(const char *name, float value)']]], + ['setbom',['SetBOM',['../classtinyxml2_1_1_x_m_l_document.html#a14419b698f7c4b140df4e80f3f0c93b0',1,'tinyxml2::XMLDocument']]], + ['setcdata',['SetCData',['../classtinyxml2_1_1_x_m_l_text.html#ad080357d76ab7cc59d7651249949329d',1,'tinyxml2::XMLText']]], + ['setname',['SetName',['../classtinyxml2_1_1_x_m_l_element.html#a97712009a530d8cb8a63bf705f02b4f1',1,'tinyxml2::XMLElement']]], + ['settext',['SetText',['../classtinyxml2_1_1_x_m_l_element.html#a1f9c2cd61b72af5ae708d37b7ad283ce',1,'tinyxml2::XMLElement::SetText(const char *inText)'],['../classtinyxml2_1_1_x_m_l_element.html#aeae8917b5ea6060b3c08d4e3d8d632d7',1,'tinyxml2::XMLElement::SetText(int value)'],['../classtinyxml2_1_1_x_m_l_element.html#a7bbfcc11d516598bc924a8fba4d08597',1,'tinyxml2::XMLElement::SetText(unsigned value)'],['../classtinyxml2_1_1_x_m_l_element.html#a7b62cd33acdfeff7ea2b1b330d4368e4',1,'tinyxml2::XMLElement::SetText(int64_t value)'],['../classtinyxml2_1_1_x_m_l_element.html#ae4b543d6770de76fb6ab68e541c192a4',1,'tinyxml2::XMLElement::SetText(bool value)'],['../classtinyxml2_1_1_x_m_l_element.html#a67bd77ac9aaeff58ff20b4275a65ba4e',1,'tinyxml2::XMLElement::SetText(double value)'],['../classtinyxml2_1_1_x_m_l_element.html#a51d560da5ae3ad6b75e0ab9ffb2ae42a',1,'tinyxml2::XMLElement::SetText(float value)']]], + ['setuserdata',['SetUserData',['../classtinyxml2_1_1_x_m_l_node.html#a002978fc889cc011d143185f2377eca2',1,'tinyxml2::XMLNode']]], + ['setvalue',['SetValue',['../classtinyxml2_1_1_x_m_l_node.html#a09dd68cf9eae137579f6e50f36487513',1,'tinyxml2::XMLNode']]], + ['shallowclone',['ShallowClone',['../classtinyxml2_1_1_x_m_l_node.html#a8402cbd3129d20e9e6024bbcc0531283',1,'tinyxml2::XMLNode::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_text.html#af3a81ed4dd49d5151c477b3f265a3011',1,'tinyxml2::XMLText::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_comment.html#a08991cc63fadf7e95078ac4f9ea1b073',1,'tinyxml2::XMLComment::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a118d47518dd9e522644e42efa259aed7',1,'tinyxml2::XMLDeclaration::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a0125f41c89763dea06619b5fd5246b4c',1,'tinyxml2::XMLUnknown::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_element.html#ac035742d68b0c50c3f676374e59fe750',1,'tinyxml2::XMLElement::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_document.html#aa37cc1709d7e1e988bc17dcfb24a69b8',1,'tinyxml2::XMLDocument::ShallowClone()']]], + ['shallowequal',['ShallowEqual',['../classtinyxml2_1_1_x_m_l_node.html#a7ce18b751c3ea09eac292dca264f9226',1,'tinyxml2::XMLNode::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_text.html#ae0fff8a24e2de7eb073fd192e9db0331',1,'tinyxml2::XMLText::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_comment.html#a6f7d227b25afa8cc3c763b7cc8833739',1,'tinyxml2::XMLComment::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_declaration.html#aa26b70011694e9b9e9480b929e9b78d6',1,'tinyxml2::XMLDeclaration::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a0715ab2c05d7f74845c188122213b116',1,'tinyxml2::XMLUnknown::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_element.html#ad9ea913a460b48979bd83cf9871c99f6',1,'tinyxml2::XMLElement::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_document.html#a6fe5ef18699091844fcf64b56ffa5bf9',1,'tinyxml2::XMLDocument::ShallowEqual()']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/classes_0.html b/bfs/tools/tinyxml/docs/search/classes_0.html new file mode 100644 index 0000000..1c3e406 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/classes_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/classes_0.js b/bfs/tools/tinyxml/docs/search/classes_0.js new file mode 100644 index 0000000..e1d0d44 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/classes_0.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['xmlattribute',['XMLAttribute',['../classtinyxml2_1_1_x_m_l_attribute.html',1,'tinyxml2']]], + ['xmlcomment',['XMLComment',['../classtinyxml2_1_1_x_m_l_comment.html',1,'tinyxml2']]], + ['xmlconsthandle',['XMLConstHandle',['../classtinyxml2_1_1_x_m_l_const_handle.html',1,'tinyxml2']]], + ['xmldeclaration',['XMLDeclaration',['../classtinyxml2_1_1_x_m_l_declaration.html',1,'tinyxml2']]], + ['xmldocument',['XMLDocument',['../classtinyxml2_1_1_x_m_l_document.html',1,'tinyxml2']]], + ['xmlelement',['XMLElement',['../classtinyxml2_1_1_x_m_l_element.html',1,'tinyxml2']]], + ['xmlhandle',['XMLHandle',['../classtinyxml2_1_1_x_m_l_handle.html',1,'tinyxml2']]], + ['xmlnode',['XMLNode',['../classtinyxml2_1_1_x_m_l_node.html',1,'tinyxml2']]], + ['xmlprinter',['XMLPrinter',['../classtinyxml2_1_1_x_m_l_printer.html',1,'tinyxml2']]], + ['xmltext',['XMLText',['../classtinyxml2_1_1_x_m_l_text.html',1,'tinyxml2']]], + ['xmlunknown',['XMLUnknown',['../classtinyxml2_1_1_x_m_l_unknown.html',1,'tinyxml2']]], + ['xmlvisitor',['XMLVisitor',['../classtinyxml2_1_1_x_m_l_visitor.html',1,'tinyxml2']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/close.png b/bfs/tools/tinyxml/docs/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/bfs/tools/tinyxml/docs/search/close.png differ diff --git a/bfs/tools/tinyxml/docs/search/functions_0.html b/bfs/tools/tinyxml/docs/search/functions_0.html new file mode 100644 index 0000000..4e6d87d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_0.js b/bfs/tools/tinyxml/docs/search/functions_0.js new file mode 100644 index 0000000..28cfce2 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['accept',['Accept',['../classtinyxml2_1_1_x_m_l_node.html#a81e66df0a44c67a7af17f3b77a152785',1,'tinyxml2::XMLNode::Accept()'],['../classtinyxml2_1_1_x_m_l_text.html#a1b2c1448f1a21299d0a7913f18b55206',1,'tinyxml2::XMLText::Accept()'],['../classtinyxml2_1_1_x_m_l_comment.html#a4a33dc32fae0285b03f9cfcb3e43e122',1,'tinyxml2::XMLComment::Accept()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a5f376019fb34752eb248548f42f32045',1,'tinyxml2::XMLDeclaration::Accept()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a70983aa1b1cff3d3aa6d4d0a80e5ee48',1,'tinyxml2::XMLUnknown::Accept()'],['../classtinyxml2_1_1_x_m_l_element.html#a3ea8a40e788fb9ad876c28a32932c6d5',1,'tinyxml2::XMLElement::Accept()'],['../classtinyxml2_1_1_x_m_l_document.html#a9efa54f7ecb37c17ab1fa2b3078ccca1',1,'tinyxml2::XMLDocument::Accept()']]], + ['attribute',['Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a70e49ed60b11212ae35f7e354cfe1de9',1,'tinyxml2::XMLElement']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_1.html b/bfs/tools/tinyxml/docs/search/functions_1.html new file mode 100644 index 0000000..b343e2d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_1.js b/bfs/tools/tinyxml/docs/search/functions_1.js new file mode 100644 index 0000000..2f5497b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['boolattribute',['BoolAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a53eda26131e1ad1031ef8ec8adb51bd8',1,'tinyxml2::XMLElement']]], + ['booltext',['BoolText',['../classtinyxml2_1_1_x_m_l_element.html#a68569f59f6382bcea7f5013ec59736d2',1,'tinyxml2::XMLElement']]], + ['boolvalue',['BoolValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a98ce5207344ad33a265b0422addae1ff',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_10.html b/bfs/tools/tinyxml/docs/search/functions_10.html new file mode 100644 index 0000000..72bc1ea --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_10.js b/bfs/tools/tinyxml/docs/search/functions_10.js new file mode 100644 index 0000000..b5500db --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_10.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['tocomment',['ToComment',['../classtinyxml2_1_1_x_m_l_node.html#aff47671055aa99840a1c1ebd661e63e3',1,'tinyxml2::XMLNode::ToComment()'],['../classtinyxml2_1_1_x_m_l_comment.html#a8093e1dc8a34fa446d9dc3fde0e6c0ee',1,'tinyxml2::XMLComment::ToComment()']]], + ['todeclaration',['ToDeclaration',['../classtinyxml2_1_1_x_m_l_node.html#a174fd4c22c010b58138c1b84a0dfbd51',1,'tinyxml2::XMLNode::ToDeclaration()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a159d8ac45865215e88059ea1e5b52fc5',1,'tinyxml2::XMLDeclaration::ToDeclaration()'],['../classtinyxml2_1_1_x_m_l_handle.html#a108858be7ee3eb53f73b5194c1aa8ff0',1,'tinyxml2::XMLHandle::ToDeclaration()']]], + ['todocument',['ToDocument',['../classtinyxml2_1_1_x_m_l_node.html#a836e2966ed736fc3c94f70e12a2a3357',1,'tinyxml2::XMLNode::ToDocument()'],['../classtinyxml2_1_1_x_m_l_document.html#a3e185f880882bd978367bb55937735ec',1,'tinyxml2::XMLDocument::ToDocument()']]], + ['toelement',['ToElement',['../classtinyxml2_1_1_x_m_l_node.html#aab516e699567f75cc9ab2ef2eee501e8',1,'tinyxml2::XMLNode::ToElement()'],['../classtinyxml2_1_1_x_m_l_element.html#ad9ff5c2dbc15df36cf664ce1b0ea0a5d',1,'tinyxml2::XMLElement::ToElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a5e73ed8f3f6f9619d5a8bb1862c47d99',1,'tinyxml2::XMLHandle::ToElement()']]], + ['tonode',['ToNode',['../classtinyxml2_1_1_x_m_l_handle.html#a03ea6ec970a021b71bf1219a0f6717df',1,'tinyxml2::XMLHandle']]], + ['totext',['ToText',['../classtinyxml2_1_1_x_m_l_node.html#a41c55dab9162d1eb62db2008430e376b',1,'tinyxml2::XMLNode::ToText()'],['../classtinyxml2_1_1_x_m_l_text.html#ab1213b4ddebe9b17ec7e7040e9f1caf7',1,'tinyxml2::XMLText::ToText()'],['../classtinyxml2_1_1_x_m_l_handle.html#a6ab9e8cbfb41417246e5657e3842c62a',1,'tinyxml2::XMLHandle::ToText()']]], + ['tounknown',['ToUnknown',['../classtinyxml2_1_1_x_m_l_node.html#a8675a74aa0ada6eccab0c77ef3e5b9bd',1,'tinyxml2::XMLNode::ToUnknown()'],['../classtinyxml2_1_1_x_m_l_unknown.html#af4374856421921cad578c8affae872b6',1,'tinyxml2::XMLUnknown::ToUnknown()'],['../classtinyxml2_1_1_x_m_l_handle.html#aa387368a1ad8d843a9f12df863d298de',1,'tinyxml2::XMLHandle::ToUnknown()']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_11.html b/bfs/tools/tinyxml/docs/search/functions_11.html new file mode 100644 index 0000000..6948a61 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_11.js b/bfs/tools/tinyxml/docs/search/functions_11.js new file mode 100644 index 0000000..7e35c72 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_11.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['unsignedattribute',['UnsignedAttribute',['../classtinyxml2_1_1_x_m_l_element.html#afea43a1d4aa33e3703ddee5fc9adc26c',1,'tinyxml2::XMLElement']]], + ['unsignedtext',['UnsignedText',['../classtinyxml2_1_1_x_m_l_element.html#a49bad014ffcc17b0b6119d5b2c97dfb5',1,'tinyxml2::XMLElement']]], + ['unsignedvalue',['UnsignedValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a0be5343b08a957c42c02c5d32c35d338',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_12.html b/bfs/tools/tinyxml/docs/search/functions_12.html new file mode 100644 index 0000000..3df8489 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_12.js b/bfs/tools/tinyxml/docs/search/functions_12.js new file mode 100644 index 0000000..bc84876 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_12.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['value',['Value',['../classtinyxml2_1_1_x_m_l_node.html#a66344989a4b436155bcda72bd6b07b82',1,'tinyxml2::XMLNode::Value()'],['../classtinyxml2_1_1_x_m_l_attribute.html#a1aab1dd0e43ecbcfa306adbcf3a3d853',1,'tinyxml2::XMLAttribute::Value()']]], + ['visit',['Visit',['../classtinyxml2_1_1_x_m_l_visitor.html#adc75bd459fc7ba8223b50f0616767f9a',1,'tinyxml2::XMLVisitor::Visit(const XMLDeclaration &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#af30233565856480ea48b6fa0d6dec65b',1,'tinyxml2::XMLVisitor::Visit(const XMLText &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#acc8147fb5a85f6c65721654e427752d7',1,'tinyxml2::XMLVisitor::Visit(const XMLComment &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#a14e4748387c34bf53d24e8119bb1f292',1,'tinyxml2::XMLVisitor::Visit(const XMLUnknown &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a275ae25544a12199ae40b6994ca6e4de',1,'tinyxml2::XMLPrinter::Visit(const XMLText &text)'],['../classtinyxml2_1_1_x_m_l_printer.html#a3f16a30be1537ac141d9bd2db824ba9e',1,'tinyxml2::XMLPrinter::Visit(const XMLComment &comment)'],['../classtinyxml2_1_1_x_m_l_printer.html#a9ceff5cd85e5db65838962174fcdcc46',1,'tinyxml2::XMLPrinter::Visit(const XMLDeclaration &declaration)'],['../classtinyxml2_1_1_x_m_l_printer.html#aa15e1da81e17dea5da6499ac5b08d9d8',1,'tinyxml2::XMLPrinter::Visit(const XMLUnknown &unknown)']]], + ['visitenter',['VisitEnter',['../classtinyxml2_1_1_x_m_l_visitor.html#acb3c22fc5f60eb9db98f533f2761f67d',1,'tinyxml2::XMLVisitor::VisitEnter(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#af97980a17dd4e37448b181f5ddfa92b5',1,'tinyxml2::XMLVisitor::VisitEnter(const XMLElement &, const XMLAttribute *)'],['../classtinyxml2_1_1_x_m_l_printer.html#ae966b988a7a28c41e91c5ca17fb2054b',1,'tinyxml2::XMLPrinter::VisitEnter(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a2ce2aa508c21ac91615093ddb9c282c5',1,'tinyxml2::XMLPrinter::VisitEnter(const XMLElement &element, const XMLAttribute *attribute)']]], + ['visitexit',['VisitExit',['../classtinyxml2_1_1_x_m_l_visitor.html#a170e9989cd046ba904f302d087e07086',1,'tinyxml2::XMLVisitor::VisitExit(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_visitor.html#a772f10ddc83f881956d32628faa16eb6',1,'tinyxml2::XMLVisitor::VisitExit(const XMLElement &)'],['../classtinyxml2_1_1_x_m_l_printer.html#a15fc1f2b922f540917dcf52808737b29',1,'tinyxml2::XMLPrinter::VisitExit(const XMLDocument &)'],['../classtinyxml2_1_1_x_m_l_printer.html#ae99e0a7086543591edfb565f24689098',1,'tinyxml2::XMLPrinter::VisitExit(const XMLElement &element)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_13.html b/bfs/tools/tinyxml/docs/search/functions_13.html new file mode 100644 index 0000000..febf8e0 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_13.js b/bfs/tools/tinyxml/docs/search/functions_13.js new file mode 100644 index 0000000..3c26364 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_13.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['xmldocument',['XMLDocument',['../classtinyxml2_1_1_x_m_l_document.html#a57ddf17b6e054dda10af98991b1b8f70',1,'tinyxml2::XMLDocument']]], + ['xmlhandle',['XMLHandle',['../classtinyxml2_1_1_x_m_l_handle.html#a9c240a35c18f053509b4b97ddccd9793',1,'tinyxml2::XMLHandle::XMLHandle(XMLNode *node)'],['../classtinyxml2_1_1_x_m_l_handle.html#aa2edbc1c0d3e3e8259bd98de7f1cf500',1,'tinyxml2::XMLHandle::XMLHandle(XMLNode &node)'],['../classtinyxml2_1_1_x_m_l_handle.html#afd8e01e6018c07347b8e6d80272466aa',1,'tinyxml2::XMLHandle::XMLHandle(const XMLHandle &ref)']]], + ['xmlprinter',['XMLPrinter',['../classtinyxml2_1_1_x_m_l_printer.html#aa6d3841c069085f5b8a27bc7103c04f7',1,'tinyxml2::XMLPrinter']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_2.html b/bfs/tools/tinyxml/docs/search/functions_2.html new file mode 100644 index 0000000..ecce2f3 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_2.js b/bfs/tools/tinyxml/docs/search/functions_2.js new file mode 100644 index 0000000..62ab567 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_2.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['cdata',['CData',['../classtinyxml2_1_1_x_m_l_text.html#ac1bb5ea4166c320882d9e0ad16fd385b',1,'tinyxml2::XMLText']]], + ['clear',['Clear',['../classtinyxml2_1_1_x_m_l_document.html#a65656b0b2cbc822708eb351504178aaf',1,'tinyxml2::XMLDocument']]], + ['clearbuffer',['ClearBuffer',['../classtinyxml2_1_1_x_m_l_printer.html#a216157765b7267bf389975b1cbf9a909',1,'tinyxml2::XMLPrinter']]], + ['closeelement',['CloseElement',['../classtinyxml2_1_1_x_m_l_printer.html#ad04d29562b46fcdb23ab320f8b664240',1,'tinyxml2::XMLPrinter']]], + ['cstr',['CStr',['../classtinyxml2_1_1_x_m_l_printer.html#a180671d73844f159f2d4aafbc11d106e',1,'tinyxml2::XMLPrinter']]], + ['cstrsize',['CStrSize',['../classtinyxml2_1_1_x_m_l_printer.html#a3256cf3523d4898b91abb18b924be04c',1,'tinyxml2::XMLPrinter']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_3.html b/bfs/tools/tinyxml/docs/search/functions_3.html new file mode 100644 index 0000000..15f06ab --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_3.js b/bfs/tools/tinyxml/docs/search/functions_3.js new file mode 100644 index 0000000..0c8c9f9 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_3.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['deepclone',['DeepClone',['../classtinyxml2_1_1_x_m_l_node.html#a62c71b6bf8734b5424063b8d9a61c266',1,'tinyxml2::XMLNode']]], + ['deepcopy',['DeepCopy',['../classtinyxml2_1_1_x_m_l_document.html#af592ffc91514e25a39664521ac83db45',1,'tinyxml2::XMLDocument']]], + ['deleteattribute',['DeleteAttribute',['../classtinyxml2_1_1_x_m_l_element.html#aebd45aa7118964c30b32fe12e944628a',1,'tinyxml2::XMLElement']]], + ['deletechild',['DeleteChild',['../classtinyxml2_1_1_x_m_l_node.html#a363b6edbd6ebd55f8387d2b89f2b0921',1,'tinyxml2::XMLNode']]], + ['deletechildren',['DeleteChildren',['../classtinyxml2_1_1_x_m_l_node.html#a0360085cc54df5bff85d5c5da13afdce',1,'tinyxml2::XMLNode']]], + ['deletenode',['DeleteNode',['../classtinyxml2_1_1_x_m_l_document.html#ac1d6e2c7fcc1a660624ac4f68e96380d',1,'tinyxml2::XMLDocument']]], + ['doubleattribute',['DoubleAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a10a90c505aea716bf073eea1c97f33b5',1,'tinyxml2::XMLElement']]], + ['doubletext',['DoubleText',['../classtinyxml2_1_1_x_m_l_element.html#a81b1ff0cf2f2cd09be8badc08b39a2b7',1,'tinyxml2::XMLElement']]], + ['doublevalue',['DoubleValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a4aa73513f54ff0087d3e804f0f54e30f',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_4.html b/bfs/tools/tinyxml/docs/search/functions_4.html new file mode 100644 index 0000000..8985ff2 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_4.js b/bfs/tools/tinyxml/docs/search/functions_4.js new file mode 100644 index 0000000..47e3245 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_4.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['error',['Error',['../classtinyxml2_1_1_x_m_l_document.html#a34e6318e182e40e3cc4f4ba5d59ed9ed',1,'tinyxml2::XMLDocument']]], + ['errorid',['ErrorID',['../classtinyxml2_1_1_x_m_l_document.html#afa3ed33b3107f920ec2b301f805ac17d',1,'tinyxml2::XMLDocument']]], + ['errorlinenum',['ErrorLineNum',['../classtinyxml2_1_1_x_m_l_document.html#a57400f816dbe7799ece33615ead9ab76',1,'tinyxml2::XMLDocument']]], + ['errorstr',['ErrorStr',['../classtinyxml2_1_1_x_m_l_document.html#ad75aa9d32c4e8b300655186808aa9abf',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_5.html b/bfs/tools/tinyxml/docs/search/functions_5.html new file mode 100644 index 0000000..0314918 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_5.js b/bfs/tools/tinyxml/docs/search/functions_5.js new file mode 100644 index 0000000..182bbfe --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_5.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['findattribute',['FindAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a2dcd4d5d6fb63396cd2f257c318b42c4',1,'tinyxml2::XMLElement']]], + ['firstattribute',['FirstAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a3e191704c8d499906ec11fe2f60c6686',1,'tinyxml2::XMLElement']]], + ['firstchild',['FirstChild',['../classtinyxml2_1_1_x_m_l_node.html#ae7dc225e1018cdd685f7563593a1fe08',1,'tinyxml2::XMLNode::FirstChild()'],['../classtinyxml2_1_1_x_m_l_handle.html#a536447dc7f54c0cd11e031dad94795ae',1,'tinyxml2::XMLHandle::FirstChild()']]], + ['firstchildelement',['FirstChildElement',['../classtinyxml2_1_1_x_m_l_node.html#a1795a35852dc8aae877cc8ded986e59b',1,'tinyxml2::XMLNode::FirstChildElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a74b04dd0f15e0bf01860e282b840b6a3',1,'tinyxml2::XMLHandle::FirstChildElement()']]], + ['floatattribute',['FloatAttribute',['../classtinyxml2_1_1_x_m_l_element.html#ab1f4be2332e27dc640e9b6abd01d64dd',1,'tinyxml2::XMLElement']]], + ['floattext',['FloatText',['../classtinyxml2_1_1_x_m_l_element.html#a45444eb21f99ca46101545992dc2e927',1,'tinyxml2::XMLElement']]], + ['floatvalue',['FloatValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a27797b45d21c981257720db94f5f8801',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_6.html b/bfs/tools/tinyxml/docs/search/functions_6.html new file mode 100644 index 0000000..c506123 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_6.js b/bfs/tools/tinyxml/docs/search/functions_6.js new file mode 100644 index 0000000..e733119 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_6.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['getdocument',['GetDocument',['../classtinyxml2_1_1_x_m_l_node.html#a2de84cfa4ec3fe249bad745069d145f1',1,'tinyxml2::XMLNode::GetDocument() const'],['../classtinyxml2_1_1_x_m_l_node.html#af343d1ef0b45c0020e62d784d7e67a68',1,'tinyxml2::XMLNode::GetDocument()']]], + ['getlinenum',['GetLineNum',['../classtinyxml2_1_1_x_m_l_node.html#a9b5fc636646fda761d342c72e91cb286',1,'tinyxml2::XMLNode::GetLineNum()'],['../classtinyxml2_1_1_x_m_l_attribute.html#a02d5ea924586e35f9c13857d1671b765',1,'tinyxml2::XMLAttribute::GetLineNum()']]], + ['gettext',['GetText',['../classtinyxml2_1_1_x_m_l_element.html#a6d5c8d115561ade4e4456b71d91b6f51',1,'tinyxml2::XMLElement']]], + ['getuserdata',['GetUserData',['../classtinyxml2_1_1_x_m_l_node.html#a7f0687574afa03bc479dc44f29db0afe',1,'tinyxml2::XMLNode']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_7.html b/bfs/tools/tinyxml/docs/search/functions_7.html new file mode 100644 index 0000000..83a7b84 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_7.js b/bfs/tools/tinyxml/docs/search/functions_7.js new file mode 100644 index 0000000..b7d6d1f --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['hasbom',['HasBOM',['../classtinyxml2_1_1_x_m_l_document.html#a33fc5d159db873a179fa26338adb05bd',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_8.html b/bfs/tools/tinyxml/docs/search/functions_8.html new file mode 100644 index 0000000..b55f0e6 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_8.js b/bfs/tools/tinyxml/docs/search/functions_8.js new file mode 100644 index 0000000..b1519d5 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_8.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['insertafterchild',['InsertAfterChild',['../classtinyxml2_1_1_x_m_l_node.html#a85adb8f0b7477eec30f9a41d420b09c2',1,'tinyxml2::XMLNode']]], + ['insertendchild',['InsertEndChild',['../classtinyxml2_1_1_x_m_l_node.html#aeb249ed60f4e8bfad3709151c3ee4286',1,'tinyxml2::XMLNode']]], + ['insertfirstchild',['InsertFirstChild',['../classtinyxml2_1_1_x_m_l_node.html#a8ff7dc071f3a1a6ae2ac25a37492865d',1,'tinyxml2::XMLNode']]], + ['int64attribute',['Int64Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a66d96972adecd816194191f13cc4a0a0',1,'tinyxml2::XMLElement']]], + ['int64text',['Int64Text',['../classtinyxml2_1_1_x_m_l_element.html#aab6151f7e3b4c2c0a8234e262d7b6b8a',1,'tinyxml2::XMLElement']]], + ['intattribute',['IntAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a95a89b13bb14a2d4655e2b5b406c00d4',1,'tinyxml2::XMLElement']]], + ['intvalue',['IntValue',['../classtinyxml2_1_1_x_m_l_attribute.html#adfa2433f0fdafd5c3880936de9affa80',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_9.html b/bfs/tools/tinyxml/docs/search/functions_9.html new file mode 100644 index 0000000..c73f07b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_9.js b/bfs/tools/tinyxml/docs/search/functions_9.js new file mode 100644 index 0000000..42991e3 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_9.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['lastchild',['LastChild',['../classtinyxml2_1_1_x_m_l_node.html#a9b8583a277e8e26f4cbbb5492786778e',1,'tinyxml2::XMLNode::LastChild()'],['../classtinyxml2_1_1_x_m_l_handle.html#a9d09f04435f0f2f7d0816b0198d0517b',1,'tinyxml2::XMLHandle::LastChild()']]], + ['lastchildelement',['LastChildElement',['../classtinyxml2_1_1_x_m_l_node.html#a173e9d1341bc56992e2d320a35936551',1,'tinyxml2::XMLNode::LastChildElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a42cccd0ce8b1ce704f431025e9f19e0c',1,'tinyxml2::XMLHandle::LastChildElement()']]], + ['loadfile',['LoadFile',['../classtinyxml2_1_1_x_m_l_document.html#a2ebd4647a8af5fc6831b294ac26a150a',1,'tinyxml2::XMLDocument::LoadFile(const char *filename)'],['../classtinyxml2_1_1_x_m_l_document.html#a5f1d330fad44c52f3d265338dd2a6dc2',1,'tinyxml2::XMLDocument::LoadFile(FILE *)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_a.html b/bfs/tools/tinyxml/docs/search/functions_a.html new file mode 100644 index 0000000..f10ad63 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_a.js b/bfs/tools/tinyxml/docs/search/functions_a.js new file mode 100644 index 0000000..953470a --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_a.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['name',['Name',['../classtinyxml2_1_1_x_m_l_attribute.html#ab886c486ec19f02ed826f8dc129e5ad8',1,'tinyxml2::XMLAttribute::Name()'],['../classtinyxml2_1_1_x_m_l_element.html#a63e057fb5baee1dd29f323cb85907b35',1,'tinyxml2::XMLElement::Name()']]], + ['newcomment',['NewComment',['../classtinyxml2_1_1_x_m_l_document.html#ade4874bcb439954972ef2b3723ff3259',1,'tinyxml2::XMLDocument']]], + ['newdeclaration',['NewDeclaration',['../classtinyxml2_1_1_x_m_l_document.html#aee2eb3435923f5494dcc70ac225b60a2',1,'tinyxml2::XMLDocument']]], + ['newelement',['NewElement',['../classtinyxml2_1_1_x_m_l_document.html#a8aa7817d4a1001364b06373763ab99d6',1,'tinyxml2::XMLDocument']]], + ['newtext',['NewText',['../classtinyxml2_1_1_x_m_l_document.html#ab7e8b29ae4099092a8bb947da6361296',1,'tinyxml2::XMLDocument']]], + ['newunknown',['NewUnknown',['../classtinyxml2_1_1_x_m_l_document.html#a5385c937734ff6db9226ab707d2c7147',1,'tinyxml2::XMLDocument']]], + ['next',['Next',['../classtinyxml2_1_1_x_m_l_attribute.html#aee53571b21e7ce5421eb929523a8bbe6',1,'tinyxml2::XMLAttribute']]], + ['nextsibling',['NextSibling',['../classtinyxml2_1_1_x_m_l_node.html#a79db9ef0fe014d27790f2218b87bcbb5',1,'tinyxml2::XMLNode::NextSibling()'],['../classtinyxml2_1_1_x_m_l_handle.html#aad2eccc7c7c7b18145877c978c3850b5',1,'tinyxml2::XMLHandle::NextSibling()']]], + ['nextsiblingelement',['NextSiblingElement',['../classtinyxml2_1_1_x_m_l_node.html#a1264c86233328f0cd36297552d982f80',1,'tinyxml2::XMLNode::NextSiblingElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#ae41d88ee061f3c49a081630ff753b2c5',1,'tinyxml2::XMLHandle::NextSiblingElement()']]], + ['nochildren',['NoChildren',['../classtinyxml2_1_1_x_m_l_node.html#ac3ab489e6e202a3cd1762d3b332e89d4',1,'tinyxml2::XMLNode']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_b.html b/bfs/tools/tinyxml/docs/search/functions_b.html new file mode 100644 index 0000000..172ea1b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_b.js b/bfs/tools/tinyxml/docs/search/functions_b.js new file mode 100644 index 0000000..9772c30 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['openelement',['OpenElement',['../classtinyxml2_1_1_x_m_l_printer.html#a20fb06c83bd13e5140d7dd13af06c010',1,'tinyxml2::XMLPrinter']]], + ['operator_3d',['operator=',['../classtinyxml2_1_1_x_m_l_handle.html#a75b908322bb4b83be3281b6845252b20',1,'tinyxml2::XMLHandle']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_c.html b/bfs/tools/tinyxml/docs/search/functions_c.html new file mode 100644 index 0000000..99492ba --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_c.js b/bfs/tools/tinyxml/docs/search/functions_c.js new file mode 100644 index 0000000..ce9baee --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_c.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['parent',['Parent',['../classtinyxml2_1_1_x_m_l_node.html#ae0f62bc186c56c2e0483ebd52dbfbe34',1,'tinyxml2::XMLNode']]], + ['parse',['Parse',['../classtinyxml2_1_1_x_m_l_document.html#a1819bd34f540a7304c105a6232d25a1f',1,'tinyxml2::XMLDocument']]], + ['previoussibling',['PreviousSibling',['../classtinyxml2_1_1_x_m_l_node.html#aac667c513d445f8b783e1e15ef9d3551',1,'tinyxml2::XMLNode::PreviousSibling()'],['../classtinyxml2_1_1_x_m_l_handle.html#a428374e756f4db4cbc287fec64eae02c',1,'tinyxml2::XMLHandle::PreviousSibling()']]], + ['previoussiblingelement',['PreviousSiblingElement',['../classtinyxml2_1_1_x_m_l_node.html#a872936cae46fb473eb47fec99129fc70',1,'tinyxml2::XMLNode::PreviousSiblingElement()'],['../classtinyxml2_1_1_x_m_l_handle.html#a786957e498039554ed334cdc36612a7e',1,'tinyxml2::XMLHandle::PreviousSiblingElement()']]], + ['print',['Print',['../classtinyxml2_1_1_x_m_l_document.html#a867cf5fa3e3ff6ae4847a8b7ee8ec083',1,'tinyxml2::XMLDocument']]], + ['printerror',['PrintError',['../classtinyxml2_1_1_x_m_l_document.html#a1d033945b42e125d933d6231e4571552',1,'tinyxml2::XMLDocument']]], + ['printspace',['PrintSpace',['../classtinyxml2_1_1_x_m_l_printer.html#a01148e2ebe6776e38c5a3e41bc5feb74',1,'tinyxml2::XMLPrinter']]], + ['pushattribute',['PushAttribute',['../classtinyxml2_1_1_x_m_l_printer.html#a9a4e2c9348b42e147629d5a99f4af3f0',1,'tinyxml2::XMLPrinter']]], + ['pushcomment',['PushComment',['../classtinyxml2_1_1_x_m_l_printer.html#afc8416814219591c2fd5656e0c233140',1,'tinyxml2::XMLPrinter']]], + ['pushheader',['PushHeader',['../classtinyxml2_1_1_x_m_l_printer.html#a178c608ce8476043d5d6513819cde903',1,'tinyxml2::XMLPrinter']]], + ['pushtext',['PushText',['../classtinyxml2_1_1_x_m_l_printer.html#a1cc16a9362df4332012cb13cff6441b3',1,'tinyxml2::XMLPrinter::PushText(const char *text, bool cdata=false)'],['../classtinyxml2_1_1_x_m_l_printer.html#a3e0d4d78de25d4cf081009e1431cea7e',1,'tinyxml2::XMLPrinter::PushText(int value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a661fb50e7e0a4918d2d259cb0fae647e',1,'tinyxml2::XMLPrinter::PushText(unsigned value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a96b0a0bfe105154a0a6c37d725258f0a',1,'tinyxml2::XMLPrinter::PushText(int64_t value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a4390e5fa1ed05189a8686647345ab29f',1,'tinyxml2::XMLPrinter::PushText(bool value)'],['../classtinyxml2_1_1_x_m_l_printer.html#a1dbb1390e829d0673af66b9cd1928bd7',1,'tinyxml2::XMLPrinter::PushText(float value)'],['../classtinyxml2_1_1_x_m_l_printer.html#aa715302dfc09473c77c853cbd5431965',1,'tinyxml2::XMLPrinter::PushText(double value)']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_d.html b/bfs/tools/tinyxml/docs/search/functions_d.html new file mode 100644 index 0000000..5be9ecc --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_d.js b/bfs/tools/tinyxml/docs/search/functions_d.js new file mode 100644 index 0000000..70858af --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_d.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['queryattribute',['QueryAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a5b7df3bed2b8954eabf227fa204522eb',1,'tinyxml2::XMLElement']]], + ['queryboolattribute',['QueryBoolAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a14c1bb77c39689838be01838d86ca872',1,'tinyxml2::XMLElement']]], + ['querybooltext',['QueryBoolText',['../classtinyxml2_1_1_x_m_l_element.html#a3fe5417d59eb8f5c4afe924b7d332736',1,'tinyxml2::XMLElement']]], + ['queryboolvalue',['QueryBoolValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a5f32e038954256f61c21ff20fd13a09c',1,'tinyxml2::XMLAttribute']]], + ['querydoubleattribute',['QueryDoubleAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a5f0964e2dbd8e2ee7fce9beab689443c',1,'tinyxml2::XMLElement']]], + ['querydoubletext',['QueryDoubleText',['../classtinyxml2_1_1_x_m_l_element.html#a684679c99bb036a25652744cec6c4d96',1,'tinyxml2::XMLElement']]], + ['querydoublevalue',['QueryDoubleValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a2aa6e55e8ea03af0609cf6690bff79b9',1,'tinyxml2::XMLAttribute']]], + ['queryfloatattribute',['QueryFloatAttribute',['../classtinyxml2_1_1_x_m_l_element.html#acd5eeddf6002ef90806af794b9d9a5a5',1,'tinyxml2::XMLElement']]], + ['queryfloattext',['QueryFloatText',['../classtinyxml2_1_1_x_m_l_element.html#afa332afedd93210daa6d44b88eb11e29',1,'tinyxml2::XMLElement']]], + ['queryfloatvalue',['QueryFloatValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a049dea6449a6259b6cfed44a9427b607',1,'tinyxml2::XMLAttribute']]], + ['queryint64attribute',['QueryInt64Attribute',['../classtinyxml2_1_1_x_m_l_element.html#a7c0955d80b6f8d196744eacb0f6e90a8',1,'tinyxml2::XMLElement']]], + ['queryint64text',['QueryInt64Text',['../classtinyxml2_1_1_x_m_l_element.html#a120c538c8eead169e635dbc70fb226d8',1,'tinyxml2::XMLElement']]], + ['queryint64value',['QueryInt64Value',['../classtinyxml2_1_1_x_m_l_attribute.html#a4e25344d6e4159026be34dbddf1dcac2',1,'tinyxml2::XMLAttribute']]], + ['queryintattribute',['QueryIntAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a8a78bc1187c1c45ad89f2690eab567b1',1,'tinyxml2::XMLElement']]], + ['queryinttext',['QueryIntText',['../classtinyxml2_1_1_x_m_l_element.html#a926357996bef633cb736e1a558419632',1,'tinyxml2::XMLElement']]], + ['queryintvalue',['QueryIntValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a6d5176260db00ea301c01af8457cd993',1,'tinyxml2::XMLAttribute']]], + ['querystringattribute',['QueryStringAttribute',['../classtinyxml2_1_1_x_m_l_element.html#adb8ae765f98d0c5037faec48deea78bc',1,'tinyxml2::XMLElement']]], + ['queryunsignedattribute',['QueryUnsignedAttribute',['../classtinyxml2_1_1_x_m_l_element.html#a26fc84cbfba6769dafcfbf256c05e22f',1,'tinyxml2::XMLElement']]], + ['queryunsignedtext',['QueryUnsignedText',['../classtinyxml2_1_1_x_m_l_element.html#a14d38aa4b5e18a46274a27425188a6a1',1,'tinyxml2::XMLElement']]], + ['queryunsignedvalue',['QueryUnsignedValue',['../classtinyxml2_1_1_x_m_l_attribute.html#a48a7f3496f1415832e451bd8d09c9cb9',1,'tinyxml2::XMLAttribute']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_e.html b/bfs/tools/tinyxml/docs/search/functions_e.html new file mode 100644 index 0000000..e256cb6 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_e.js b/bfs/tools/tinyxml/docs/search/functions_e.js new file mode 100644 index 0000000..f56f3e3 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rootelement',['RootElement',['../classtinyxml2_1_1_x_m_l_document.html#ad2b70320d3c2a071c2f36928edff3e1c',1,'tinyxml2::XMLDocument']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/functions_f.html b/bfs/tools/tinyxml/docs/search/functions_f.html new file mode 100644 index 0000000..424126c --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/functions_f.js b/bfs/tools/tinyxml/docs/search/functions_f.js new file mode 100644 index 0000000..be8e75d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/functions_f.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['savefile',['SaveFile',['../classtinyxml2_1_1_x_m_l_document.html#a73ac416b4a2aa0952e841220eb3da18f',1,'tinyxml2::XMLDocument::SaveFile(const char *filename, bool compact=false)'],['../classtinyxml2_1_1_x_m_l_document.html#a8b95779479a0035acc67b3a61dfe1b74',1,'tinyxml2::XMLDocument::SaveFile(FILE *fp, bool compact=false)']]], + ['setattribute',['SetAttribute',['../classtinyxml2_1_1_x_m_l_attribute.html#a406d2c4a13c7af99a65edb59dd9f7581',1,'tinyxml2::XMLAttribute::SetAttribute(const char *value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ad86d7d7058d76761c3a80662566a57e5',1,'tinyxml2::XMLAttribute::SetAttribute(int value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ae70468c0f6df2748ba3529c716999fae',1,'tinyxml2::XMLAttribute::SetAttribute(unsigned value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#a7c1240f479722b9aa29b6c030aa116c2',1,'tinyxml2::XMLAttribute::SetAttribute(int64_t value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ab3516def4fe058fe328f2b89fc2d77da',1,'tinyxml2::XMLAttribute::SetAttribute(bool value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#a9a65ab3147abe8ccbbd373ce8791e818',1,'tinyxml2::XMLAttribute::SetAttribute(double value)'],['../classtinyxml2_1_1_x_m_l_attribute.html#ae95e843313aaf5d56c32530b6456df02',1,'tinyxml2::XMLAttribute::SetAttribute(float value)'],['../classtinyxml2_1_1_x_m_l_element.html#a11943abf2d0831548c3790dd5d9f119c',1,'tinyxml2::XMLElement::SetAttribute(const char *name, const char *value)'],['../classtinyxml2_1_1_x_m_l_element.html#aae6568c64c7f1cc88be8461ba41a79cf',1,'tinyxml2::XMLElement::SetAttribute(const char *name, int value)'],['../classtinyxml2_1_1_x_m_l_element.html#ae143997e90064ba82326b29a9930ea8f',1,'tinyxml2::XMLElement::SetAttribute(const char *name, unsigned value)'],['../classtinyxml2_1_1_x_m_l_element.html#aaeefdf9171fec91b13a776b42299b0dd',1,'tinyxml2::XMLElement::SetAttribute(const char *name, int64_t value)'],['../classtinyxml2_1_1_x_m_l_element.html#aa848b696e6a75e4e545c6da9893b11e1',1,'tinyxml2::XMLElement::SetAttribute(const char *name, bool value)'],['../classtinyxml2_1_1_x_m_l_element.html#a233397ee81e70eb5d4b814c5f8698533',1,'tinyxml2::XMLElement::SetAttribute(const char *name, double value)'],['../classtinyxml2_1_1_x_m_l_element.html#a554b70d882e65b28fc084b23df9b9759',1,'tinyxml2::XMLElement::SetAttribute(const char *name, float value)']]], + ['setbom',['SetBOM',['../classtinyxml2_1_1_x_m_l_document.html#a14419b698f7c4b140df4e80f3f0c93b0',1,'tinyxml2::XMLDocument']]], + ['setcdata',['SetCData',['../classtinyxml2_1_1_x_m_l_text.html#ad080357d76ab7cc59d7651249949329d',1,'tinyxml2::XMLText']]], + ['setname',['SetName',['../classtinyxml2_1_1_x_m_l_element.html#a97712009a530d8cb8a63bf705f02b4f1',1,'tinyxml2::XMLElement']]], + ['settext',['SetText',['../classtinyxml2_1_1_x_m_l_element.html#a1f9c2cd61b72af5ae708d37b7ad283ce',1,'tinyxml2::XMLElement::SetText(const char *inText)'],['../classtinyxml2_1_1_x_m_l_element.html#aeae8917b5ea6060b3c08d4e3d8d632d7',1,'tinyxml2::XMLElement::SetText(int value)'],['../classtinyxml2_1_1_x_m_l_element.html#a7bbfcc11d516598bc924a8fba4d08597',1,'tinyxml2::XMLElement::SetText(unsigned value)'],['../classtinyxml2_1_1_x_m_l_element.html#a7b62cd33acdfeff7ea2b1b330d4368e4',1,'tinyxml2::XMLElement::SetText(int64_t value)'],['../classtinyxml2_1_1_x_m_l_element.html#ae4b543d6770de76fb6ab68e541c192a4',1,'tinyxml2::XMLElement::SetText(bool value)'],['../classtinyxml2_1_1_x_m_l_element.html#a67bd77ac9aaeff58ff20b4275a65ba4e',1,'tinyxml2::XMLElement::SetText(double value)'],['../classtinyxml2_1_1_x_m_l_element.html#a51d560da5ae3ad6b75e0ab9ffb2ae42a',1,'tinyxml2::XMLElement::SetText(float value)']]], + ['setuserdata',['SetUserData',['../classtinyxml2_1_1_x_m_l_node.html#a002978fc889cc011d143185f2377eca2',1,'tinyxml2::XMLNode']]], + ['setvalue',['SetValue',['../classtinyxml2_1_1_x_m_l_node.html#a09dd68cf9eae137579f6e50f36487513',1,'tinyxml2::XMLNode']]], + ['shallowclone',['ShallowClone',['../classtinyxml2_1_1_x_m_l_node.html#a8402cbd3129d20e9e6024bbcc0531283',1,'tinyxml2::XMLNode::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_text.html#af3a81ed4dd49d5151c477b3f265a3011',1,'tinyxml2::XMLText::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_comment.html#a08991cc63fadf7e95078ac4f9ea1b073',1,'tinyxml2::XMLComment::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_declaration.html#a118d47518dd9e522644e42efa259aed7',1,'tinyxml2::XMLDeclaration::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a0125f41c89763dea06619b5fd5246b4c',1,'tinyxml2::XMLUnknown::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_element.html#ac035742d68b0c50c3f676374e59fe750',1,'tinyxml2::XMLElement::ShallowClone()'],['../classtinyxml2_1_1_x_m_l_document.html#aa37cc1709d7e1e988bc17dcfb24a69b8',1,'tinyxml2::XMLDocument::ShallowClone()']]], + ['shallowequal',['ShallowEqual',['../classtinyxml2_1_1_x_m_l_node.html#a7ce18b751c3ea09eac292dca264f9226',1,'tinyxml2::XMLNode::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_text.html#ae0fff8a24e2de7eb073fd192e9db0331',1,'tinyxml2::XMLText::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_comment.html#a6f7d227b25afa8cc3c763b7cc8833739',1,'tinyxml2::XMLComment::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_declaration.html#aa26b70011694e9b9e9480b929e9b78d6',1,'tinyxml2::XMLDeclaration::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_unknown.html#a0715ab2c05d7f74845c188122213b116',1,'tinyxml2::XMLUnknown::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_element.html#ad9ea913a460b48979bd83cf9871c99f6',1,'tinyxml2::XMLElement::ShallowEqual()'],['../classtinyxml2_1_1_x_m_l_document.html#a6fe5ef18699091844fcf64b56ffa5bf9',1,'tinyxml2::XMLDocument::ShallowEqual()']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/mag_sel.png b/bfs/tools/tinyxml/docs/search/mag_sel.png new file mode 100644 index 0000000..81f6040 Binary files /dev/null and b/bfs/tools/tinyxml/docs/search/mag_sel.png differ diff --git a/bfs/tools/tinyxml/docs/search/nomatches.html b/bfs/tools/tinyxml/docs/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_0.html b/bfs/tools/tinyxml/docs/search/pages_0.html new file mode 100644 index 0000000..4955b9e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_0.js b/bfs/tools/tinyxml/docs/search/pages_0.js new file mode 100644 index 0000000..e5f2b5d --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['get_20information_20out_20of_20xml',['Get information out of XML',['../_example_3.html',1,'']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/pages_1.html b/bfs/tools/tinyxml/docs/search/pages_1.html new file mode 100644 index 0000000..aedb14e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_1.js b/bfs/tools/tinyxml/docs/search/pages_1.js new file mode 100644 index 0000000..78a399a --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['load_20an_20xml_20file',['Load an XML File',['../_example_1.html',1,'']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/pages_2.html b/bfs/tools/tinyxml/docs/search/pages_2.html new file mode 100644 index 0000000..bd91593 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_2.js b/bfs/tools/tinyxml/docs/search/pages_2.js new file mode 100644 index 0000000..ff2d6df --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['parse_20an_20xml_20from_20char_20buffer',['Parse an XML from char buffer',['../_example_2.html',1,'']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/pages_3.html b/bfs/tools/tinyxml/docs/search/pages_3.html new file mode 100644 index 0000000..bc0e37f --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_3.js b/bfs/tools/tinyxml/docs/search/pages_3.js new file mode 100644 index 0000000..8fa0015 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['read_20attributes_20and_20text_20information_2e',['Read attributes and text information.',['../_example_4.html',1,'']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/pages_4.html b/bfs/tools/tinyxml/docs/search/pages_4.html new file mode 100644 index 0000000..d4c3e8e --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/bfs/tools/tinyxml/docs/search/pages_4.js b/bfs/tools/tinyxml/docs/search/pages_4.js new file mode 100644 index 0000000..f9587cc --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/pages_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tinyxml_2d2',['TinyXML-2',['../index.html',1,'']]] +]; diff --git a/bfs/tools/tinyxml/docs/search/search.css b/bfs/tools/tinyxml/docs/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/bfs/tools/tinyxml/docs/search/search.js b/bfs/tools/tinyxml/docs/search/search.js new file mode 100644 index 0000000..dedce3b --- /dev/null +++ b/bfs/tools/tinyxml/docs/search/search.js @@ -0,0 +1,791 @@ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; eli>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/bfs/tools/tinyxml/docs/tinyxml2_8h_source.html b/bfs/tools/tinyxml/docs/tinyxml2_8h_source.html new file mode 100644 index 0000000..6bbd727 --- /dev/null +++ b/bfs/tools/tinyxml/docs/tinyxml2_8h_source.html @@ -0,0 +1,182 @@ + + + + + + + +TinyXML-2: tinyxml2.h Source File + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  7.0.0 +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
tinyxml2.h
+
+
+
1 /*
2 Original code by Lee Thomason (www.grinninglizard.com)
3 
4 This software is provided 'as-is', without any express or implied
5 warranty. In no event will the authors be held liable for any
6 damages arising from the use of this software.
7 
8 Permission is granted to anyone to use this software for any
9 purpose, including commercial applications, and to alter it and
10 redistribute it freely, subject to the following restrictions:
11 
12 1. The origin of this software must not be misrepresented; you must
13 not claim that you wrote the original software. If you use this
14 software in a product, an acknowledgment in the product documentation
15 would be appreciated but is not required.
16 
17 2. Altered source versions must be plainly marked as such, and
18 must not be misrepresented as being the original software.
19 
20 3. This notice may not be removed or altered from any source
21 distribution.
22 */
23 
24 #ifndef TINYXML2_INCLUDED
25 #define TINYXML2_INCLUDED
26 
27 #if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(__QNXNTO__)
28 # include <ctype.h>
29 # include <limits.h>
30 # include <stdio.h>
31 # include <stdlib.h>
32 # include <string.h>
33 # if defined(__PS3__)
34 # include <stddef.h>
35 # endif
36 #else
37 # include <cctype>
38 # include <climits>
39 # include <cstdio>
40 # include <cstdlib>
41 # include <cstring>
42 #endif
43 #include <stdint.h>
44 
45 /*
46  TODO: intern strings instead of allocation.
47 */
48 /*
49  gcc:
50  g++ -Wall -DTINYXML2_DEBUG tinyxml2.cpp xmltest.cpp -o gccxmltest.exe
51 
52  Formatting, Artistic Style:
53  AStyle.exe --style=1tbs --indent-switches --break-closing-brackets --indent-preprocessor tinyxml2.cpp tinyxml2.h
54 */
55 
56 #if defined( _DEBUG ) || defined (__DEBUG__)
57 # ifndef TINYXML2_DEBUG
58 # define TINYXML2_DEBUG
59 # endif
60 #endif
61 
62 #ifdef _MSC_VER
63 # pragma warning(push)
64 # pragma warning(disable: 4251)
65 #endif
66 
67 #ifdef _WIN32
68 # ifdef TINYXML2_EXPORT
69 # define TINYXML2_LIB __declspec(dllexport)
70 # elif defined(TINYXML2_IMPORT)
71 # define TINYXML2_LIB __declspec(dllimport)
72 # else
73 # define TINYXML2_LIB
74 # endif
75 #elif __GNUC__ >= 4
76 # define TINYXML2_LIB __attribute__((visibility("default")))
77 #else
78 # define TINYXML2_LIB
79 #endif
80 
81 
82 #if defined(TINYXML2_DEBUG)
83 # if defined(_MSC_VER)
84 # // "(void)0," is for suppressing C4127 warning in "assert(false)", "assert(true)" and the like
85 # define TIXMLASSERT( x ) if ( !((void)0,(x))) { __debugbreak(); }
86 # elif defined (ANDROID_NDK)
87 # include <android/log.h>
88 # define TIXMLASSERT( x ) if ( !(x)) { __android_log_assert( "assert", "grinliz", "ASSERT in '%s' at %d.", __FILE__, __LINE__ ); }
89 # else
90 # include <assert.h>
91 # define TIXMLASSERT assert
92 # endif
93 #else
94 # define TIXMLASSERT( x ) {}
95 #endif
96 
97 
98 /* Versioning, past 1.0.14:
99  http://semver.org/
100 */
101 static const int TIXML2_MAJOR_VERSION = 7;
102 static const int TIXML2_MINOR_VERSION = 0;
103 static const int TIXML2_PATCH_VERSION = 0;
104 
105 #define TINYXML2_MAJOR_VERSION 7
106 #define TINYXML2_MINOR_VERSION 0
107 #define TINYXML2_PATCH_VERSION 0
108 
109 // A fixed element depth limit is problematic. There needs to be a
110 // limit to avoid a stack overflow. However, that limit varies per
111 // system, and the capacity of the stack. On the other hand, it's a trivial
112 // attack that can result from ill, malicious, or even correctly formed XML,
113 // so there needs to be a limit in place.
114 static const int TINYXML2_MAX_ELEMENT_DEPTH = 100;
115 
116 namespace tinyxml2
117 {
118 class XMLDocument;
119 class XMLElement;
120 class XMLAttribute;
121 class XMLComment;
122 class XMLText;
123 class XMLDeclaration;
124 class XMLUnknown;
125 class XMLPrinter;
126 
127 /*
128  A class that wraps strings. Normally stores the start and end
129  pointers into the XML file itself, and will apply normalization
130  and entity translation if actually read. Can also store (and memory
131  manage) a traditional char[]
132 */
133 class StrPair
134 {
135 public:
136  enum {
137  NEEDS_ENTITY_PROCESSING = 0x01,
138  NEEDS_NEWLINE_NORMALIZATION = 0x02,
139  NEEDS_WHITESPACE_COLLAPSING = 0x04,
140 
141  TEXT_ELEMENT = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION,
142  TEXT_ELEMENT_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION,
143  ATTRIBUTE_NAME = 0,
144  ATTRIBUTE_VALUE = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION,
145  ATTRIBUTE_VALUE_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION,
146  COMMENT = NEEDS_NEWLINE_NORMALIZATION
147  };
148 
149  StrPair() : _flags( 0 ), _start( 0 ), _end( 0 ) {}
150  ~StrPair();
151 
152  void Set( char* start, char* end, int flags ) {
153  TIXMLASSERT( start );
154  TIXMLASSERT( end );
155  Reset();
156  _start = start;
157  _end = end;
158  _flags = flags | NEEDS_FLUSH;
159  }
160 
161  const char* GetStr();
162 
163  bool Empty() const {
164  return _start == _end;
165  }
166 
167  void SetInternedStr( const char* str ) {
168  Reset();
169  _start = const_cast<char*>(str);
170  }
171 
172  void SetStr( const char* str, int flags=0 );
173 
174  char* ParseText( char* in, const char* endTag, int strFlags, int* curLineNumPtr );
175  char* ParseName( char* in );
176 
177  void TransferTo( StrPair* other );
178  void Reset();
179 
180 private:
181  void CollapseWhitespace();
182 
183  enum {
184  NEEDS_FLUSH = 0x100,
185  NEEDS_DELETE = 0x200
186  };
187 
188  int _flags;
189  char* _start;
190  char* _end;
191 
192  StrPair( const StrPair& other ); // not supported
193  void operator=( const StrPair& other ); // not supported, use TransferTo()
194 };
195 
196 
197 /*
198  A dynamic array of Plain Old Data. Doesn't support constructors, etc.
199  Has a small initial memory pool, so that low or no usage will not
200  cause a call to new/delete
201 */
202 template <class T, int INITIAL_SIZE>
203 class DynArray
204 {
205 public:
206  DynArray() :
207  _mem( _pool ),
208  _allocated( INITIAL_SIZE ),
209  _size( 0 )
210  {
211  }
212 
213  ~DynArray() {
214  if ( _mem != _pool ) {
215  delete [] _mem;
216  }
217  }
218 
219  void Clear() {
220  _size = 0;
221  }
222 
223  void Push( T t ) {
224  TIXMLASSERT( _size < INT_MAX );
225  EnsureCapacity( _size+1 );
226  _mem[_size] = t;
227  ++_size;
228  }
229 
230  T* PushArr( int count ) {
231  TIXMLASSERT( count >= 0 );
232  TIXMLASSERT( _size <= INT_MAX - count );
233  EnsureCapacity( _size+count );
234  T* ret = &_mem[_size];
235  _size += count;
236  return ret;
237  }
238 
239  T Pop() {
240  TIXMLASSERT( _size > 0 );
241  --_size;
242  return _mem[_size];
243  }
244 
245  void PopArr( int count ) {
246  TIXMLASSERT( _size >= count );
247  _size -= count;
248  }
249 
250  bool Empty() const {
251  return _size == 0;
252  }
253 
254  T& operator[](int i) {
255  TIXMLASSERT( i>= 0 && i < _size );
256  return _mem[i];
257  }
258 
259  const T& operator[](int i) const {
260  TIXMLASSERT( i>= 0 && i < _size );
261  return _mem[i];
262  }
263 
264  const T& PeekTop() const {
265  TIXMLASSERT( _size > 0 );
266  return _mem[ _size - 1];
267  }
268 
269  int Size() const {
270  TIXMLASSERT( _size >= 0 );
271  return _size;
272  }
273 
274  int Capacity() const {
275  TIXMLASSERT( _allocated >= INITIAL_SIZE );
276  return _allocated;
277  }
278 
279  void SwapRemove(int i) {
280  TIXMLASSERT(i >= 0 && i < _size);
281  TIXMLASSERT(_size > 0);
282  _mem[i] = _mem[_size - 1];
283  --_size;
284  }
285 
286  const T* Mem() const {
287  TIXMLASSERT( _mem );
288  return _mem;
289  }
290 
291  T* Mem() {
292  TIXMLASSERT( _mem );
293  return _mem;
294  }
295 
296 private:
297  DynArray( const DynArray& ); // not supported
298  void operator=( const DynArray& ); // not supported
299 
300  void EnsureCapacity( int cap ) {
301  TIXMLASSERT( cap > 0 );
302  if ( cap > _allocated ) {
303  TIXMLASSERT( cap <= INT_MAX / 2 );
304  int newAllocated = cap * 2;
305  T* newMem = new T[newAllocated];
306  TIXMLASSERT( newAllocated >= _size );
307  memcpy( newMem, _mem, sizeof(T)*_size ); // warning: not using constructors, only works for PODs
308  if ( _mem != _pool ) {
309  delete [] _mem;
310  }
311  _mem = newMem;
312  _allocated = newAllocated;
313  }
314  }
315 
316  T* _mem;
317  T _pool[INITIAL_SIZE];
318  int _allocated; // objects allocated
319  int _size; // number objects in use
320 };
321 
322 
323 /*
324  Parent virtual class of a pool for fast allocation
325  and deallocation of objects.
326 */
327 class MemPool
328 {
329 public:
330  MemPool() {}
331  virtual ~MemPool() {}
332 
333  virtual int ItemSize() const = 0;
334  virtual void* Alloc() = 0;
335  virtual void Free( void* ) = 0;
336  virtual void SetTracked() = 0;
337 };
338 
339 
340 /*
341  Template child class to create pools of the correct type.
342 */
343 template< int ITEM_SIZE >
344 class MemPoolT : public MemPool
345 {
346 public:
347  MemPoolT() : _blockPtrs(), _root(0), _currentAllocs(0), _nAllocs(0), _maxAllocs(0), _nUntracked(0) {}
348  ~MemPoolT() {
349  MemPoolT< ITEM_SIZE >::Clear();
350  }
351 
352  void Clear() {
353  // Delete the blocks.
354  while( !_blockPtrs.Empty()) {
355  Block* lastBlock = _blockPtrs.Pop();
356  delete lastBlock;
357  }
358  _root = 0;
359  _currentAllocs = 0;
360  _nAllocs = 0;
361  _maxAllocs = 0;
362  _nUntracked = 0;
363  }
364 
365  virtual int ItemSize() const {
366  return ITEM_SIZE;
367  }
368  int CurrentAllocs() const {
369  return _currentAllocs;
370  }
371 
372  virtual void* Alloc() {
373  if ( !_root ) {
374  // Need a new block.
375  Block* block = new Block();
376  _blockPtrs.Push( block );
377 
378  Item* blockItems = block->items;
379  for( int i = 0; i < ITEMS_PER_BLOCK - 1; ++i ) {
380  blockItems[i].next = &(blockItems[i + 1]);
381  }
382  blockItems[ITEMS_PER_BLOCK - 1].next = 0;
383  _root = blockItems;
384  }
385  Item* const result = _root;
386  TIXMLASSERT( result != 0 );
387  _root = _root->next;
388 
389  ++_currentAllocs;
390  if ( _currentAllocs > _maxAllocs ) {
391  _maxAllocs = _currentAllocs;
392  }
393  ++_nAllocs;
394  ++_nUntracked;
395  return result;
396  }
397 
398  virtual void Free( void* mem ) {
399  if ( !mem ) {
400  return;
401  }
402  --_currentAllocs;
403  Item* item = static_cast<Item*>( mem );
404 #ifdef TINYXML2_DEBUG
405  memset( item, 0xfe, sizeof( *item ) );
406 #endif
407  item->next = _root;
408  _root = item;
409  }
410  void Trace( const char* name ) {
411  printf( "Mempool %s watermark=%d [%dk] current=%d size=%d nAlloc=%d blocks=%d\n",
412  name, _maxAllocs, _maxAllocs * ITEM_SIZE / 1024, _currentAllocs,
413  ITEM_SIZE, _nAllocs, _blockPtrs.Size() );
414  }
415 
416  void SetTracked() {
417  --_nUntracked;
418  }
419 
420  int Untracked() const {
421  return _nUntracked;
422  }
423 
424  // This number is perf sensitive. 4k seems like a good tradeoff on my machine.
425  // The test file is large, 170k.
426  // Release: VS2010 gcc(no opt)
427  // 1k: 4000
428  // 2k: 4000
429  // 4k: 3900 21000
430  // 16k: 5200
431  // 32k: 4300
432  // 64k: 4000 21000
433  // Declared public because some compilers do not accept to use ITEMS_PER_BLOCK
434  // in private part if ITEMS_PER_BLOCK is private
435  enum { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE };
436 
437 private:
438  MemPoolT( const MemPoolT& ); // not supported
439  void operator=( const MemPoolT& ); // not supported
440 
441  union Item {
442  Item* next;
443  char itemData[ITEM_SIZE];
444  };
445  struct Block {
446  Item items[ITEMS_PER_BLOCK];
447  };
448  DynArray< Block*, 10 > _blockPtrs;
449  Item* _root;
450 
451  int _currentAllocs;
452  int _nAllocs;
453  int _maxAllocs;
454  int _nUntracked;
455 };
456 
457 
458 
478 class TINYXML2_LIB XMLVisitor
479 {
480 public:
481  virtual ~XMLVisitor() {}
482 
484  virtual bool VisitEnter( const XMLDocument& /*doc*/ ) {
485  return true;
486  }
488  virtual bool VisitExit( const XMLDocument& /*doc*/ ) {
489  return true;
490  }
491 
493  virtual bool VisitEnter( const XMLElement& /*element*/, const XMLAttribute* /*firstAttribute*/ ) {
494  return true;
495  }
497  virtual bool VisitExit( const XMLElement& /*element*/ ) {
498  return true;
499  }
500 
502  virtual bool Visit( const XMLDeclaration& /*declaration*/ ) {
503  return true;
504  }
506  virtual bool Visit( const XMLText& /*text*/ ) {
507  return true;
508  }
510  virtual bool Visit( const XMLComment& /*comment*/ ) {
511  return true;
512  }
514  virtual bool Visit( const XMLUnknown& /*unknown*/ ) {
515  return true;
516  }
517 };
518 
519 // WARNING: must match XMLDocument::_errorNames[]
520 enum XMLError {
521  XML_SUCCESS = 0,
522  XML_NO_ATTRIBUTE,
523  XML_WRONG_ATTRIBUTE_TYPE,
524  XML_ERROR_FILE_NOT_FOUND,
525  XML_ERROR_FILE_COULD_NOT_BE_OPENED,
526  XML_ERROR_FILE_READ_ERROR,
527  XML_ERROR_PARSING_ELEMENT,
528  XML_ERROR_PARSING_ATTRIBUTE,
529  XML_ERROR_PARSING_TEXT,
530  XML_ERROR_PARSING_CDATA,
531  XML_ERROR_PARSING_COMMENT,
532  XML_ERROR_PARSING_DECLARATION,
533  XML_ERROR_PARSING_UNKNOWN,
534  XML_ERROR_EMPTY_DOCUMENT,
535  XML_ERROR_MISMATCHED_ELEMENT,
536  XML_ERROR_PARSING,
537  XML_CAN_NOT_CONVERT_TEXT,
538  XML_NO_TEXT_NODE,
539  XML_ELEMENT_DEPTH_EXCEEDED,
540 
541  XML_ERROR_COUNT
542 };
543 
544 
545 /*
546  Utility functionality.
547 */
548 class TINYXML2_LIB XMLUtil
549 {
550 public:
551  static const char* SkipWhiteSpace( const char* p, int* curLineNumPtr ) {
552  TIXMLASSERT( p );
553 
554  while( IsWhiteSpace(*p) ) {
555  if (curLineNumPtr && *p == '\n') {
556  ++(*curLineNumPtr);
557  }
558  ++p;
559  }
560  TIXMLASSERT( p );
561  return p;
562  }
563  static char* SkipWhiteSpace( char* p, int* curLineNumPtr ) {
564  return const_cast<char*>( SkipWhiteSpace( const_cast<const char*>(p), curLineNumPtr ) );
565  }
566 
567  // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't
568  // correct, but simple, and usually works.
569  static bool IsWhiteSpace( char p ) {
570  return !IsUTF8Continuation(p) && isspace( static_cast<unsigned char>(p) );
571  }
572 
573  inline static bool IsNameStartChar( unsigned char ch ) {
574  if ( ch >= 128 ) {
575  // This is a heuristic guess in attempt to not implement Unicode-aware isalpha()
576  return true;
577  }
578  if ( isalpha( ch ) ) {
579  return true;
580  }
581  return ch == ':' || ch == '_';
582  }
583 
584  inline static bool IsNameChar( unsigned char ch ) {
585  return IsNameStartChar( ch )
586  || isdigit( ch )
587  || ch == '.'
588  || ch == '-';
589  }
590 
591  inline static bool StringEqual( const char* p, const char* q, int nChar=INT_MAX ) {
592  if ( p == q ) {
593  return true;
594  }
595  TIXMLASSERT( p );
596  TIXMLASSERT( q );
597  TIXMLASSERT( nChar >= 0 );
598  return strncmp( p, q, nChar ) == 0;
599  }
600 
601  inline static bool IsUTF8Continuation( char p ) {
602  return ( p & 0x80 ) != 0;
603  }
604 
605  static const char* ReadBOM( const char* p, bool* hasBOM );
606  // p is the starting location,
607  // the UTF-8 value of the entity will be placed in value, and length filled in.
608  static const char* GetCharacterRef( const char* p, char* value, int* length );
609  static void ConvertUTF32ToUTF8( unsigned long input, char* output, int* length );
610 
611  // converts primitive types to strings
612  static void ToStr( int v, char* buffer, int bufferSize );
613  static void ToStr( unsigned v, char* buffer, int bufferSize );
614  static void ToStr( bool v, char* buffer, int bufferSize );
615  static void ToStr( float v, char* buffer, int bufferSize );
616  static void ToStr( double v, char* buffer, int bufferSize );
617  static void ToStr(int64_t v, char* buffer, int bufferSize);
618 
619  // converts strings to primitive types
620  static bool ToInt( const char* str, int* value );
621  static bool ToUnsigned( const char* str, unsigned* value );
622  static bool ToBool( const char* str, bool* value );
623  static bool ToFloat( const char* str, float* value );
624  static bool ToDouble( const char* str, double* value );
625  static bool ToInt64(const char* str, int64_t* value);
626 
627  // Changes what is serialized for a boolean value.
628  // Default to "true" and "false". Shouldn't be changed
629  // unless you have a special testing or compatibility need.
630  // Be careful: static, global, & not thread safe.
631  // Be sure to set static const memory as parameters.
632  static void SetBoolSerialization(const char* writeTrue, const char* writeFalse);
633 
634 private:
635  static const char* writeBoolTrue;
636  static const char* writeBoolFalse;
637 };
638 
639 
665 class TINYXML2_LIB XMLNode
666 {
667  friend class XMLDocument;
668  friend class XMLElement;
669 public:
670 
672  const XMLDocument* GetDocument() const {
673  TIXMLASSERT( _document );
674  return _document;
675  }
678  TIXMLASSERT( _document );
679  return _document;
680  }
681 
683  virtual XMLElement* ToElement() {
684  return 0;
685  }
687  virtual XMLText* ToText() {
688  return 0;
689  }
691  virtual XMLComment* ToComment() {
692  return 0;
693  }
695  virtual XMLDocument* ToDocument() {
696  return 0;
697  }
700  return 0;
701  }
703  virtual XMLUnknown* ToUnknown() {
704  return 0;
705  }
706 
707  virtual const XMLElement* ToElement() const {
708  return 0;
709  }
710  virtual const XMLText* ToText() const {
711  return 0;
712  }
713  virtual const XMLComment* ToComment() const {
714  return 0;
715  }
716  virtual const XMLDocument* ToDocument() const {
717  return 0;
718  }
719  virtual const XMLDeclaration* ToDeclaration() const {
720  return 0;
721  }
722  virtual const XMLUnknown* ToUnknown() const {
723  return 0;
724  }
725 
735  const char* Value() const;
736 
740  void SetValue( const char* val, bool staticMem=false );
741 
743  int GetLineNum() const { return _parseLineNum; }
744 
746  const XMLNode* Parent() const {
747  return _parent;
748  }
749 
750  XMLNode* Parent() {
751  return _parent;
752  }
753 
755  bool NoChildren() const {
756  return !_firstChild;
757  }
758 
760  const XMLNode* FirstChild() const {
761  return _firstChild;
762  }
763 
764  XMLNode* FirstChild() {
765  return _firstChild;
766  }
767 
771  const XMLElement* FirstChildElement( const char* name = 0 ) const;
772 
773  XMLElement* FirstChildElement( const char* name = 0 ) {
774  return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->FirstChildElement( name ));
775  }
776 
778  const XMLNode* LastChild() const {
779  return _lastChild;
780  }
781 
782  XMLNode* LastChild() {
783  return _lastChild;
784  }
785 
789  const XMLElement* LastChildElement( const char* name = 0 ) const;
790 
791  XMLElement* LastChildElement( const char* name = 0 ) {
792  return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->LastChildElement(name) );
793  }
794 
796  const XMLNode* PreviousSibling() const {
797  return _prev;
798  }
799 
800  XMLNode* PreviousSibling() {
801  return _prev;
802  }
803 
805  const XMLElement* PreviousSiblingElement( const char* name = 0 ) const ;
806 
807  XMLElement* PreviousSiblingElement( const char* name = 0 ) {
808  return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->PreviousSiblingElement( name ) );
809  }
810 
812  const XMLNode* NextSibling() const {
813  return _next;
814  }
815 
816  XMLNode* NextSibling() {
817  return _next;
818  }
819 
821  const XMLElement* NextSiblingElement( const char* name = 0 ) const;
822 
823  XMLElement* NextSiblingElement( const char* name = 0 ) {
824  return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->NextSiblingElement( name ) );
825  }
826 
834  XMLNode* InsertEndChild( XMLNode* addThis );
835 
836  XMLNode* LinkEndChild( XMLNode* addThis ) {
837  return InsertEndChild( addThis );
838  }
846  XMLNode* InsertFirstChild( XMLNode* addThis );
855  XMLNode* InsertAfterChild( XMLNode* afterThis, XMLNode* addThis );
856 
860  void DeleteChildren();
861 
865  void DeleteChild( XMLNode* node );
866 
876  virtual XMLNode* ShallowClone( XMLDocument* document ) const = 0;
877 
891  XMLNode* DeepClone( XMLDocument* target ) const;
892 
899  virtual bool ShallowEqual( const XMLNode* compare ) const = 0;
900 
923  virtual bool Accept( XMLVisitor* visitor ) const = 0;
924 
930  void SetUserData(void* userData) { _userData = userData; }
931 
937  void* GetUserData() const { return _userData; }
938 
939 protected:
940  explicit XMLNode( XMLDocument* );
941  virtual ~XMLNode();
942 
943  virtual char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr);
944 
945  XMLDocument* _document;
946  XMLNode* _parent;
947  mutable StrPair _value;
948  int _parseLineNum;
949 
950  XMLNode* _firstChild;
951  XMLNode* _lastChild;
952 
953  XMLNode* _prev;
954  XMLNode* _next;
955 
956  void* _userData;
957 
958 private:
959  MemPool* _memPool;
960  void Unlink( XMLNode* child );
961  static void DeleteNode( XMLNode* node );
962  void InsertChildPreamble( XMLNode* insertThis ) const;
963  const XMLElement* ToElementWithName( const char* name ) const;
964 
965  XMLNode( const XMLNode& ); // not supported
966  XMLNode& operator=( const XMLNode& ); // not supported
967 };
968 
969 
982 class TINYXML2_LIB XMLText : public XMLNode
983 {
984  friend class XMLDocument;
985 public:
986  virtual bool Accept( XMLVisitor* visitor ) const;
987 
988  virtual XMLText* ToText() {
989  return this;
990  }
991  virtual const XMLText* ToText() const {
992  return this;
993  }
994 
996  void SetCData( bool isCData ) {
997  _isCData = isCData;
998  }
1000  bool CData() const {
1001  return _isCData;
1002  }
1003 
1004  virtual XMLNode* ShallowClone( XMLDocument* document ) const;
1005  virtual bool ShallowEqual( const XMLNode* compare ) const;
1006 
1007 protected:
1008  explicit XMLText( XMLDocument* doc ) : XMLNode( doc ), _isCData( false ) {}
1009  virtual ~XMLText() {}
1010 
1011  char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr );
1012 
1013 private:
1014  bool _isCData;
1015 
1016  XMLText( const XMLText& ); // not supported
1017  XMLText& operator=( const XMLText& ); // not supported
1018 };
1019 
1020 
1022 class TINYXML2_LIB XMLComment : public XMLNode
1023 {
1024  friend class XMLDocument;
1025 public:
1026  virtual XMLComment* ToComment() {
1027  return this;
1028  }
1029  virtual const XMLComment* ToComment() const {
1030  return this;
1031  }
1032 
1033  virtual bool Accept( XMLVisitor* visitor ) const;
1034 
1035  virtual XMLNode* ShallowClone( XMLDocument* document ) const;
1036  virtual bool ShallowEqual( const XMLNode* compare ) const;
1037 
1038 protected:
1039  explicit XMLComment( XMLDocument* doc );
1040  virtual ~XMLComment();
1041 
1042  char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr);
1043 
1044 private:
1045  XMLComment( const XMLComment& ); // not supported
1046  XMLComment& operator=( const XMLComment& ); // not supported
1047 };
1048 
1049 
1061 class TINYXML2_LIB XMLDeclaration : public XMLNode
1062 {
1063  friend class XMLDocument;
1064 public:
1066  return this;
1067  }
1068  virtual const XMLDeclaration* ToDeclaration() const {
1069  return this;
1070  }
1071 
1072  virtual bool Accept( XMLVisitor* visitor ) const;
1073 
1074  virtual XMLNode* ShallowClone( XMLDocument* document ) const;
1075  virtual bool ShallowEqual( const XMLNode* compare ) const;
1076 
1077 protected:
1078  explicit XMLDeclaration( XMLDocument* doc );
1079  virtual ~XMLDeclaration();
1080 
1081  char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr );
1082 
1083 private:
1084  XMLDeclaration( const XMLDeclaration& ); // not supported
1085  XMLDeclaration& operator=( const XMLDeclaration& ); // not supported
1086 };
1087 
1088 
1096 class TINYXML2_LIB XMLUnknown : public XMLNode
1097 {
1098  friend class XMLDocument;
1099 public:
1100  virtual XMLUnknown* ToUnknown() {
1101  return this;
1102  }
1103  virtual const XMLUnknown* ToUnknown() const {
1104  return this;
1105  }
1106 
1107  virtual bool Accept( XMLVisitor* visitor ) const;
1108 
1109  virtual XMLNode* ShallowClone( XMLDocument* document ) const;
1110  virtual bool ShallowEqual( const XMLNode* compare ) const;
1111 
1112 protected:
1113  explicit XMLUnknown( XMLDocument* doc );
1114  virtual ~XMLUnknown();
1115 
1116  char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr );
1117 
1118 private:
1119  XMLUnknown( const XMLUnknown& ); // not supported
1120  XMLUnknown& operator=( const XMLUnknown& ); // not supported
1121 };
1122 
1123 
1124 
1131 class TINYXML2_LIB XMLAttribute
1132 {
1133  friend class XMLElement;
1134 public:
1136  const char* Name() const;
1137 
1139  const char* Value() const;
1140 
1142  int GetLineNum() const { return _parseLineNum; }
1143 
1145  const XMLAttribute* Next() const {
1146  return _next;
1147  }
1148 
1153  int IntValue() const {
1154  int i = 0;
1155  QueryIntValue(&i);
1156  return i;
1157  }
1158 
1159  int64_t Int64Value() const {
1160  int64_t i = 0;
1161  QueryInt64Value(&i);
1162  return i;
1163  }
1164 
1166  unsigned UnsignedValue() const {
1167  unsigned i=0;
1168  QueryUnsignedValue( &i );
1169  return i;
1170  }
1172  bool BoolValue() const {
1173  bool b=false;
1174  QueryBoolValue( &b );
1175  return b;
1176  }
1178  double DoubleValue() const {
1179  double d=0;
1180  QueryDoubleValue( &d );
1181  return d;
1182  }
1184  float FloatValue() const {
1185  float f=0;
1186  QueryFloatValue( &f );
1187  return f;
1188  }
1189 
1194  XMLError QueryIntValue( int* value ) const;
1196  XMLError QueryUnsignedValue( unsigned int* value ) const;
1198  XMLError QueryInt64Value(int64_t* value) const;
1200  XMLError QueryBoolValue( bool* value ) const;
1202  XMLError QueryDoubleValue( double* value ) const;
1204  XMLError QueryFloatValue( float* value ) const;
1205 
1207  void SetAttribute( const char* value );
1209  void SetAttribute( int value );
1211  void SetAttribute( unsigned value );
1213  void SetAttribute(int64_t value);
1215  void SetAttribute( bool value );
1217  void SetAttribute( double value );
1219  void SetAttribute( float value );
1220 
1221 private:
1222  enum { BUF_SIZE = 200 };
1223 
1224  XMLAttribute() : _name(), _value(),_parseLineNum( 0 ), _next( 0 ), _memPool( 0 ) {}
1225  virtual ~XMLAttribute() {}
1226 
1227  XMLAttribute( const XMLAttribute& ); // not supported
1228  void operator=( const XMLAttribute& ); // not supported
1229  void SetName( const char* name );
1230 
1231  char* ParseDeep( char* p, bool processEntities, int* curLineNumPtr );
1232 
1233  mutable StrPair _name;
1234  mutable StrPair _value;
1235  int _parseLineNum;
1236  XMLAttribute* _next;
1237  MemPool* _memPool;
1238 };
1239 
1240 
1245 class TINYXML2_LIB XMLElement : public XMLNode
1246 {
1247  friend class XMLDocument;
1248 public:
1250  const char* Name() const {
1251  return Value();
1252  }
1254  void SetName( const char* str, bool staticMem=false ) {
1255  SetValue( str, staticMem );
1256  }
1257 
1258  virtual XMLElement* ToElement() {
1259  return this;
1260  }
1261  virtual const XMLElement* ToElement() const {
1262  return this;
1263  }
1264  virtual bool Accept( XMLVisitor* visitor ) const;
1265 
1289  const char* Attribute( const char* name, const char* value=0 ) const;
1290 
1297  int IntAttribute(const char* name, int defaultValue = 0) const;
1299  unsigned UnsignedAttribute(const char* name, unsigned defaultValue = 0) const;
1301  int64_t Int64Attribute(const char* name, int64_t defaultValue = 0) const;
1303  bool BoolAttribute(const char* name, bool defaultValue = false) const;
1305  double DoubleAttribute(const char* name, double defaultValue = 0) const;
1307  float FloatAttribute(const char* name, float defaultValue = 0) const;
1308 
1322  XMLError QueryIntAttribute( const char* name, int* value ) const {
1323  const XMLAttribute* a = FindAttribute( name );
1324  if ( !a ) {
1325  return XML_NO_ATTRIBUTE;
1326  }
1327  return a->QueryIntValue( value );
1328  }
1329 
1331  XMLError QueryUnsignedAttribute( const char* name, unsigned int* value ) const {
1332  const XMLAttribute* a = FindAttribute( name );
1333  if ( !a ) {
1334  return XML_NO_ATTRIBUTE;
1335  }
1336  return a->QueryUnsignedValue( value );
1337  }
1338 
1340  XMLError QueryInt64Attribute(const char* name, int64_t* value) const {
1341  const XMLAttribute* a = FindAttribute(name);
1342  if (!a) {
1343  return XML_NO_ATTRIBUTE;
1344  }
1345  return a->QueryInt64Value(value);
1346  }
1347 
1349  XMLError QueryBoolAttribute( const char* name, bool* value ) const {
1350  const XMLAttribute* a = FindAttribute( name );
1351  if ( !a ) {
1352  return XML_NO_ATTRIBUTE;
1353  }
1354  return a->QueryBoolValue( value );
1355  }
1357  XMLError QueryDoubleAttribute( const char* name, double* value ) const {
1358  const XMLAttribute* a = FindAttribute( name );
1359  if ( !a ) {
1360  return XML_NO_ATTRIBUTE;
1361  }
1362  return a->QueryDoubleValue( value );
1363  }
1365  XMLError QueryFloatAttribute( const char* name, float* value ) const {
1366  const XMLAttribute* a = FindAttribute( name );
1367  if ( !a ) {
1368  return XML_NO_ATTRIBUTE;
1369  }
1370  return a->QueryFloatValue( value );
1371  }
1372 
1374  XMLError QueryStringAttribute(const char* name, const char** value) const {
1375  const XMLAttribute* a = FindAttribute(name);
1376  if (!a) {
1377  return XML_NO_ATTRIBUTE;
1378  }
1379  *value = a->Value();
1380  return XML_SUCCESS;
1381  }
1382 
1383 
1384 
1402  XMLError QueryAttribute( const char* name, int* value ) const {
1403  return QueryIntAttribute( name, value );
1404  }
1405 
1406  XMLError QueryAttribute( const char* name, unsigned int* value ) const {
1407  return QueryUnsignedAttribute( name, value );
1408  }
1409 
1410  XMLError QueryAttribute(const char* name, int64_t* value) const {
1411  return QueryInt64Attribute(name, value);
1412  }
1413 
1414  XMLError QueryAttribute( const char* name, bool* value ) const {
1415  return QueryBoolAttribute( name, value );
1416  }
1417 
1418  XMLError QueryAttribute( const char* name, double* value ) const {
1419  return QueryDoubleAttribute( name, value );
1420  }
1421 
1422  XMLError QueryAttribute( const char* name, float* value ) const {
1423  return QueryFloatAttribute( name, value );
1424  }
1425 
1427  void SetAttribute( const char* name, const char* value ) {
1428  XMLAttribute* a = FindOrCreateAttribute( name );
1429  a->SetAttribute( value );
1430  }
1432  void SetAttribute( const char* name, int value ) {
1433  XMLAttribute* a = FindOrCreateAttribute( name );
1434  a->SetAttribute( value );
1435  }
1437  void SetAttribute( const char* name, unsigned value ) {
1438  XMLAttribute* a = FindOrCreateAttribute( name );
1439  a->SetAttribute( value );
1440  }
1441 
1443  void SetAttribute(const char* name, int64_t value) {
1444  XMLAttribute* a = FindOrCreateAttribute(name);
1445  a->SetAttribute(value);
1446  }
1447 
1449  void SetAttribute( const char* name, bool value ) {
1450  XMLAttribute* a = FindOrCreateAttribute( name );
1451  a->SetAttribute( value );
1452  }
1454  void SetAttribute( const char* name, double value ) {
1455  XMLAttribute* a = FindOrCreateAttribute( name );
1456  a->SetAttribute( value );
1457  }
1459  void SetAttribute( const char* name, float value ) {
1460  XMLAttribute* a = FindOrCreateAttribute( name );
1461  a->SetAttribute( value );
1462  }
1463 
1467  void DeleteAttribute( const char* name );
1468 
1470  const XMLAttribute* FirstAttribute() const {
1471  return _rootAttribute;
1472  }
1474  const XMLAttribute* FindAttribute( const char* name ) const;
1475 
1504  const char* GetText() const;
1505 
1540  void SetText( const char* inText );
1542  void SetText( int value );
1544  void SetText( unsigned value );
1546  void SetText(int64_t value);
1548  void SetText( bool value );
1550  void SetText( double value );
1552  void SetText( float value );
1553 
1580  XMLError QueryIntText( int* ival ) const;
1582  XMLError QueryUnsignedText( unsigned* uval ) const;
1584  XMLError QueryInt64Text(int64_t* uval) const;
1586  XMLError QueryBoolText( bool* bval ) const;
1588  XMLError QueryDoubleText( double* dval ) const;
1590  XMLError QueryFloatText( float* fval ) const;
1591 
1592  int IntText(int defaultValue = 0) const;
1593 
1595  unsigned UnsignedText(unsigned defaultValue = 0) const;
1597  int64_t Int64Text(int64_t defaultValue = 0) const;
1599  bool BoolText(bool defaultValue = false) const;
1601  double DoubleText(double defaultValue = 0) const;
1603  float FloatText(float defaultValue = 0) const;
1604 
1605  // internal:
1606  enum ElementClosingType {
1607  OPEN, // <foo>
1608  CLOSED, // <foo/>
1609  CLOSING // </foo>
1610  };
1611  ElementClosingType ClosingType() const {
1612  return _closingType;
1613  }
1614  virtual XMLNode* ShallowClone( XMLDocument* document ) const;
1615  virtual bool ShallowEqual( const XMLNode* compare ) const;
1616 
1617 protected:
1618  char* ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr );
1619 
1620 private:
1621  XMLElement( XMLDocument* doc );
1622  virtual ~XMLElement();
1623  XMLElement( const XMLElement& ); // not supported
1624  void operator=( const XMLElement& ); // not supported
1625 
1626  XMLAttribute* FindOrCreateAttribute( const char* name );
1627  char* ParseAttributes( char* p, int* curLineNumPtr );
1628  static void DeleteAttribute( XMLAttribute* attribute );
1629  XMLAttribute* CreateAttribute();
1630 
1631  enum { BUF_SIZE = 200 };
1632  ElementClosingType _closingType;
1633  // The attribute list is ordered; there is no 'lastAttribute'
1634  // because the list needs to be scanned for dupes before adding
1635  // a new attribute.
1636  XMLAttribute* _rootAttribute;
1637 };
1638 
1639 
1640 enum Whitespace {
1641  PRESERVE_WHITESPACE,
1642  COLLAPSE_WHITESPACE
1643 };
1644 
1645 
1651 class TINYXML2_LIB XMLDocument : public XMLNode
1652 {
1653  friend class XMLElement;
1654  // Gives access to SetError and Push/PopDepth, but over-access for everything else.
1655  // Wishing C++ had "internal" scope.
1656  friend class XMLNode;
1657  friend class XMLText;
1658  friend class XMLComment;
1659  friend class XMLDeclaration;
1660  friend class XMLUnknown;
1661 public:
1663  XMLDocument( bool processEntities = true, Whitespace whitespaceMode = PRESERVE_WHITESPACE );
1664  ~XMLDocument();
1665 
1667  TIXMLASSERT( this == _document );
1668  return this;
1669  }
1670  virtual const XMLDocument* ToDocument() const {
1671  TIXMLASSERT( this == _document );
1672  return this;
1673  }
1674 
1685  XMLError Parse( const char* xml, size_t nBytes=(size_t)(-1) );
1686 
1692  XMLError LoadFile( const char* filename );
1693 
1705  XMLError LoadFile( FILE* );
1706 
1712  XMLError SaveFile( const char* filename, bool compact = false );
1713 
1721  XMLError SaveFile( FILE* fp, bool compact = false );
1722 
1723  bool ProcessEntities() const {
1724  return _processEntities;
1725  }
1726  Whitespace WhitespaceMode() const {
1727  return _whitespaceMode;
1728  }
1729 
1733  bool HasBOM() const {
1734  return _writeBOM;
1735  }
1738  void SetBOM( bool useBOM ) {
1739  _writeBOM = useBOM;
1740  }
1741 
1746  return FirstChildElement();
1747  }
1748  const XMLElement* RootElement() const {
1749  return FirstChildElement();
1750  }
1751 
1766  void Print( XMLPrinter* streamer=0 ) const;
1767  virtual bool Accept( XMLVisitor* visitor ) const;
1768 
1774  XMLElement* NewElement( const char* name );
1780  XMLComment* NewComment( const char* comment );
1786  XMLText* NewText( const char* text );
1798  XMLDeclaration* NewDeclaration( const char* text=0 );
1804  XMLUnknown* NewUnknown( const char* text );
1805 
1810  void DeleteNode( XMLNode* node );
1811 
1812  void ClearError() {
1813  SetError(XML_SUCCESS, 0, 0);
1814  }
1815 
1817  bool Error() const {
1818  return _errorID != XML_SUCCESS;
1819  }
1821  XMLError ErrorID() const {
1822  return _errorID;
1823  }
1824  const char* ErrorName() const;
1825  static const char* ErrorIDToName(XMLError errorID);
1826 
1830  const char* ErrorStr() const;
1831 
1833  void PrintError() const;
1834 
1836  int ErrorLineNum() const
1837  {
1838  return _errorLineNum;
1839  }
1840 
1842  void Clear();
1843 
1851  void DeepCopy(XMLDocument* target) const;
1852 
1853  // internal
1854  char* Identify( char* p, XMLNode** node );
1855 
1856  // internal
1857  void MarkInUse(XMLNode*);
1858 
1859  virtual XMLNode* ShallowClone( XMLDocument* /*document*/ ) const {
1860  return 0;
1861  }
1862  virtual bool ShallowEqual( const XMLNode* /*compare*/ ) const {
1863  return false;
1864  }
1865 
1866 private:
1867  XMLDocument( const XMLDocument& ); // not supported
1868  void operator=( const XMLDocument& ); // not supported
1869 
1870  bool _writeBOM;
1871  bool _processEntities;
1872  XMLError _errorID;
1873  Whitespace _whitespaceMode;
1874  mutable StrPair _errorStr;
1875  int _errorLineNum;
1876  char* _charBuffer;
1877  int _parseCurLineNum;
1878  int _parsingDepth;
1879  // Memory tracking does add some overhead.
1880  // However, the code assumes that you don't
1881  // have a bunch of unlinked nodes around.
1882  // Therefore it takes less memory to track
1883  // in the document vs. a linked list in the XMLNode,
1884  // and the performance is the same.
1885  DynArray<XMLNode*, 10> _unlinked;
1886 
1887  MemPoolT< sizeof(XMLElement) > _elementPool;
1888  MemPoolT< sizeof(XMLAttribute) > _attributePool;
1889  MemPoolT< sizeof(XMLText) > _textPool;
1890  MemPoolT< sizeof(XMLComment) > _commentPool;
1891 
1892  static const char* _errorNames[XML_ERROR_COUNT];
1893 
1894  void Parse();
1895 
1896  void SetError( XMLError error, int lineNum, const char* format, ... );
1897 
1898  // Something of an obvious security hole, once it was discovered.
1899  // Either an ill-formed XML or an excessively deep one can overflow
1900  // the stack. Track stack depth, and error out if needed.
1901  class DepthTracker {
1902  public:
1903  explicit DepthTracker(XMLDocument * document) {
1904  this->_document = document;
1905  document->PushDepth();
1906  }
1907  ~DepthTracker() {
1908  _document->PopDepth();
1909  }
1910  private:
1911  XMLDocument * _document;
1912  };
1913  void PushDepth();
1914  void PopDepth();
1915 
1916  template<class NodeType, int PoolElementSize>
1917  NodeType* CreateUnlinkedNode( MemPoolT<PoolElementSize>& pool );
1918 };
1919 
1920 template<class NodeType, int PoolElementSize>
1921 inline NodeType* XMLDocument::CreateUnlinkedNode( MemPoolT<PoolElementSize>& pool )
1922 {
1923  TIXMLASSERT( sizeof( NodeType ) == PoolElementSize );
1924  TIXMLASSERT( sizeof( NodeType ) == pool.ItemSize() );
1925  NodeType* returnNode = new (pool.Alloc()) NodeType( this );
1926  TIXMLASSERT( returnNode );
1927  returnNode->_memPool = &pool;
1928 
1929  _unlinked.Push(returnNode);
1930  return returnNode;
1931 }
1932 
1988 class TINYXML2_LIB XMLHandle
1989 {
1990 public:
1992  explicit XMLHandle( XMLNode* node ) : _node( node ) {
1993  }
1995  explicit XMLHandle( XMLNode& node ) : _node( &node ) {
1996  }
1998  XMLHandle( const XMLHandle& ref ) : _node( ref._node ) {
1999  }
2001  XMLHandle& operator=( const XMLHandle& ref ) {
2002  _node = ref._node;
2003  return *this;
2004  }
2005 
2008  return XMLHandle( _node ? _node->FirstChild() : 0 );
2009  }
2011  XMLHandle FirstChildElement( const char* name = 0 ) {
2012  return XMLHandle( _node ? _node->FirstChildElement( name ) : 0 );
2013  }
2016  return XMLHandle( _node ? _node->LastChild() : 0 );
2017  }
2019  XMLHandle LastChildElement( const char* name = 0 ) {
2020  return XMLHandle( _node ? _node->LastChildElement( name ) : 0 );
2021  }
2024  return XMLHandle( _node ? _node->PreviousSibling() : 0 );
2025  }
2027  XMLHandle PreviousSiblingElement( const char* name = 0 ) {
2028  return XMLHandle( _node ? _node->PreviousSiblingElement( name ) : 0 );
2029  }
2032  return XMLHandle( _node ? _node->NextSibling() : 0 );
2033  }
2035  XMLHandle NextSiblingElement( const char* name = 0 ) {
2036  return XMLHandle( _node ? _node->NextSiblingElement( name ) : 0 );
2037  }
2038 
2041  return _node;
2042  }
2045  return ( _node ? _node->ToElement() : 0 );
2046  }
2049  return ( _node ? _node->ToText() : 0 );
2050  }
2053  return ( _node ? _node->ToUnknown() : 0 );
2054  }
2057  return ( _node ? _node->ToDeclaration() : 0 );
2058  }
2059 
2060 private:
2061  XMLNode* _node;
2062 };
2063 
2064 
2069 class TINYXML2_LIB XMLConstHandle
2070 {
2071 public:
2072  explicit XMLConstHandle( const XMLNode* node ) : _node( node ) {
2073  }
2074  explicit XMLConstHandle( const XMLNode& node ) : _node( &node ) {
2075  }
2076  XMLConstHandle( const XMLConstHandle& ref ) : _node( ref._node ) {
2077  }
2078 
2079  XMLConstHandle& operator=( const XMLConstHandle& ref ) {
2080  _node = ref._node;
2081  return *this;
2082  }
2083 
2084  const XMLConstHandle FirstChild() const {
2085  return XMLConstHandle( _node ? _node->FirstChild() : 0 );
2086  }
2087  const XMLConstHandle FirstChildElement( const char* name = 0 ) const {
2088  return XMLConstHandle( _node ? _node->FirstChildElement( name ) : 0 );
2089  }
2090  const XMLConstHandle LastChild() const {
2091  return XMLConstHandle( _node ? _node->LastChild() : 0 );
2092  }
2093  const XMLConstHandle LastChildElement( const char* name = 0 ) const {
2094  return XMLConstHandle( _node ? _node->LastChildElement( name ) : 0 );
2095  }
2096  const XMLConstHandle PreviousSibling() const {
2097  return XMLConstHandle( _node ? _node->PreviousSibling() : 0 );
2098  }
2099  const XMLConstHandle PreviousSiblingElement( const char* name = 0 ) const {
2100  return XMLConstHandle( _node ? _node->PreviousSiblingElement( name ) : 0 );
2101  }
2102  const XMLConstHandle NextSibling() const {
2103  return XMLConstHandle( _node ? _node->NextSibling() : 0 );
2104  }
2105  const XMLConstHandle NextSiblingElement( const char* name = 0 ) const {
2106  return XMLConstHandle( _node ? _node->NextSiblingElement( name ) : 0 );
2107  }
2108 
2109 
2110  const XMLNode* ToNode() const {
2111  return _node;
2112  }
2113  const XMLElement* ToElement() const {
2114  return ( _node ? _node->ToElement() : 0 );
2115  }
2116  const XMLText* ToText() const {
2117  return ( _node ? _node->ToText() : 0 );
2118  }
2119  const XMLUnknown* ToUnknown() const {
2120  return ( _node ? _node->ToUnknown() : 0 );
2121  }
2122  const XMLDeclaration* ToDeclaration() const {
2123  return ( _node ? _node->ToDeclaration() : 0 );
2124  }
2125 
2126 private:
2127  const XMLNode* _node;
2128 };
2129 
2130 
2173 class TINYXML2_LIB XMLPrinter : public XMLVisitor
2174 {
2175 public:
2182  XMLPrinter( FILE* file=0, bool compact = false, int depth = 0 );
2183  virtual ~XMLPrinter() {}
2184 
2186  void PushHeader( bool writeBOM, bool writeDeclaration );
2190  void OpenElement( const char* name, bool compactMode=false );
2192  void PushAttribute( const char* name, const char* value );
2193  void PushAttribute( const char* name, int value );
2194  void PushAttribute( const char* name, unsigned value );
2195  void PushAttribute(const char* name, int64_t value);
2196  void PushAttribute( const char* name, bool value );
2197  void PushAttribute( const char* name, double value );
2199  virtual void CloseElement( bool compactMode=false );
2200 
2202  void PushText( const char* text, bool cdata=false );
2204  void PushText( int value );
2206  void PushText( unsigned value );
2208  void PushText(int64_t value);
2210  void PushText( bool value );
2212  void PushText( float value );
2214  void PushText( double value );
2215 
2217  void PushComment( const char* comment );
2218 
2219  void PushDeclaration( const char* value );
2220  void PushUnknown( const char* value );
2221 
2222  virtual bool VisitEnter( const XMLDocument& /*doc*/ );
2223  virtual bool VisitExit( const XMLDocument& /*doc*/ ) {
2224  return true;
2225  }
2226 
2227  virtual bool VisitEnter( const XMLElement& element, const XMLAttribute* attribute );
2228  virtual bool VisitExit( const XMLElement& element );
2229 
2230  virtual bool Visit( const XMLText& text );
2231  virtual bool Visit( const XMLComment& comment );
2232  virtual bool Visit( const XMLDeclaration& declaration );
2233  virtual bool Visit( const XMLUnknown& unknown );
2234 
2239  const char* CStr() const {
2240  return _buffer.Mem();
2241  }
2247  int CStrSize() const {
2248  return _buffer.Size();
2249  }
2254  void ClearBuffer() {
2255  _buffer.Clear();
2256  _buffer.Push(0);
2257  _firstElement = true;
2258  }
2259 
2260 protected:
2261  virtual bool CompactMode( const XMLElement& ) { return _compactMode; }
2262 
2266  virtual void PrintSpace( int depth );
2267  void Print( const char* format, ... );
2268  void Write( const char* data, size_t size );
2269  inline void Write( const char* data ) { Write( data, strlen( data ) ); }
2270  void Putc( char ch );
2271 
2272  void SealElementIfJustOpened();
2273  bool _elementJustOpened;
2274  DynArray< const char*, 10 > _stack;
2275 
2276 private:
2277  void PrintString( const char*, bool restrictedEntitySet ); // prints out, after detecting entities.
2278 
2279  bool _firstElement;
2280  FILE* _fp;
2281  int _depth;
2282  int _textDepth;
2283  bool _processEntities;
2284  bool _compactMode;
2285 
2286  enum {
2287  ENTITY_RANGE = 64,
2288  BUF_SIZE = 200
2289  };
2290  bool _entityFlag[ENTITY_RANGE];
2291  bool _restrictedEntityFlag[ENTITY_RANGE];
2292 
2293  DynArray< char, 20 > _buffer;
2294 
2295  // Prohibit cloning, intentionally not implemented
2296  XMLPrinter( const XMLPrinter& );
2297  XMLPrinter& operator=( const XMLPrinter& );
2298 };
2299 
2300 
2301 } // tinyxml2
2302 
2303 #if defined(_MSC_VER)
2304 # pragma warning(pop)
2305 #endif
2306 
2307 #endif // TINYXML2_INCLUDED
XMLError QueryInt64Attribute(const char *name, int64_t *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1340
+
XMLError QueryIntValue(int *value) const
+
XMLError QueryBoolAttribute(const char *name, bool *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1349
+
virtual bool VisitExit(const XMLDocument &)
Visit a document.
Definition: tinyxml2.h:488
+
virtual XMLNode * ShallowClone(XMLDocument *) const
Definition: tinyxml2.h:1859
+
virtual bool ShallowEqual(const XMLNode *) const
Definition: tinyxml2.h:1862
+
XMLHandle FirstChildElement(const char *name=0)
Get the first child element of this handle.
Definition: tinyxml2.h:2011
+
XMLText * ToText()
Safe cast to XMLText. This can return null.
Definition: tinyxml2.h:2048
+
XMLError QueryFloatValue(float *value) const
See QueryIntValue.
+
const char * CStr() const
Definition: tinyxml2.h:2239
+
XMLError ErrorID() const
Return the errorID.
Definition: tinyxml2.h:1821
+
XMLElement * ToElement()
Safe cast to XMLElement. This can return null.
Definition: tinyxml2.h:2044
+
virtual XMLElement * ToElement()
Safely cast to an Element, or null.
Definition: tinyxml2.h:683
+
XMLError QueryStringAttribute(const char *name, const char **value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1374
+
virtual XMLText * ToText()
Safely cast to Text, or null.
Definition: tinyxml2.h:687
+
XMLError QueryUnsignedAttribute(const char *name, unsigned int *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1331
+
int CStrSize() const
Definition: tinyxml2.h:2247
+
float FloatValue() const
Query as a float. See IntValue()
Definition: tinyxml2.h:1184
+
virtual XMLDocument * ToDocument()
Safely cast to a Document, or null.
Definition: tinyxml2.h:1666
+
XMLUnknown * ToUnknown()
Safe cast to XMLUnknown. This can return null.
Definition: tinyxml2.h:2052
+
const char * Name() const
Get the name of an element (which is the Value() of the node.)
Definition: tinyxml2.h:1250
+
XMLHandle(const XMLHandle &ref)
Copy constructor.
Definition: tinyxml2.h:1998
+
XMLHandle FirstChild()
Get the first child of this handle.
Definition: tinyxml2.h:2007
+
void SetCData(bool isCData)
Declare whether this should be CDATA or standard text.
Definition: tinyxml2.h:996
+
void SetUserData(void *userData)
Definition: tinyxml2.h:930
+
const XMLNode * NextSibling() const
Get the next (right) sibling node of this node.
Definition: tinyxml2.h:812
+
unsigned UnsignedValue() const
Query as an unsigned integer. See IntValue()
Definition: tinyxml2.h:1166
+
XMLHandle LastChildElement(const char *name=0)
Get the last child element of this handle.
Definition: tinyxml2.h:2019
+
XMLHandle LastChild()
Get the last child of this handle.
Definition: tinyxml2.h:2015
+
Definition: tinyxml2.h:1988
+
Definition: tinyxml2.h:1061
+
XMLElement * RootElement()
Definition: tinyxml2.h:1745
+
virtual XMLText * ToText()
Safely cast to Text, or null.
Definition: tinyxml2.h:988
+
XMLHandle(XMLNode &node)
Create a handle from a node.
Definition: tinyxml2.h:1995
+
void SetName(const char *str, bool staticMem=false)
Set the name of the element.
Definition: tinyxml2.h:1254
+
void SetBOM(bool useBOM)
Definition: tinyxml2.h:1738
+
XMLHandle(XMLNode *node)
Create a handle from any node (at any depth of the tree.) This can be a null pointer.
Definition: tinyxml2.h:1992
+
void ClearBuffer()
Definition: tinyxml2.h:2254
+
virtual XMLComment * ToComment()
Safely cast to a Comment, or null.
Definition: tinyxml2.h:1026
+
virtual XMLElement * ToElement()
Safely cast to an Element, or null.
Definition: tinyxml2.h:1258
+
bool HasBOM() const
Definition: tinyxml2.h:1733
+
Definition: tinyxml2.h:116
+
XMLError QueryFloatAttribute(const char *name, float *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1365
+
XMLError QueryUnsignedValue(unsigned int *value) const
See QueryIntValue.
+
XMLNode * ToNode()
Safe cast to XMLNode. This can return null.
Definition: tinyxml2.h:2040
+
bool BoolValue() const
Query as a boolean. See IntValue()
Definition: tinyxml2.h:1172
+
const XMLNode * FirstChild() const
Get the first child node, or null if none exists.
Definition: tinyxml2.h:760
+
Definition: tinyxml2.h:1022
+
virtual XMLDeclaration * ToDeclaration()
Safely cast to a Declaration, or null.
Definition: tinyxml2.h:1065
+
virtual bool Visit(const XMLDeclaration &)
Visit a declaration.
Definition: tinyxml2.h:502
+
virtual bool Visit(const XMLUnknown &)
Visit an unknown node.
Definition: tinyxml2.h:514
+
void SetAttribute(const char *name, unsigned value)
Sets the named attribute to value.
Definition: tinyxml2.h:1437
+
XMLError QueryDoubleAttribute(const char *name, double *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1357
+
Definition: tinyxml2.h:1245
+
XMLError QueryInt64Value(int64_t *value) const
See QueryIntValue.
+
XMLHandle NextSibling()
Get the next sibling of this handle.
Definition: tinyxml2.h:2031
+
int GetLineNum() const
Gets the line number the attribute is in, if the document was parsed from a file. ...
Definition: tinyxml2.h:1142
+
int IntValue() const
Definition: tinyxml2.h:1153
+
virtual XMLUnknown * ToUnknown()
Safely cast to an Unknown, or null.
Definition: tinyxml2.h:1100
+
bool CData() const
Returns true if this is a CDATA text element.
Definition: tinyxml2.h:1000
+
XMLHandle PreviousSibling()
Get the previous sibling of this handle.
Definition: tinyxml2.h:2023
+
Definition: tinyxml2.h:2069
+
XMLHandle & operator=(const XMLHandle &ref)
Assignment.
Definition: tinyxml2.h:2001
+
virtual bool VisitExit(const XMLDocument &)
Visit a document.
Definition: tinyxml2.h:2223
+
virtual bool VisitEnter(const XMLElement &, const XMLAttribute *)
Visit an element.
Definition: tinyxml2.h:493
+
bool Error() const
Return true if there was an error parsing the document.
Definition: tinyxml2.h:1817
+
virtual bool VisitEnter(const XMLDocument &)
Visit a document.
Definition: tinyxml2.h:484
+
Definition: tinyxml2.h:1096
+
virtual XMLDocument * ToDocument()
Safely cast to a Document, or null.
Definition: tinyxml2.h:695
+
const XMLNode * LastChild() const
Get the last child node, or null if none exists.
Definition: tinyxml2.h:778
+
Definition: tinyxml2.h:1131
+
XMLError QueryAttribute(const char *name, int *value) const
Definition: tinyxml2.h:1402
+
void SetAttribute(const char *name, bool value)
Sets the named attribute to value.
Definition: tinyxml2.h:1449
+
XMLDeclaration * ToDeclaration()
Safe cast to XMLDeclaration. This can return null.
Definition: tinyxml2.h:2056
+
void SetAttribute(const char *value)
Set the attribute to a string value.
+
void SetAttribute(const char *name, const char *value)
Sets the named attribute to value.
Definition: tinyxml2.h:1427
+
virtual bool VisitExit(const XMLElement &)
Visit an element.
Definition: tinyxml2.h:497
+
Definition: tinyxml2.h:2173
+
Definition: tinyxml2.h:1651
+
void * GetUserData() const
Definition: tinyxml2.h:937
+
void SetAttribute(const char *name, int64_t value)
Sets the named attribute to value.
Definition: tinyxml2.h:1443
+
const char * Value() const
The value of the attribute.
+
void SetAttribute(const char *name, double value)
Sets the named attribute to value.
Definition: tinyxml2.h:1454
+
XMLError QueryDoubleValue(double *value) const
See QueryIntValue.
+
const XMLNode * Parent() const
Get the parent of this node on the DOM.
Definition: tinyxml2.h:746
+
virtual bool Visit(const XMLComment &)
Visit a comment node.
Definition: tinyxml2.h:510
+
XMLError QueryBoolValue(bool *value) const
See QueryIntValue.
+
const XMLNode * PreviousSibling() const
Get the previous (left) sibling node of this node.
Definition: tinyxml2.h:796
+
XMLHandle NextSiblingElement(const char *name=0)
Get the next sibling element of this handle.
Definition: tinyxml2.h:2035
+
Definition: tinyxml2.h:665
+
XMLError QueryIntAttribute(const char *name, int *value) const
Definition: tinyxml2.h:1322
+
int GetLineNum() const
Gets the line number the node is in, if the document was parsed from a file.
Definition: tinyxml2.h:743
+
virtual bool Visit(const XMLText &)
Visit a text node.
Definition: tinyxml2.h:506
+
Definition: tinyxml2.h:982
+
Definition: tinyxml2.h:478
+
int ErrorLineNum() const
Return the line where the error occurred, or zero if unknown.
Definition: tinyxml2.h:1836
+
XMLDocument * GetDocument()
Get the XMLDocument that owns this XMLNode.
Definition: tinyxml2.h:677
+
virtual XMLUnknown * ToUnknown()
Safely cast to an Unknown, or null.
Definition: tinyxml2.h:703
+
void SetAttribute(const char *name, float value)
Sets the named attribute to value.
Definition: tinyxml2.h:1459
+
const XMLAttribute * Next() const
The next attribute in the list.
Definition: tinyxml2.h:1145
+
bool NoChildren() const
Returns true if this node has no children.
Definition: tinyxml2.h:755
+
double DoubleValue() const
Query as a double. See IntValue()
Definition: tinyxml2.h:1178
+
virtual XMLDeclaration * ToDeclaration()
Safely cast to a Declaration, or null.
Definition: tinyxml2.h:699
+
const XMLDocument * GetDocument() const
Get the XMLDocument that owns this XMLNode.
Definition: tinyxml2.h:672
+
XMLHandle PreviousSiblingElement(const char *name=0)
Get the previous sibling element of this handle.
Definition: tinyxml2.h:2027
+
void SetAttribute(const char *name, int value)
Sets the named attribute to value.
Definition: tinyxml2.h:1432
+
const XMLAttribute * FirstAttribute() const
Return the first attribute in the list.
Definition: tinyxml2.h:1470
+
virtual XMLComment * ToComment()
Safely cast to a Comment, or null.
Definition: tinyxml2.h:691
+
+ + + + diff --git a/bfs/tools/tinyxml/dox b/bfs/tools/tinyxml/dox new file mode 100644 index 0000000..d954a20 --- /dev/null +++ b/bfs/tools/tinyxml/dox @@ -0,0 +1,2441 @@ +# Doxyfile 1.8.13 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = "TinyXML-2" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = 7.1.0 + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included +# in the documentation. The maximum height of the logo should not exceed 55 +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy +# the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = . + +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new +# page for each member. If set to NO, the documentation of a member will be part +# of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note: For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up +# to that level are automatically included in the table of contents, even if +# they do not have an id attribute. +# Note: This feature currently applies only to Markdown headings. +# Minimum value: 0, maximum value: 99, default value: 0. +# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. + +TOC_INCLUDE_HEADINGS = 0 + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# If one adds a struct or class to a group and this option is enabled, then also +# any nested class or struct is added to the same group. By default this option +# is disabled and one has to add nested compounds explicitly via \ingroup. +# The default value is: NO. + +GROUP_NESTED_COMPOUNDS = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO, +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. If set to YES, local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO, only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = YES + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO, these classes will be included in the various overviews. This option +# has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO, these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO, these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES, upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES, the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE= NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo +# list. This list is created by putting \todo commands in the documentation. +# The default value is: YES. + +GENERATE_TODOLIST = NO + +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test +# list. This list is created by putting \test commands in the documentation. +# The default value is: YES. + +GENERATE_TESTLIST = NO + +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = NO + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES, the +# list will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. See also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = NO + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO, doxygen will only warn about wrong or incomplete +# parameter documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING +# Note: If this tag is empty the current directory is searched. + +INPUT = tinyxml2.h \ + xmltest.cpp \ + readme.md + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# read by doxygen. +# +# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, +# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, +# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, +# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, +# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = . + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = readme.md + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the +# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the +# cost of reduced performance. This can be particularly helpful with template +# rich C++ code for which doxygen's built-in parser lacks the necessary type +# information. +# Note: The availability of this option depends on whether or not doxygen was +# generated with the -Duse-libclang=ON option for CMake. +# The default value is: NO. + +CLANG_ASSISTED_PARSING = NO + +# If clang assisted parsing is enabled you can provide the compiler with command +# line options that you would normally use when invoking the compiler. Note that +# the include paths will already be set by doxygen for the files and directories +# specified with INPUT and INCLUDE_PATH. +# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. + +CLANG_OPTIONS = + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = docs + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the +# list). For an example see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the style sheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to YES can help to show when doxygen was last run and thus if the +# documentation is up to date. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler (hhc.exe). If non-empty, +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated +# (YES) or that it should be included in the master .chm file (NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = YES + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /