EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Splitter Class Reference

#include <EicRoot/blob/master/eic/ayk/Splitter.h>

Public Member Functions

 Splitter ()
 
int splitString (char *str)
 
int splitNextString (FILE *ff)
 
int getArgn ()
 
const char * getArgp (unsigned id)
 

Private Member Functions

int splitStringCore ()
 

Private Attributes

unsigned argn
 
char * argp [SUBSTRINGS_MAX]
 
char buffer [STRING_LEN_MAX]
 

Detailed Description

Definition at line 19 of file Splitter.h.

View newest version in sPHENIX GitHub at line 19 of file Splitter.h

Constructor & Destructor Documentation

Splitter::Splitter ( )
inline

Definition at line 21 of file Splitter.h.

View newest version in sPHENIX GitHub at line 21 of file Splitter.h

References argn.

Member Function Documentation

int Splitter::getArgn ( )
inline

Definition at line 27 of file Splitter.h.

View newest version in sPHENIX GitHub at line 27 of file Splitter.h

References argn.

Referenced by import_ascii_field_map().

+ Here is the caller graph for this function:

const char* Splitter::getArgp ( unsigned  id)
inline

Definition at line 29 of file Splitter.h.

View newest version in sPHENIX GitHub at line 29 of file Splitter.h

References argn, and argp.

Referenced by import_ascii_field_map().

+ Here is the caller graph for this function:

int Splitter::splitNextString ( FILE *  ff)

Definition at line 59 of file Splitter.cxx.

View newest version in sPHENIX GitHub at line 59 of file Splitter.cxx

References splitStringCore(), and STRING_LEN_MAX.

Referenced by import_ascii_field_map().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Splitter::splitString ( char *  str)

Definition at line 46 of file Splitter.cxx.

View newest version in sPHENIX GitHub at line 46 of file Splitter.cxx

References splitStringCore(), and STRING_LEN_MAX.

+ Here is the call graph for this function:

int Splitter::splitStringCore ( )
private

Definition at line 19 of file Splitter.cxx.

View newest version in sPHENIX GitHub at line 19 of file Splitter.cxx

References argn, argp, and SUBSTRINGS_MAX.

Referenced by splitNextString(), and splitString().

+ Here is the caller graph for this function:

Member Data Documentation

unsigned Splitter::argn
private

Definition at line 29 of file Splitter.h.

View newest version in sPHENIX GitHub at line 29 of file Splitter.h

Referenced by getArgn(), getArgp(), splitStringCore(), and Splitter().

char* Splitter::argp[SUBSTRINGS_MAX]
private

Definition at line 34 of file Splitter.h.

View newest version in sPHENIX GitHub at line 34 of file Splitter.h

Referenced by getArgp(), and splitStringCore().

char Splitter::buffer[STRING_LEN_MAX]
private

Definition at line 38 of file Splitter.h.

View newest version in sPHENIX GitHub at line 38 of file Splitter.h


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