OpendTect  6.3
systeminfo.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Nanne Hemstra
8  Date: April 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "networkmod.h"
14 #include "gendefs.h"
15 #include "uistrings.h"
16 
17 class BufferStringSet;
18 class IOObj;
19 class uiString;
20 
21 namespace System
22 {
23  mGlobal(Network) const char* localHostName();
24  mGlobal(Network) const char* localAddress();
25 
26  mGlobal(Network) const char* hostName(const char* ip);
27  mGlobal(Network) const char* hostAddress(const char* hostname);
28  mGlobal(Network) bool lookupHost(const char* host_ip,
29  BufferString* msg=0);
30 
32  BufferStringSet& addresses,
33  bool onlyactive=false);
34 
35  mGlobal(Network) int getFreeMBOnDisk(const char* path);
36  mGlobal(Network) int getFreeMBOnDisk(const IOObj&);
38  mGlobal(Network) void getFreeMBOnDiskUiMsg(int,uiString&);
39  mGlobal(Network) const char* getFileSystemName(const char* path);
40 
45 }
Definition: ioobj.h:57
const char * hostAddress(const char *hostname)
const char * localAddress()
Definition: jobcommunic.h:22
const char * localHostName()
#define mGlobal(module)
Definition: commondefs.h:160
Definition: uistring.h:88
Set of BufferString objects.
Definition: bufstringset.h:25
void macAddresses(BufferStringSet &names, BufferStringSet &addresses, bool onlyactive=false)
const char * hostName(const char *ip)
od_uint64 macAddressHash()
const char * getFileSystemName(const char *path)
#define od_uint64
Definition: plftypes.h:35
Definition: issuereporter.h:17
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
void getFreeMBOnDiskUiMsg(int, uiString &)
void getFreeMBOnDiskMsg(int, uiString &)
bool lookupHost(const char *host_ip, BufferString *msg=0)
int getFreeMBOnDisk(const char *path)

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017