Intel SPMD Program Compiler  1.12.0
Public Member Functions | Private Member Functions | List of all members
ArgFactory Class Referenceabstract
Inheritance diagram for ArgFactory:
Inheritance graph

Public Member Functions

 ArgFactory ()
char * GetNextArg ()

Private Member Functions

char * AllocateString (std::string string)
virtual char GetNextChar ()=0

Detailed Description

Define an abstract base-class that implements the parsing of an character source and the breaking of it into the individual arguments

Definition at line 213 of file main.cpp.

Constructor & Destructor Documentation

◆ ArgFactory()

ArgFactory::ArgFactory ( )

Definition at line 228 of file main.cpp.

Member Function Documentation

◆ AllocateString()

char* ArgFactory::AllocateString ( std::string  string)

Definition at line 215 of file main.cpp.

References GetNextChar().

Referenced by GetNextArg().

◆ GetNextArg()

char* ArgFactory::GetNextArg ( )

Definition at line 230 of file main.cpp.

References AllocateString(), and GetNextChar().

Referenced by lAddArgsFromFactory().

◆ GetNextChar()

virtual char ArgFactory::GetNextChar ( )
privatepure virtual

Method provided by the derived classes to retrieve the next character from the stream.

Implemented in StringArgFactory, and FileArgFactory.

Referenced by AllocateString(), and GetNextArg().

The documentation for this class was generated from the following file: