Beam-lib 2.15.1 |
BFileData Class Reference
#include <BFileData.h>
Inheritance diagram for BFileData:
Public Member Functions | |
BError | open (BString filename) |
BError | getNextId (int &id) |
BError | find (int id, BStringList &csvList) |
BError | write (int id, BStringList &csvList) |
BError | del (int id) |
Public Member Functions inherited from BList< BStringList > | |
BList () | |
BList (const BList< BStringList > &l) | |
virtual | ~BList () |
void | start (BIter &i) const |
Iterator to start of list. More... | |
BIter | begin () const |
Iterator for start of list. More... | |
BIter | end () const |
Iterator for end of list. More... | |
BIter | end (BIter &i) const |
Iterator for end of list. More... | |
void | next (BIter &i) const |
Iterator for next item in list. More... | |
void | prev (BIter &i) |
Iterator for previous item in list. More... | |
BIter | goTo (int pos) const |
Iterator for pos item in list. More... | |
int | position (BIter i) |
Postition in list item with iterator i. More... | |
unsigned int | number () const |
Number of items in list. More... | |
unsigned int | size () const |
Number of items in list. More... | |
int | isEnd (BIter &i) const |
True if iterator refers to last item. More... | |
BStringList & | front () |
Get first item in list. More... | |
BStringList & | rear () |
Get last item in list. More... | |
BStringList & | get (BIter i) |
Get item specified by iterator in list. More... | |
const BStringList & | get (BIter i) const |
Get item specified by iterator in list. More... | |
void | append (const BStringList &item) |
Append item to list. More... | |
void | append (const BList< BStringList > &l) |
Append list to list. More... | |
virtual void | insert (BIter &i, const BStringList &item) |
Insert item before item. More... | |
void | insertAfter (BIter &i, const BStringList &item) |
Insert item after item. More... | |
virtual void | clear () |
Clear the list. More... | |
virtual void | del (BIter &i) |
Delete specified item. More... | |
void | deleteLast () |
Delete last item. More... | |
void | deleteFirst () |
Delete fisrt item. More... | |
void | push (const BStringList &i) |
Push item onto list. More... | |
BStringList | pop () |
Pop item from list deleteing item. More... | |
void | queueAdd (const BStringList &i) |
Add item to end of list. More... | |
BStringList | queueGet () |
Get item from front of list deleteing item. More... | |
int | has (const BStringList &i) const |
Checks if the item is in the list. More... | |
void | swap (BIter i1, BIter i2) |
Swap two items in list. More... | |
void | sort () |
Sort list based on get(i) values. More... | |
void | sort (SortFunc func) |
Sort list based on Sort func. More... | |
BList< BStringList > & | operator= (const BList< BStringList > &l) |
BStringList & | operator[] (int i) |
const BStringList & | operator[] (int i) const |
BStringList & | operator[] (BIter i) |
const BStringList & | operator[] (const BIter &i) const |
BList< BStringList > | operator+ (const BList< BStringList > &l) const |
Private Member Functions | |
BError | read () |
BError | write () |
Private Attributes | |
BString | ofilename |
Additional Inherited Members | |
Public Types inherited from BList< BStringList > | |
typedef int(* | SortFunc) (BStringList &a, BStringList &b) |
Prototype for sorting function. More... | |
Protected Member Functions inherited from BList< BStringList > | |
virtual Node * | nodeGet (BIter i) |
virtual const Node * | nodeGet (BIter i) const |
virtual Node * | nodeCreate (const BStringList &item) |
Protected Attributes inherited from BList< BStringList > | |
Node * | onodes |
unsigned int | olength |
Member Function Documentation
◆ del()
BError BFileData::del | ( | int | id | ) |
◆ find()
BError BFileData::find | ( | int | id, |
BStringList & | csvList | ||
) |
◆ getNextId()
BError BFileData::getNextId | ( | int & | id | ) |
◆ open()
◆ read()
| private |
◆ write() [1/2]
BError BFileData::write | ( | int | id, |
BStringList & | csvList | ||
) |
◆ write() [2/2]
| private |
Member Data Documentation
◆ ofilename
| private |
The documentation for this class was generated from the following files:
Generated by 1.8.14