Tileson  1.3.0
A helpful json parser for Tiled maps
Public Member Functions | List of all members
tson::Project Class Reference

#include <Project.hpp>

Public Member Functions

 Project (std::unique_ptr< tson::IJson > jsonParser)
 
 Project (const fs::path &path, std::unique_ptr< tson::IJson > jsonParser)
 
bool parse (const fs::path &path)
 
const ProjectDatagetData () const
 
const fs::path & getPath () const
 
const std::vector< ProjectFolder > & getFolders () const
 

Constructor & Destructor Documentation

◆ Project() [1/2]

tson::Project::Project ( std::unique_ptr< tson::IJson jsonParser)
inlineexplicit

◆ Project() [2/2]

tson::Project::Project ( const fs::path &  path,
std::unique_ptr< tson::IJson jsonParser 
)
inlineexplicit

Member Function Documentation

◆ getData()

const ProjectData & tson::Project::getData ( ) const
inline

◆ getFolders()

const std::vector< ProjectFolder > & tson::Project::getFolders ( ) const
inline

◆ getPath()

const fs::path & tson::Project::getPath ( ) const
inline

◆ parse()

bool tson::Project::parse ( const fs::path &  path)
inline

The documentation for this class was generated from the following file: