0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
freebase_parser Class Reference

#include <freebase_parser.h>

Collaboration diagram for freebase_parser:
Collaboration graph
[legend]

Public Member Functions

 freebase_parser ()
 
bool load (const std::string fname)
 
InsertRecnext (int *countp)
 

Private Attributes

std::string m_fname
 
std::ifstream m_fin
 
std::string m_header_line
 
std::string m_line
 
std::vector< ColumnInfom_column_info
 
InsertRecm_inserts
 
std::string m_category
 
int m_column_name
 
int m_column_id
 
int m_lineno
 

Detailed Description

Definition at line 45 of file freebase_parser.h.

Constructor & Destructor Documentation

freebase_parser::freebase_parser ( )

Definition at line 31 of file freebase_parser.cc.

Member Function Documentation

bool freebase_parser::load ( const std::string  fname)

Definition at line 37 of file freebase_parser.cc.

InsertRec * freebase_parser::next ( int *  countp)

Definition at line 115 of file freebase_parser.cc.

Member Data Documentation

std::string freebase_parser::m_category
private

Definition at line 59 of file freebase_parser.h.

int freebase_parser::m_column_id
private

Definition at line 61 of file freebase_parser.h.

std::vector<ColumnInfo> freebase_parser::m_column_info
private

Definition at line 57 of file freebase_parser.h.

int freebase_parser::m_column_name
private

Definition at line 60 of file freebase_parser.h.

std::ifstream freebase_parser::m_fin
private

Definition at line 54 of file freebase_parser.h.

std::string freebase_parser::m_fname
private

Definition at line 53 of file freebase_parser.h.

std::string freebase_parser::m_header_line
private

Definition at line 55 of file freebase_parser.h.

InsertRec* freebase_parser::m_inserts
private

Definition at line 58 of file freebase_parser.h.

std::string freebase_parser::m_line
private

Definition at line 56 of file freebase_parser.h.

int freebase_parser::m_lineno
private

Definition at line 62 of file freebase_parser.h.


The documentation for this class was generated from the following files: