1 /**********************************************************\ 2 | | 3 | hprose | 4 | | 5 | Official WebSite: http://www.hprose.com/ | 6 | http://www.hprose.org/ | 7 | | 8 \**********************************************************/ 9 10 /**********************************************************\ 11 * * 12 * hprose/io/tags.d * 13 * * 14 * hprose tags for D. * 15 * * 16 * LastModified: Mar 3, 2015 * 17 * Author: Ma Bingyao <andot@hprose.com> * 18 * * 19 \**********************************************************/ 20 21 module hprose.io.tags; 22 @safe: 23 24 enum 25 /* Serialize Tags */ 26 TagInteger = 'i', 27 TagLong = 'l', 28 TagDouble = 'd', 29 TagNull = 'n', 30 TagEmpty = 'e', 31 TagTrue = 't', 32 TagFalse = 'f', 33 TagNaN = 'N', 34 TagInfinity = 'I', 35 TagDate = 'D', 36 TagTime = 'T', 37 TagUTC = 'Z', 38 TagBytes = 'b', 39 TagUTF8Char = 'u', 40 TagString = 's', 41 TagGuid = 'g', 42 TagList = 'a', 43 TagMap = 'm', 44 TagClass = 'c', 45 TagObject = 'o', 46 TagRef = 'r', 47 /* Serialize Marks */ 48 TagPos = '+', 49 TagNeg = '-', 50 TagSemicolon = ';', 51 TagOpenbrace = '{', 52 TagClosebrace = '}', 53 TagQuote = '"', 54 TagPoint = '.', 55 /* Protocol Tags */ 56 TagFunctions = 'F', 57 TagCall = 'C', 58 TagResult = 'R', 59 TagArgument = 'A', 60 TagError = 'E', 61 TagEnd = 'z';