NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

NeEnvironment.h
1
11#pragma once
12
13#include <NeCoreLib.h>
14#include <cstdarg>
15#include <string>
16#include <vector>
17
18 namespace NeuralEngine
19{
20
21 class NE_IMPEXP Environment
22 {
23 public:
24
30 Environment();
31
37 ~Environment();
38
48 std::string GetVariable(std::string const& name);
49
65 int GetNumDirectories() const;
66 std::string Get(int i) const;
67 bool Insert(std::string const& directory);
68 bool Remove(std::string const& directory);
69 void RemoveAll();
70
86 std::string GetPath(std::string const& name) const;
87
88 private:
89 // The list of directories for GetPath to search.
90 std::vector<std::string> mDirectories;
91 };
92
93}
NeuralEngine::Environment
Definition: NeEnvironment.h:22
NeuralEngine::Environment::Environment
Environment()
Default constructor.
NeuralEngine::Environment::GetVariable
std::string GetVariable(std::string const &name)
Get the string corresponding to an environment variable.
NeuralEngine::Environment::~Environment
~Environment()
Destructor.
NeuralEngine::Environment::GetPath
std::string GetPath(std::string const &name) const
Gets a path.
NeuralEngine::Environment::GetNumDirectories
int GetNumDirectories() const
Gets number directories.
NeuralEngine
Definition: NeArray2.h:18