MeshLib C Docs
Loading...
Searching...
No Matches
MRIOParsing.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_VertId MR_VertId
 
typedef struct MR_expected_void_std_string MR_expected_void_std_string
 
typedef struct MR_std_vector_uint64_t MR_std_vector_uint64_t
 

Functions

MRC_API MR_std_vector_uint64_tMR_splitByLines (const char *data, MR_uint64_t size)
 
MRC_API MR_expected_void_std_stringMR_parseFirstNum (const char *str, const char *str_end, int32_t *num)
 
MRC_API MR_expected_void_std_stringMR_parsePolygon (const char *str, const char *str_end, MR_VertId *vertId, int32_t *numPoints)
 

Typedef Documentation

◆ MR_expected_void_std_string

◆ MR_std_vector_uint64_t

◆ MR_VertId

typedef struct MR_VertId MR_VertId

Function Documentation

◆ MR_parseFirstNum()

MRC_API MR_expected_void_std_string * MR_parseFirstNum ( const char * str,
const char * str_end,
int32_t * num )

Generated from function MR::parseFirstNum. Parameter str can not be null. If str_end is null, then str is assumed to be null-terminated. Parameter num can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_parsePolygon()

MRC_API MR_expected_void_std_string * MR_parsePolygon ( const char * str,
const char * str_end,
MR_VertId * vertId,
int32_t * numPoints )

Generated from function MR::parsePolygon. Parameter str can not be null. If str_end is null, then str is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_splitByLines()

MRC_API MR_std_vector_uint64_t * MR_splitByLines ( const char * data,
MR_uint64_t size )

Generated from function MR::splitByLines. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_uint64_t_Destroy() to free it when you're done using it.