Skip to content

Commit 48b39d5

Browse files
rename classic readers
1 parent 8d9832e commit 48b39d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/io/BGEO.cpp renamed to src/lib/io/BHCLASSIC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ bool skipPrimitives(int nPoints, int nPrims, int nPrimAttrib, istream* input,std
184184
return true;
185185
}
186186

187-
ParticlesDataMutable* readBGEO(const char* filename,const bool headersOnly,std::ostream* errorStream)
187+
ParticlesDataMutable* readBHCLASSIC(const char* filename,const bool headersOnly,std::ostream* errorStream)
188188
{
189189
unique_ptr<istream> input(io::unzip(filename));
190190
if(!*input){
@@ -299,7 +299,7 @@ ParticlesDataMutable* readBGEO(const char* filename,const bool headersOnly,std::
299299
return simple;
300300
}
301301

302-
bool writeBGEO(const char* filename,const ParticlesData& p,const bool compressed,std::ostream* errorStream)
302+
bool writeBHCLASSIC(const char* filename,const ParticlesData& p,const bool compressed,std::ostream* errorStream)
303303
{
304304
unique_ptr<ostream> output(io::write(filename, compressed));
305305
if(!*output){

src/lib/io/GEO.cpp renamed to src/lib/io/HCLASSIC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ string scanString(istream& input)
9999
return string(buf);
100100
}
101101

102-
ParticlesDataMutable* readGEO(const char* filename,const bool headersOnly,std::ostream* errorStream)
102+
ParticlesDataMutable* readHCLASSIC(const char* filename,const bool headersOnly,std::ostream* errorStream)
103103
{
104104
unique_ptr<istream> input(io::unzip(filename));
105105
if(!*input){
@@ -227,7 +227,7 @@ void writeType(ostream& output,const ParticlesData&,const ParticleAttribute& att
227227
}
228228
}
229229

230-
bool writeGEO(const char* filename,const ParticlesData& p,const bool compressed,std::ostream* errorStream)
230+
bool writeHCLASSIC(const char* filename,const ParticlesData& p,const bool compressed,std::ostream* errorStream)
231231
{
232232
unique_ptr<ostream> output(io::write(filename, compressed));
233233
*output<<"PGEOMETRY V5"<<endl;

0 commit comments

Comments
 (0)