Changes in classes/DelphesStream.cc [b4786d3:341014c] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesStream.cc
rb4786d3 r341014c 106 106 107 107 //------------------------------------------------------------------------------ 108 109 bool DelphesStream::FindChr(int value)110 {111 char *position;112 bool result = false;113 114 position = strchr(fBuffer, value);115 116 if(position)117 {118 result = true;119 fBuffer = position + 1;120 }121 122 return result;123 }124 125 //------------------------------------------------------------------------------126 127 bool DelphesStream::FindStr(const char *value)128 {129 char *position;130 bool result = false;131 132 position = strstr(fBuffer, value);133 134 if(position)135 {136 result = true;137 fBuffer = position + strlen(value);138 }139 140 return result;141 }142 143 //------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.