SHOGUN
v3.2.0
|
Go to the source code of this file.
Defines | |
#define | READ_INT_METHOD(fname, convf, sg_type) |
#define | READ_REAL_METHOD(fname, convf, sg_type) |
#define READ_INT_METHOD | ( | fname, | |
convf, | |||
sg_type | |||
) |
sg_type CParser::fname() \ { \ SGVector<char> token=read_cstring(); \ \ if (token.vlen>0) \ return (sg_type) convf(token.vector, NULL, 10); \ else \ return (sg_type) 0L; \ }
Definition at line 95 of file Parser.cpp.
#define READ_REAL_METHOD | ( | fname, | |
convf, | |||
sg_type | |||
) |
sg_type CParser::fname() \ { \ SGVector<char> token=read_cstring(); \ \ if (token.vlen>0) \ return (sg_type) convf(token.vector, NULL); \ else \ return (sg_type) 0L; \ }
Definition at line 110 of file Parser.cpp.