DotNameLib
Loading...
Searching...
No Matches
dotnamecpp::utils Namespace Reference

Classes

class  CustomStringsLoader
class  DirectoryManager
 Standard implementation of IDirectoryManager interface. More...
class  EmscriptenPlatformInfo
 Emscripten-specific platform information implementation. More...
struct  FileError
class  FileReader
class  FileWriter
class  IAssetManager
class  ICustomStringsLoader
 Interface for loading custom strings from JSON. More...
class  IDirectoryManager
 Interface for directory operations. More...
class  IFileReader
 Interface for reading file content. More...
class  IFileWriter
 Interface for writing file content. More...
class  IJsonSerializer
 Interface for JSON serialization and parsing. More...
class  ILogger
class  IPathResolver
 Interface for path resolution and manipulation. More...
class  IPlatformInfo
class  IStringFormatter
 Interface for string formatting operations. More...
struct  JsonError
class  JsonSerializer
struct  LoggerConfig
 Configuration options for creating a logger. More...
class  PathResolver
class  PlatformInfoFactory
class  Result
class  Result< void, E >
class  StringFormatter
class  UnixPlatformInfo
 Unix-like platform information implementation (Linux/macOS) More...
class  UtilsFactory
class  WindowsPlatformInfo
 Windows-specific platform information implementation. 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 dotnamecpp::utils::FileErrorCode : std::uint8_t
strong
Enumerator
NotFound 
AccessDenied 
AlreadyExists 
ReadError 
WriteError 
InvalidPath 
IsDirectory 
NotDirectory 
Unknown 

◆ JsonErrorCode

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

◆ LoggerType

enum class dotnamecpp::logging::LoggerType : uint8_t
strong

◆ Platform

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

Function Documentation

◆ makeFileError()

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

◆ makeJsonError()

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