Assimp  v4.1. (December 2018)
STEPFileReader.cpp File Reference

Implementation of the STEP file parser, which fills a STEP::DB with data read from a file. More...

Functions

std::string AddEntityID (const std::string &s, uint64_t entity, const std::string &prefix="")
 
std::string AddLineNumber (const std::string &s, uint64_t line, const std::string &prefix="")
 
static int64_t getIdFromToken (const char *a)
 
static void handleSkippedDepthFromToken (const char *a, int64_t &skip_depth)
 

Variables

static const char * FILE_SCHEMA_Token = "FILE_SCHEMA"
 
static const char * ISO_Token = "ISO-10303-21;"
 

Detailed Description

Implementation of the STEP file parser, which fills a STEP::DB with data read from a file.

Function Documentation

◆ AddEntityID()

std::string AddEntityID ( const std::string &  s,
uint64_t  entity,
const std::string &  prefix = "" 
)

◆ AddLineNumber()

std::string AddLineNumber ( const std::string &  s,
uint64_t  line,
const std::string &  prefix = "" 
)

◆ getIdFromToken()

static int64_t getIdFromToken ( const char *  a)
static

◆ handleSkippedDepthFromToken()

static void handleSkippedDepthFromToken ( const char *  a,
int64_t skip_depth 
)
static

Variable Documentation

◆ FILE_SCHEMA_Token

const char* FILE_SCHEMA_Token = "FILE_SCHEMA"
static

◆ ISO_Token

const char* ISO_Token = "ISO-10303-21;"
static