Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
JValFact Struct Reference

Detailed Description

The JValFact enables one to manually create a JVal syntax tree or add nodes to an existing syntax tree.

See also
JParserValFact

#include <JVal.h>

Public Member Functions

 JValFact (AllocatorIntf *vAlloc, AllocatorIntf *dAlloc)
 Initialize a factory without allocating a tree. More...
 
JVal * mkString (const char *v)
 Create a detached string node. More...
 
JVal * mkDouble (double v)
 Create a detached double node. More...
 
JVal * mkInt (S32 v)
 Create a detached int node. More...
 
JVal * mkLong (S64 v)
 Create a detached long node. More...
 
JVal * mkBoolean (bool v)
 Create a detached boolean node. More...
 
JVal * mkNull ()
 Create a detached null node. More...
 
JVal * mkObject ()
 Create a detached object node. More...
 
JVal * mkArray ()
 Create a detached array node. More...