OTB
9.0.0
Orfeo Toolbox
Modules
Core
Common
include
otbSystem.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3
*
4
* This file is part of Orfeo Toolbox
5
*
6
* https://www.orfeo-toolbox.org/
7
*
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
11
*
12
* http://www.apache.org/licenses/LICENSE-2.0
13
*
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
19
*/
20
21
#ifndef otbSystem_h
22
#define otbSystem_h
23
24
#include <string>
25
#include <vector>
26
27
#include "itksys/SystemTools.hxx"
28
#include "itkMacro.h"
29
30
#include "OTBCommonExport.h"
31
32
namespace
otb
33
{
34
43
class
OTBCommon_EXPORT
System
44
{
45
public
:
47
typedef
System
Self
;
48
50
static
std::string GetRootName(
const
std::string& filename);
51
53
static
std::vector<std::string> Readdir(
const
std::string& pszPath);
54
56
static
bool
ParseHdfSubsetName(
const
std::string&
id
, std::string& key, std::string& name);
57
59
static
bool
ParseHdfFileName(
const
std::string&
id
, std::string& file,
unsigned
int
& datasetNum);
60
62
static
bool
ParseFileNameForAdditionalInfo(
const
std::string&
id
, std::string& file,
unsigned
int
& addNum);
63
65
static
bool
IsInteractive(
int
fd);
66
};
68
69
}
// namespace otb
70
71
#endif
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::System::Self
System Self
Definition:
otbSystem.h:47
otb::System
System operations.
Definition:
otbSystem.h:43
Generated at Wed Feb 28 2024 15:24:11 for
OTB
with
1.8.17