Jetson Inference
DNN Vision Library
csvReader Class Reference

csvReader More...

#include <csvReader.h>

Public Member Functions

 csvReader (const char *filename, const char *delimiters=",;\")
 
 ~csvReader ()
 
void Close ()
 
bool IsOpen () const
 
bool IsClosed () const
 
std::vector< csvDataRead ()
 
std::vector< csvDataRead (const char *delimiters)
 
bool Read (std::vector< csvData > &data)
 
bool Read (std::vector< csvData > &data, const char *delimiters)
 
void SetDelimiters (const char *delimiters)
 
const char * GetDelimiters () const
 
const char * GetFilename () const
 

Static Public Member Functions

static csvReaderOpen (const char *filename, const char *delimiters=",;\")
 

Public Attributes

const size_t MaxLineLength =2048
 

Detailed Description

Constructor & Destructor Documentation

◆ csvReader()

csvReader::csvReader ( const char *  filename,
const char *  delimiters = ",;\t " 
)

◆ ~csvReader()

csvReader::~csvReader ( )

Member Function Documentation

◆ Close()

void csvReader::Close ( )
inline

◆ GetDelimiters()

const char * csvReader::GetDelimiters ( ) const
inline

◆ GetFilename()

const char * csvReader::GetFilename ( ) const
inline

◆ IsClosed()

bool csvReader::IsClosed ( ) const
inline

◆ IsOpen()

bool csvReader::IsOpen ( ) const
inline

◆ Open()

csvReader * csvReader::Open ( const char *  filename,
const char *  delimiters = ",;\t " 
)
inlinestatic

◆ Read() [1/4]

std::vector< csvData > csvReader::Read ( )
inline

◆ Read() [2/4]

std::vector< csvData > csvReader::Read ( const char *  delimiters)
inline

◆ Read() [3/4]

bool csvReader::Read ( std::vector< csvData > &  data)
inline

◆ Read() [4/4]

bool csvReader::Read ( std::vector< csvData > &  data,
const char *  delimiters 
)
inline

◆ SetDelimiters()

void csvReader::SetDelimiters ( const char *  delimiters)
inline

Member Data Documentation

◆ MaxLineLength

const size_t csvReader::MaxLineLength =2048

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