Skip to content

shapeworks::JsonProjectReader

JSON file format reader for Project. More...

#include <JsonProjectReader.h>

Inherits from shapeworks::ProjectReader

Public Functions

Name
JsonProjectReader(Project & project)
~JsonProjectReader()
virtual bool read_project(std::string filename) override
Read a project from a file.
virtual StringMap get_parameters(std::string name) override
virtual StringMultiMap get_multi_parameters(std::string name) override

Additional inherited members

Public Types inherited from shapeworks::ProjectReader

Name
using project::types::StringMapList StringMapList
using project::types::StringMap StringMap
using project::types::StringList StringList
using project::types::StringMultiMap StringMultiMap

Public Functions inherited from shapeworks::ProjectReader

Name
ProjectReader(Project & project)
Constructor.
virtual ~ProjectReader() =default
Destructor.

Protected Functions inherited from shapeworks::ProjectReader

Name
void load_subjects(StringMapList list)
Load subjects from string map list.
void load_parameters()
void load_parameter(std::string name, StringMap map)
void load_landmark_definitions(StringMapList list)
bool contains(StringMap map, std::string key)
StringList get_keys(StringMap map)

Protected Attributes inherited from shapeworks::ProjectReader

Name
Project & project_

Detailed Description

class shapeworks::JsonProjectReader;

JSON file format reader for Project.

This class enables reader of Project objects from JSON file format

Public Functions Documentation

function JsonProjectReader

JsonProjectReader(
    Project & project
)

function ~JsonProjectReader

~JsonProjectReader()

function read_project

virtual bool read_project(
    std::string filename
) override

Read a project from a file.

Reimplements: shapeworks::ProjectReader::read_project

function get_parameters

virtual StringMap get_parameters(
    std::string name
) override

Reimplements: shapeworks::ProjectReader::get_parameters

function get_multi_parameters

virtual StringMultiMap get_multi_parameters(
    std::string name
) override

Reimplements: shapeworks::ProjectReader::get_multi_parameters


Updated on 2024-07-14 at 17:07:24 +0000