Rocstar
1.0
Rocstar multiphysics simulation application
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Directory.H
Go to the documentation of this file.
1
/* *******************************************************************
2
* Rocstar Simulation Suite *
3
* Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4
* *
5
* Illinois Rocstar LLC *
6
* Champaign, IL *
7
* www.illinoisrocstar.com *
8
* sales@illinoisrocstar.com *
9
* *
10
* License: See LICENSE file in top level of distribution package or *
11
* http://opensource.org/licenses/NCSA *
12
*********************************************************************/
13
/* *******************************************************************
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17
* NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21
* USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22
*********************************************************************/
23
#ifndef _DIRECTORY_H_
24
#define _DIRECTORY_H_
25
26
class
Directory
:
public
std::vector<std::string>
27
{
28
protected
:
29
std::string
_path
;
30
bool
_good
;
31
DIR *
_dir
;
32
public
:
33
Directory
(
const
std::string &
s
=
""
);
34
~Directory
();
35
int
open
(
const
std::string &
s
=
""
);
36
void
close
();
37
operator
void
* ();
38
bool
operator !
();
39
};
40
41
#endif
42
43
44
45
46
47
Directory::_dir
DIR * _dir
Definition:
Directory.H:31
Directory
Definition:
Directory.H:26
s
double s
Definition:
blastest.C:80
Directory::operator!
bool operator!()
Definition:
Directory.C:56
Directory::~Directory
~Directory()
Definition:
Directory.C:45
Directory::open
int open(const std::string &s="")
Definition:
Directory.C:69
Directory::close
void close()
Definition:
Directory.C:62
Directory::Directory
Directory(const std::string &s="")
Definition:
Directory.C:31
Directory::_path
std::string _path
Definition:
Directory.H:29
Directory::_good
bool _good
Definition:
Directory.H:30
Roccom
Rocin
include
Directory.H
Generated on Wed Nov 30 2016 16:56:06 for Rocstar by
1.8.5