nlib
Types.h File Reference

Defines constructs such as string-type typedef statements and utility macros. More...

Go to the source code of this file.

Classes

class  nn::nlib::exi::Preserve
 Set of options that preserve the binary XML to read or write. More...
 

Namespaces

 nn::nlib
 Implements common features and features that are highly platform-dependent. Also refer to nlib Platform APIs. nlib_ns is an alias.
 
 nn::nlib::exi
 Implements binary XML parsers (and XML parsers).
 

Macros

#define NLIB_EXI_ESTR   L""
 Defines an empty string. "" or L"".
 
#define NLIB_EXI_STR(x)   L##x
 Adds the L prefix to a wide character.
 
#define NLIB_EXI_LITERAL(x)   NLIB_EXI_STR(x)
 Adjusts string literals so that they can be passed as string types within the XML parser. More...
 
#define NLIB_EXI_UTF8(x)   ::nlib_ns::unicode::ToUtf8Obj(x).c_str()
 Adjusts string literals within the XML parser so that they can be passed as UTF-8 strings. More...
 
#define NLIB_EXI_STRING(x)   ::nlib_ns::unicode::ToWideObj(x).c_str()
 Adjusts strings encoded in UTF-8, UTF-16, or UTF-32 so that they can be passed as string types within the XML parser. More...
 

Typedefs

typedef wchar_t nn::nlib::exi::ExiChar
 A string-type typedef used internally by the XML parser. More...
 

Enumerations

enum  nn::nlib::exi::Alignment {
  nn::nlib::exi::ALIGNMENT_BIT_PACKED = 0,
  nn::nlib::exi::ALIGNMENT_BYTE_ALIGNMENT = 1
}
 Specifies the alignment of the binary XML to read or write. More...
 
enum  nn::nlib::exi::XmlProcessor {
  nn::nlib::exi::XML_PROCESSOR_EXI = 0,
  nn::nlib::exi::XML_PROCESSOR_TEXT
}
 Option that specifies which XML processor to use. More...
 

Detailed Description

Defines constructs such as string-type typedef statements and utility macros.

Definition in file Types.h.