updated doxy comments

This commit is contained in:
Jack Andersen 2015-06-19 10:44:01 -10:00
parent e641dbbe4b
commit 2d8aeb70e8
2 changed files with 9 additions and 6 deletions

View File

@ -50,9 +50,9 @@ public:
bool readBool(); bool readBool();
atVec3f readVec3f(); atVec3f readVec3f();
atVec4f readVec4f(); atVec4f readVec4f();
std::string readString(atInt32 maxlen = -1); std::string readString(atInt32 fixedLen = -1);
std::wstring readWString(atInt32 maxLen = -1); std::wstring readWString(atInt32 fixedLen = -1);
std::string readUnicode(atInt32 maxlen = -1); std::string readUnicode(atInt32 fixedLen = -1);
protected: protected:
std::string m_filename; std::string m_filename;
FILE* m_fileHandle; FILE* m_fileHandle;

View File

@ -269,24 +269,27 @@ public:
/*! \brief Reads a Unicode string and advances the position in the file /*! \brief Reads a Unicode string and advances the position in the file
* *
* \param fixedLen If non-negative, this is a fixed-length string read
* \return std::string The value at the current address * \return std::string The value at the current address
* \throw IOException when address is out of range * \throw IOException when address is out of range
*/ */
std::string readUnicode(atInt32 maxlen = -1); std::string readUnicode(atInt32 fixedLen = -1);
/*! \brief Reads a string and advances the position in the file /*! \brief Reads a string and advances the position in the file
* *
* \param fixedLen If non-negative, this is a fixed-length string read
* \return std::string The value at the current address * \return std::string The value at the current address
* \throw IOException when address is out of range * \throw IOException when address is out of range
*/ */
std::string readString(atInt32 maxlen = -1); std::string readString(atInt32 fixedLen = -1);
/*! \brief Reads a wstring and advances the position in the file /*! \brief Reads a wstring and advances the position in the file
* *
* \param fixedLen If non-negative, this is a fixed-length string read
* \return std::wstring The value at the current address * \return std::wstring The value at the current address
* \throw IOException when address is out of range * \throw IOException when address is out of range
*/ */
std::wstring readWString(atInt32 maxlen = -1); std::wstring readWString(atInt32 fixedLen = -1);
void setProgressCallback(std::function<void(int)> cb); void setProgressCallback(std::function<void(int)> cb);
protected: protected: