NixonCpp
Loading...
Searching...
No Matches
nixoncpp::utils Namespace Reference

Classes

class  DirectoryManager
 Standard implementation of IDirectoryManager interface. More...
class  FileReader
class  FileWriter
class  IDirectoryManager
 Interface for directory operations. More...
class  IFileReader
 Interface for reading file content. More...
class  IFileWriter
 Interface for writing file content. More...
class  IPathResolver
 Interface for path resolution and manipulation. More...
class  PathResolver
class  CustomStringsLoader
class  ICustomStringsLoader
 Interface for loading custom strings from JSON. More...
class  IJsonSerializer
 Interface for JSON serialization and parsing. More...
class  JsonSerializer
class  EmscriptenPlatformInfo
 Emscripten-specific platform information implementation. More...
class  IPlatformInfo
class  PlatformInfoFactory
class  UnixPlatformInfo
 Unix-like platform information implementation (Linux/macOS). More...
class  WindowsPlatformInfo
 Windows-specific platform information implementation. More...
class  IStringFormatter
 Interface for string formatting operations. More...
class  StringFormatter
struct  FileError
struct  JsonError
class  Result
class  Result< void, E >
class  UtilsFactory
class  IAssetManager
class  ILogger
struct  LoggerConfig
 Configuration options for creating a logger. More...

Enumerations

enum class  Platform : std::uint8_t {
  Windows , Linux , macOS , Emscripten ,
  Unknown
}
enum class  FileErrorCode : std::uint8_t {
  NotFound , AccessDenied , AlreadyExists , ReadError ,
  WriteError , InvalidPath , IsDirectory , NotDirectory ,
  Unknown
}
enum class  JsonErrorCode : std::uint8_t {
  ParseError , InvalidStructure , FileNotFound , InvalidType ,
  MissingKey , Unknown
}
enum class  LoggerType

Functions

FileError makeFileError (FileErrorCode code, const std::string &message, const std::string &path="")
JsonError makeJsonError (JsonErrorCode code, const std::string &message, const std::string &details="")

Enumeration Type Documentation

◆ FileErrorCode

enum class nixoncpp::utils::FileErrorCode : std::uint8_t
strong
Enumerator
NotFound 
AccessDenied 
AlreadyExists 
ReadError 
WriteError 
InvalidPath 
IsDirectory 
NotDirectory 
Unknown 

◆ JsonErrorCode

enum class nixoncpp::utils::JsonErrorCode : std::uint8_t
strong
Enumerator
ParseError 
InvalidStructure 
FileNotFound 
InvalidType 
MissingKey 
Unknown 

◆ LoggerType

enum class nixoncpp::logging::LoggerType : uint8_t
strong

◆ Platform

enum class nixoncpp::utils::Platform : std::uint8_t
strong
Enumerator
Windows 
Linux 
macOS 
Emscripten 
Unknown 

Function Documentation

◆ makeFileError()

FileError nixoncpp::utils::makeFileError ( FileErrorCode code,
const std::string & message,
const std::string & path = "" )
inline

◆ makeJsonError()

JsonError nixoncpp::utils::makeJsonError ( JsonErrorCode code,
const std::string & message,
const std::string & details = "" )
inline