RLLib  0.1
Functions
rl::locator Namespace Reference

Namespace containing functions that locate entities segments in scene files. More...

Functions

std::vector< EntityLocationnames (ByteStream &data)
 Locates entities by looking for strings that are probably their names. More...
 
std::vector< EntityLocationvalues (ByteStream &data)
 Locates entities by looking for patterns of values around their names. More...
 

Detailed Description

Namespace containing functions that locate entities segments in scene files.

Function Documentation

◆ names()

std::vector<EntityLocation> rl::locator::names ( ByteStream data)

Locates entities by looking for strings that are probably their names.

This is the default algorithm and also the fastest.

Parameters
dataThe scene data
Returns
The list containing the entities locations

◆ values()

std::vector<EntityLocation> rl::locator::values ( ByteStream data)

Locates entities by looking for patterns of values around their names.

Parameters
dataThe scene data
Returns
The list containing the entities locations