Blender V5.0
blender::locale::MOFile Class Reference

Public Member Functions

 MOFile (const std::string &filepath)
const char * key (int id)
StringRef value (int id)
size_t size () const
bool empty () const
const std::string & error () const

Detailed Description

Definition at line 286 of file messages.cc.

Constructor & Destructor Documentation

◆ MOFile()

blender::locale::MOFile::MOFile ( const std::string & filepath)
inline

Definition at line 297 of file messages.cc.

References BLI_fopen(), BLI_ftell(), and len.

Member Function Documentation

◆ empty()

bool blender::locale::MOFile::empty ( ) const
inline

Definition at line 347 of file messages.cc.

◆ error()

const std::string & blender::locale::MOFile::error ( ) const
inline

Definition at line 352 of file messages.cc.

◆ key()

const char * blender::locale::MOFile::key ( int id)
inline

Definition at line 325 of file messages.cc.

◆ size()

size_t blender::locale::MOFile::size ( ) const
inline

Definition at line 342 of file messages.cc.

◆ value()

StringRef blender::locale::MOFile::value ( int id)
inline

Definition at line 331 of file messages.cc.

References len.


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