libqi
1.12
|
Namespaces | |
namespace | qi |
SDKLayout implementation. | |
Defines | |
#define | QI_API_LEVEL 1 |
Define the API version of the Platform. | |
Typedefs | |
typedef std::codecvt< wchar_t, char, std::mbstate_t > | qi::codecvt_type |
standard std::codecvt accept by STL and boost. typedef for std::codecvt<wchar_t, char, std::mbstate_t> could be used with boost::filesystem::path or std::locale. | |
Functions | |
QI_API const codecvt_type & | qi::unicodeFacet () |
utf8 facet | |
QI_API void | qi::init (int argc, char *argv[]) |
Store argc and argv. | |
QI_API int | qi::argc () |
Get argc. | |
QI_API const char ** | qi::argv () |
Get argv. | |
QI_API const char * | qi::program () |
Return the current program.Computed using specific OS API: |
Various functions.
#define QI_API_LEVEL 1 |
Define the API version of the Platform.
Version Mapping
API Level | Version |
0 / undefined | Pre 1.12 release |
1 | NAOqi release 1.12 |
Definition at line 30 of file config.hpp.
QI_API int qi::argc | ( | ) |
Get argc.
const char ** qi::argv | ( | ) |
Get argv.
const char * qi::program | ( | ) |
Return the current program.Computed using specific OS API:
If the former API fail it will try to guess the value from argv[0]. For this method to work qi::init(argc, argv) should have been called in the main.
const codecvt_type & qi::unicodeFacet | ( | ) |
utf8 facet
return a facet object that can be used by stl (iostream, locale, ..) and std::locale compliant library like boost::filesystem.
this class allow convertion between utf8(char) and utf16/32(wchar).