name: SofParser

synopsis:

 
g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_io.a

#include <SofParser.h>

SofParser();
boolean setImplicitParam();
boolean setNest();
long countTokens(const SysString& param);
quick start:

SofParser parser;
static String implicit((unichar*)SofParser::IMPLICIT_PARAM);

// interface for data-only object
//
parser.setImplicitParam();
 
SysString pname(L"values");
pname.assign(implicit);

parser.setNest();
description:

The file parsing routines used to extract information from user-formatted parameter files are far from new technology. the tendency in software design, however, is to re-invent these methods for every new piece of software. this creates a two-fold problem. first, a significant amount of time is wasted in redeveloping existing technology. secondly, different implementors may choose to develop languages with varying complexity, so file conventions accepted by one program may not work with another.

SofParser is a parser class for parsing name=value from ASCII Sof files. it sits atop Sof in our environment.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: