3 #ifndef INCLUDE_NN_NLIB_MSGPACK_CSVREADER_H_
4 #define INCLUDE_NN_NLIB_MSGPACK_CSVREADER_H_
10 #if defined(_MSC_VER) && defined(nx_msgpack_EXPORTS)
11 #undef NLIB_VIS_PUBLIC
12 #define NLIB_VIS_PUBLIC NLIB_WINEXPORT
38 if (m_ErrorValue == 0) m_ErrorValue = e;
50 #if defined(_MSC_VER) && defined(nx_msgpack_EXPORTS)
51 #undef NLIB_VIS_PUBLIC
52 #define NLIB_VIS_PUBLIC NLIB_WINIMPORT
55 #endif // INCLUDE_NN_NLIB_MSGPACK_CSVREADER_H_
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
CSV parser. Reads and parses the CSV string from the stream.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
#define NLIB_SAFE_BOOL(class_name, exp)
Defines a safe operator bool function in the class. Uses the C++11 explicit bool if it is available f...
Object created when MessagePack or JSON is read.
errno_t GetErrorValue() const noexcept
Gets the error that occurred.
InputStream * GetStream() noexcept
Gets the base stream specified in Init.
Defines the class for reading text from streams.
The class for reading text from streams.
Object created when MessagePack, JSON, or CSV is read.
~CsvReader() noexcept
Destructor.
CsvReader() noexcept
Instantiates the object with default parameters (default constructor).
bool Read(BinaryReader *r, T *x)
You can read to user-defined class objects by specializing this function template.
bool Close() noexcept
Closes CsvReader.