OpenVDB 13.2.0
Loading...
Searching...
No Matches
MappedFile Class Reference

#include <openvdb/io/io.h>

Public Types

using Ptr = SharedPtr<MappedFile>
using Notifier = std::function<void(std::string )>

Public Member Functions

 MappedFile (const std::string &, bool=false)
 ~MappedFile ()=default
 Destructor.
 MappedFile (const MappedFile &)=delete
MappedFile & operator= (const MappedFile &)=delete
std::string filename () const
SharedPtr< std::streambuf > createBuffer () const
void setNotifier (const Notifier &)
void clearNotifier ()

Member Typedef Documentation

◆ Notifier

using Notifier = std::function<void(std::string )>

◆ Ptr

Constructor & Destructor Documentation

◆ MappedFile() [1/2]

MappedFile ( const std::string & ,
bool = false )
inlineexplicit
Deprecated
"This class is deprecated and will be removed. Delayed loading is no longer supported."

◆ ~MappedFile()

~MappedFile ( )
default

Destructor.

◆ MappedFile() [2/2]

MappedFile ( const MappedFile & )
delete

Member Function Documentation

◆ clearNotifier()

void clearNotifier ( )
inline
Deprecated
"This method is deprecated and will be removed. Delayed loading is no longer supported."

◆ createBuffer()

SharedPtr< std::streambuf > createBuffer ( ) const
inline
Deprecated
"Always returns a null stream buffer pointer. This method is deprecated and will be removed. Delayed loading is no longer supported."

◆ filename()

std::string filename ( ) const
inline
Deprecated
"Always returns an empty string. This method is deprecated and will be removed. Delayed loading is no longer supported."

◆ operator=()

MappedFile & operator= ( const MappedFile & )
delete

◆ setNotifier()

void setNotifier ( const Notifier & )
inline
Deprecated
"This method is deprecated and will be removed. Delayed loading is no longer supported."