src/HumdrumFileStream.cpp
int HumdrumFileStream::readSingleSegment(HumdrumFileSet& infiles) {
	infiles.clear();
	HumdrumFile* infile = new HumdrumFile;
	int status = getFile(*infile);
	if (!status) {
		delete infile;
	} else {
		infiles.appendHumdrumPointer(infile);
	}
	return status;
}
//////////////////////////////
//
// HumdrumFileStream::readSingleSegment -- Get a single file for a set structure.
//
:readSingleSegment -- Get a single file for a set structure.
: readSingleSegment -- Get a single file for a set structure .
int HumdrumFileStream::readSingleSegment(HumdrumFileSet& infiles) {
	infiles.clear();
	HumdrumFile* infile = new HumdrumFile;
	int status = getFile(*infile);
	if (!status) {
		delete infile;
	} else {
		infiles.appendHumdrumPointer(infile);
	}
	return status;
}
int HumdrumFileStream :: readSingleSegment ( HumdrumFileSet & infiles ) { infiles . clear ( ) ; HumdrumFile * infile = new HumdrumFile ; int status = getFile ( * infile ) ; if ( ! status ) { delete infile ; } else { infiles . appendHumdrumPointer ( infile ) ; } return status ; }
HumdrumFileStream::readSingleSegment -- Get a single file for a set structure.
HumdrumFileStream :: readSingleSegment -- Get a single file for a set structure .