HEBench
hebench::DataLoader::EDLHelper Class Reference

Public Types

enum  ControlLine : std::uint64_t {
  Index_ControlIdentifier = 0 , Index_ControlComponentIndex , Index_ControlNumSamples , Index_ControlKind ,
  ControlTokenSize , Index_ControlPadToLength = ControlTokenSize , Index_ControlPadValue , ControlMaxTokenSize
}
 
enum  CSVLine : std::uint64_t {
  Index_CSVFilename = 0 , CSVTokenSize , Index_CSVFromLine = CSVTokenSize , Index_CSVNumSamples ,
  CSVMaxTokenSize
}
 

Static Public Member Functions

static bool isComment (std::string_view s_view)
 
static bool isEmpty (std::string_view s_view)
 
static bool isCommentOrEmpty (std::string_view s_view)
 

Static Public Attributes

constexpr static const char * ControlLineInput = "input"
 
constexpr static const char * ControlLineOutput = "output"
 
constexpr static const char * ControlLineKindLocal = "local"
 
constexpr static const char * ControlLineKindCSV = "csv"
 

Detailed Description

Definition at line 19 of file hebench_dataset_loader.cpp.

Member Enumeration Documentation

◆ ControlLine

Enumerator
Index_ControlIdentifier 
Index_ControlComponentIndex 
Index_ControlNumSamples 
Index_ControlKind 
ControlTokenSize 
Index_ControlPadToLength 
Index_ControlPadValue 
ControlMaxTokenSize 

Definition at line 22 of file hebench_dataset_loader.cpp.

◆ CSVLine

Enumerator
Index_CSVFilename 
CSVTokenSize 
Index_CSVFromLine 
Index_CSVNumSamples 
CSVMaxTokenSize 

Definition at line 34 of file hebench_dataset_loader.cpp.

Member Function Documentation

◆ isComment()

bool hebench::DataLoader::EDLHelper::isComment ( std::string_view  s_view)
static

Definition at line 54 of file hebench_dataset_loader.cpp.

◆ isCommentOrEmpty()

static bool hebench::DataLoader::EDLHelper::isCommentOrEmpty ( std::string_view  s_view)
inlinestatic

Definition at line 51 of file hebench_dataset_loader.cpp.

◆ isEmpty()

bool hebench::DataLoader::EDLHelper::isEmpty ( std::string_view  s_view)
static

Definition at line 60 of file hebench_dataset_loader.cpp.

Member Data Documentation

◆ ControlLineInput

constexpr static const char* hebench::DataLoader::EDLHelper::ControlLineInput = "input"
staticconstexpr

Definition at line 43 of file hebench_dataset_loader.cpp.

◆ ControlLineKindCSV

constexpr static const char* hebench::DataLoader::EDLHelper::ControlLineKindCSV = "csv"
staticconstexpr

Definition at line 46 of file hebench_dataset_loader.cpp.

◆ ControlLineKindLocal

constexpr static const char* hebench::DataLoader::EDLHelper::ControlLineKindLocal = "local"
staticconstexpr

Definition at line 45 of file hebench_dataset_loader.cpp.

◆ ControlLineOutput

constexpr static const char* hebench::DataLoader::EDLHelper::ControlLineOutput = "output"
staticconstexpr

Definition at line 44 of file hebench_dataset_loader.cpp.


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