#include <PSDL_Interpreter.h>
Static Public Member Functions | |
static void | reset (char *input_string) |
static int | copy_into (char *buf, int max_size) |
Static Private Attributes | |
static char * | string_ = 0 |
static char * | current_ = 0 |
static char * | end_ = 0 |
Definition at line 70 of file PSDL_Interpreter.h.
int TAO_Lex_String_Input::copy_into | ( | char * | buf, | |
int | max_size | |||
) | [static] |
Definition at line 83 of file PSDL_Interpreter.cpp.
{ int chars_left = TAO_Lex_String_Input::end_ - TAO_Lex_String_Input::current_; int n = max_size > chars_left ? chars_left : max_size; if (n > 0) { ACE_OS::memcpy (buf, TAO_Lex_String_Input::current_, n); TAO_Lex_String_Input::current_ += n; } return n; }
void TAO_Lex_String_Input::reset | ( | char * | input_string | ) | [static] |
Definition at line 101 of file PSDL_Interpreter.cpp.
{ TAO_Lex_String_Input::string_ = input_string; TAO_Lex_String_Input::current_ = input_string; TAO_Lex_String_Input::end_ = input_string + ACE_OS::strlen (TAO_Lex_String_Input::string_); }
char * TAO_Lex_String_Input::current_ = 0 [static, private] |
Definition at line 87 of file PSDL_Interpreter.h.
char * TAO_Lex_String_Input::end_ = 0 [static, private] |
Definition at line 88 of file PSDL_Interpreter.h.
char * TAO_Lex_String_Input::string_ = 0 [static, private] |
Definition at line 86 of file PSDL_Interpreter.h.