|
LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
String parsing facilities for LatBuilder objects. More...
Classes | |
| class | BadCombiner |
| Exception thrown when trying to parse an invalid combiner. More... | |
| class | BadCoordUniformFigureOfMerit |
| Exception thrown when trying to parse an invalid figure of merit. More... | |
| class | BadEmbeddingType |
| Exception thrown when trying to parse an invalid size parameter. More... | |
| class | BadFilter |
| Exception thrown when trying to parse an invalid filter string. More... | |
| class | BadKernel |
| Exception thrown when trying to parse an invalid kernel. More... | |
| class | BadLattice |
| Exception thrown when trying to parse an invalid lattce type. More... | |
| class | BadLevelWeights |
| Exception thrown when trying to parse an invalid filter. More... | |
| class | BadNorm |
| Exception thrown when trying to parse an invalid accumulator. More... | |
| class | BadProjDepMerit |
| Exception thrown when trying to parse an invalid combiner. More... | |
| class | BadWeights |
| Exception thrown when trying to parse an invalid weights specificaiton. More... | |
| struct | CombinedWeights |
| Parser for weights. More... | |
| struct | CommandLine |
| Collection of arguments required to construct a Search instance. More... | |
| struct | CommandLine< LR, LatBuilder::EmbeddingType::MULTILEVEL > |
| Specialization of CommandLine for embedded lattices. More... | |
| struct | CommandLine< LR, LatBuilder::EmbeddingType::UNILEVEL > |
| Specialization of CommandLine for ordinary lattices. More... | |
| struct | CoordUniformFigureOfMerit |
| Parser for coordinate-uniform figures of merit. More... | |
| struct | EmbeddingType |
| Parser for size parameters. More... | |
| struct | FigureOfMerit |
| Parser for generic weighted figures of merit. More... | |
| struct | Kernel |
| Parser for kernels for coordinate-uniform figures of merit. More... | |
| struct | LatticeParametersParseHelper |
| convert lattice parameter strings to the appropriate input format More... | |
| struct | LatticeParametersParseHelper< LatticeType::ORDINARY > |
| struct | LatticeParametersParseHelper< LatticeType::POLYNOMIAL > |
| struct | LatticeParser |
| Parser Lattice (ORDINARY - POLYNOMIAL). More... | |
| struct | LevelWeights |
| Parser for per-level weights. More... | |
| struct | MeritCombiner |
| Parser for filters combiners for use with embedded lattices. More... | |
| struct | MeritFilter |
| struct | MeritFilterList |
| Parser for merit transformation filters. More... | |
| class | ParserError |
| Base class for parsing errors. More... | |
| struct | ProjDepMerit |
| Parser for projection-dependent figures of merit. More... | |
| class | Search |
| Parser for coordinate-uniform figures of merit. More... | |
| struct | SizeParam |
| Parser for size parameters. More... | |
| struct | WeightedFigureOfMerit |
| Parser for generic weighted figures of merit. More... | |
| struct | Weights |
| Parser for weights. More... | |
Functions | |
| template<typename T1 = std::string, typename T2 = std::string> | |
| std::pair< T1, T2 > | splitPair (const std::string &input, char sep, const T2 &def=T2()) |
Splits two tokens separated by sep into a pair of values. | |
| template<typename T = std::string> | |
| std::vector< T > | splitCSV (const std::string &input) |
| Splits a list comma-separated values into a vector. | |
| template<typename T = std::string> | |
| std::vector< T > | splitDash (const std::string &input) |
| Splits a dash-separated list of values into a vector. | |
String parsing facilities for LatBuilder objects.
For polymorphic objects, the parser functions return a shared pointer to a newly created object, or a null pointer on failure, without throwing exceptions. For other object types, the parser functions return a newly created instance, or throw a ParserError exception on failure.
| std::pair< T1, T2 > LatBuilder::Parser::splitPair | ( | const std::string & | input, |
| char | sep, | ||
| const T2 & | def = T2() ) |
Splits two tokens separated by sep into a pair of values.
| input | Input string. |
| sep | Separator character. |
| def | Default value for the second element in the returned pair, used when the separator cannot be found in the string. |
References LatBuilder::TypeInfo< T >::name().
Referenced by LatBuilder::Parser::FigureOfMerit< LR >::parse().