Intel® Implicit SPMD Program Compiler (Intel® ISPC)  1.13.0
Public Member Functions | Private Member Functions | List of all members
ArgFactory Class Referenceabstract
Inheritance diagram for ArgFactory:
Inheritance graph
[legend]

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 215 of file main.cpp.

Constructor & Destructor Documentation

◆ ArgFactory()

ArgFactory::ArgFactory ( )
inline

Definition at line 230 of file main.cpp.

Member Function Documentation

◆ AllocateString()

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

Definition at line 217 of file main.cpp.

References GetNextChar().

Referenced by GetNextArg().

◆ GetNextArg()

char* ArgFactory::GetNextArg ( )
inline

Definition at line 232 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: