Warning, file /include/opencascade/OSD_Host.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _OSD_Host_HeaderFile
0018 #define _OSD_Host_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TCollection_AsciiString.hxx>
0025 #include <OSD_Error.hxx>
0026 #include <OSD_SysType.hxx>
0027 #include <OSD_OEMType.hxx>
0028
0029
0030
0031
0032 class OSD_Host
0033 {
0034 public:
0035
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039
0040 Standard_EXPORT OSD_Host();
0041
0042
0043 Standard_EXPORT TCollection_AsciiString SystemVersion();
0044
0045
0046 Standard_EXPORT OSD_SysType SystemId() const;
0047
0048
0049 Standard_EXPORT TCollection_AsciiString HostName();
0050
0051
0052 Standard_EXPORT Standard_Integer AvailableMemory();
0053
0054
0055 Standard_EXPORT TCollection_AsciiString InternetAddress();
0056
0057
0058 Standard_EXPORT OSD_OEMType MachineType();
0059
0060
0061 Standard_EXPORT Standard_Boolean Failed() const;
0062
0063
0064 Standard_EXPORT void Reset();
0065
0066
0067 Standard_EXPORT void Perror();
0068
0069
0070 Standard_EXPORT Standard_Integer Error() const;
0071
0072
0073
0074
0075 protected:
0076
0077
0078
0079
0080
0081 private:
0082
0083
0084
0085 TCollection_AsciiString myName;
0086 OSD_Error myError;
0087
0088
0089 };
0090
0091
0092
0093
0094
0095
0096
0097 #endif