Changeset b4786d3 in git for classes/DelphesStream.cc
- Timestamp:
- May 25, 2021, 7:33:19 PM (3 years ago)
- Branches:
- master
- Children:
- c1780a5
- Parents:
- f76741a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesStream.cc
rf76741a rb4786d3 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.