100 std::vector< std::vector< std::string > > _options;
Project global and OS specific declarations.
#define MLMULTI_FILE_VOLUME_EXPORT
Only for diagnostic purposes.
Container which stores additional options for MultiFileVolumes which can have an arbitrary number of ...
MLErrorCode getOption(size_t index, std::string &optionName, std::string &optionType, std::string &optionValue) const
Return contents of the option at position index from the container.
size_t findOption(const std::string &optionName, bool optionNameMustMatch, const std::string &optionType, bool optionTypeMustMatch, const std::string &optionValue, bool optionValueMustMatch) const
Returns the index of the first option matching the method arguments.
MultiFileVolumeAdditionalOptions()
Creates an empty container.
size_t getNumberOfOptions() const
Returns number of options currently stored in the container.
bool operator!=(const MultiFileVolumeAdditionalOptions &other) const
Compares *this and other, returns true on inequality, false otherwise.
std::string toString() const
Converts *this to a std::string and returns it.
virtual ~MultiFileVolumeAdditionalOptions()
MLErrorCode fromString(const std::string &state, size_t &readPos)
Reads a complete instance of this from state at position readPos; readPos is incremented to position ...
bool operator==(const MultiFileVolumeAdditionalOptions &other) const
Compares *this and other, returns true on equality, false otherwise.
void appendOption(const std::string &optionName, const std::string &optionType, const std::string &optionValue)
Appends a new option to the container.
void reset()
Clears all options and resets the instance to the construction state.
MLint32 MLErrorCode
Type of an ML Error code.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.