#include <G4Tokenizer.hh>
Definition at line 41 of file G4Tokenizer.hh.
◆ G4Tokenizer()
G4Tokenizer::G4Tokenizer |
( |
const G4String & |
stn | ) |
|
|
inline |
◆ operator()()
G4String G4Tokenizer::operator() |
( |
const char * |
str = " \t\n" , |
|
|
std::size_t |
l = 0 |
|
) |
| |
|
inline |
Definition at line 49 of file G4Tokenizer.hh.
50 {
51 std::size_t i, j, tmp;
53 if(l == 0)
54 l = strlen(str);
55
56
58 {
59 for(i = 0; i < l; ++i)
60 {
62 hasws = true;
63 }
64 if(hasws)
65 {
67 hasws = false;
68 }
69 else
70 break;
71 }
72
74 {
75 for(i = 0; i < l; ++i)
77 break;
78 if(i < l)
79 break;
80 }
82 {
86 }
87 else
88 {
92 }
93 }
References actual, and string2tokenize.
◆ actual
std::size_t G4Tokenizer::actual |
|
private |
◆ string2tokenize
The documentation for this class was generated from the following file: