Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
express
temporaryFile.cxx
1
// Filename: temporaryFile.cxx
2
// Created by: drose (23Jun11)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#include "temporaryFile.h"
16
17
TypeHandle
TemporaryFile::_type_handle;
18
19
////////////////////////////////////////////////////////////////////
20
// Function: TemporaryFile::Destructor
21
// Access: Published, Virtual
22
// Description: The destructor is responsible for removing the file
23
// if it exists.
24
////////////////////////////////////////////////////////////////////
25
TemporaryFile::
26
~TemporaryFile
() {
27
_filename.unlink();
28
}
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:85
TemporaryFile::~TemporaryFile
virtual ~TemporaryFile()
The destructor is responsible for removing the file if it exists.
Definition:
temporaryFile.cxx:26
Generated on Mon Feb 1 2016 13:44:24 for Panda3D by
1.8.5