FARGOS/VISTA Object Management Environment Core
..
|
OME utility functions. More...
#include <OMEtype.h>
Go to the source code of this file.
Functions | |
OME_DLL_EXPORT uint32_t | OMEhash (const unsigned char *data, const uint32_t len) NONNULL_PARAMETERS(1) |
Fast 32-bit hash over a buffer. More... | |
OME_DLL_EXPORT uint32_t | OMEhash (const OMEstring &data) |
Fast 32-bit hash of an OMEstring. More... | |
OME_DLL_EXPORT uint32_t | OMEmethodSignature (const int argc, const uint32_t types[], uint32_t *anyMask=nullptr) |
Compute 32-bit signature of a method's arguments. More... | |
OME_DLL_EXPORT OMEstring * | OMEfindFileInPathSpec (const OMEstring &fileName, const OMEstring &path) |
Search for a file located within a set of directories specified by a string path. More... | |
OME_DLL_EXPORT OMEstring * | OMEfindFileInDirectory (const OMEstring &fileName, const OMEarray &dirList) |
Search for a file located within a list of directories specified as elements of an OMEarray. More... | |
OME_DLL_EXPORT OMEarray * | OMEparsePathSpecification (const OMEstring &pathSpec) |
Parse a list of directories specified by a string path into an sequence of OMEarray elements. More... | |
OME_DLL_EXPORT OMEarray * | OMElistDirectory (const OMEstring &dirName, int *errRet=nullptr) |
List all files within a filesystem directory. More... | |
OME_DLL_EXPORT int | OMEconvertLocalRelativeTimeToAbsolute (OMEtype &result, uint32_t tArg, int asGMT) |
Convert a local relative time to an OME absolute time reference. More... | |
OME_DLL_EXPORT uint32_t | OMEconvertAbsoluteToLocalRelativeTime (const OMEtype &tData) |
Convert an OME absolute time reference to a local relative time. More... | |
OME_DLL_EXPORT int | OMErfc1123Date (OMEtype &result, const OMEtype &argData) |
Format an OME absolute time reference as a data and time in RFC 1123 format. More... | |
OME_DLL_EXPORT int | OMEiso8601Date (OMEtype &result, const OMEtype &argData) |
Format an OME absolute time reference as a date and time in ISO 8601 format. More... | |
OME_DLL_EXPORT int | OMEconvertRFC1123date (OMEtype &result, const OMEtype &timeString) |
Convert a text string in RFC 1123 format into an OME absolute time reference. More... | |
OME_DLL_EXPORT int | OMEtimeDifference (const OMEtype &time1, const OMEtype &time2) |
Compute difference between two OME absolute time references. More... | |
OME_DLL_EXPORT int | OMEtransportToSockaddr (union sockBigEnough *sock, uint_fast16_t *sockLen, int *sockMode, const char *url, uint_fast16_t urlLen) NONNULL_PARAMETERS(1 |
OME_DLL_EXPORT int OME_DLL_EXPORT OMEstring * | OMEdisplayableAddress (const struct sockaddr *sock, const int len, const uint32_t openMode) NONNULL_PARAMETERS(1) |
Convert sockaddr data into a text string. More... | |
OME_DLL_EXPORT int | OMEgetInterfaces (OMEtype &result) |
OME utility functions.
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |