Main Page | Class Hierarchy | Class List | File List | Class Members

UTF8Checker Class Reference

UTF8 string format check. If the data contains a valid UTF8 string, it returns 0. Otherwise, it returns -1. More...

#include <diameter_parser_api.h>

List of all members.

Public Member Functions

 UTF8Checker ()
int operator() (const char *data, unsigned length, bool nullCheck=false)


Detailed Description

UTF8 string format check. If the data contains a valid UTF8 string, it returns 0. Otherwise, it returns -1.


Constructor & Destructor Documentation

UTF8Checker::UTF8Checker  )  [inline]
 

constructor


Member Function Documentation

int UTF8Checker::operator() const char *  data,
unsigned  length,
bool  nullCheck = false
[inline]
 

When nullCheck is true, the check will fail if a null octet is found in the data.


The documentation for this class was generated from the following file:
Generated on Mon Jan 10 20:16:51 2005 for Open Diameter C++ API by  doxygen 1.3.9.1