BioData, BioInputStream Object : Wish List

Queries / help discussions specific to all the other Objects which form the important utility classes and Utility functions

BioData, BioInputStream Object : Wish List

Postby prasad » Fri Mar 26, 2010 9:33 pm

I need
header flag as an argument which inform about Header in a 2D Matrix
for example:
Code: Select all
BioData x("Filename.xt",TRUE);
- where the 2nd Argument indicates the the data has header which will be ignored / stored in a seperate header vector.

in BioInputStream : methods : which gives number of lines in the files, number of words, numbers of chars should be provided additionally to the ifstream parent object.

Code: Select all
BioInputStream x("filename.txt");
cout<<x.getNumberOfLines()<<endl;
cout<<x.getNumberOfWords()<<endl;
// we can think of over loading the getNuberOfWords, Chars, Lines with a string argument which is a pattern to be searched for.
cout<<x.getNumberOfCharacters()<<endl;
prasad
 
Posts: 8
Joined: Sat Mar 20, 2010 4:51 am

Return to Miscellaneous Objects

Who is online

Users browsing this forum: No registered users and 1 guest

cron