Function remove

Synopsis

#include <Source/Falcor/Utils/BinaryFileStream.h>

void remove()

Description

Deletes the managed file.

Source

Lines 98-105 in Source/Falcor/Utils/BinaryFileStream.h.

void remove()
{
    if(mStream.is_open())
    {
        close();
    }
    std::remove(mFilename.c_str());
}





Add Discussion as Guest

Log in to DocsForge