#include <Util.h>
Static Public Member Functions | |
static void | decodeDiary (AssignableT< ARDiaryList > &out, const std::string &diaryValue) |
Decode the value of a diary field into a DiaryList. |
|
Decode the value of a diary field into a DiaryList. This is just like the method on Server, but does not require any state (a Server instance). For some really odd reason the AR System API call requires an ARControlStruct, but it works with a dummy control structure, which is how it is used here. There is no documentation suggesting why this works, or that it should work forever. However, there is no obvious reason ARDecodeDiary should require an ARControlStruct, so this is probably a safe bet. When possible, call the non-static method decodeDiary on Server.
|