VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
environmentalUtils.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <vlutil/vlString.h>
10 #include <time.h>
11 
13 
16 
19 
22 
25 
28  int& arrowHeadPlacement, int& arrowStyle, int& arrowSize);
29 
32  int arrowHeadPlacement, int arrowStyle, int arrowSize);
33 
37 DT_DLL_vrfExtProtocol time_t utcTimeFromTimeOfDay(time_t dtod, time_t tod, time_t timezoneOffset = 0);
38 
41 DT_DLL_vrfExtProtocol time_t localTimeFromTimeOfDay(time_t dtod, time_t tod);
42 
45 
47 DT_DLL_vrfExtProtocol void utcGetTodaysDateAndTime(int& year, int& mon, int& day, int& hour, int& min, int& sec);
48 
50 DT_DLL_vrfExtProtocol void localGetTodaysDateAndTime(int& year, int& mon, int& day, int& hour, int& min, int& sec);
DT_DLL_vrfExtProtocol DtString setFontColorFromEnvironmentalFormattingData(const DtString &basefd, unsigned int color)
Given an existing formatted string add color to it.
DT_DLL_vrfExtProtocol void utcGetTodaysDateAndTime(int &year, int &mon, int &day, int &hour, int &min, int &sec)
Returns the current date/dime in utc timezone.
DT_DLL_vrfExtProtocol bool getFontInformationFromEnvironmentalFormattingData(const DtString &fd, DtString &font, int &fontSize)
Utility functions for environmentals.
DT_DLL_vrfExtProtocol bool getArrowInformationFromEnvironmentalFormattingData(const DtString &fd, int &arrowHeadPlacement, int &arrowStyle, int &arrowSize)
Returns arrow information (if exists)
DT_DLL_vrfExtProtocol DtString setArrowInformationFromEnvironmentalFormattingData(const DtString &basefd, int arrowHeadPlacement, int arrowStyle, int arrowSize)
Given an existing formatted string add arrow information to is.
DT_DLL_vrfExtProtocol void localGetTodaysDateAndTime(int &year, int &mon, int &day, int &hour, int &min, int &sec)
Returns the current date/dime in local timezone.
DT_DLL_vrfExtProtocol DtString setFontInformationFromEnvironmentalFormattingData(const DtString &basefd, DtString font, int fontSize)
Given an existing formatted string add font and font size to it.
#define DT_DLL_vrfExtProtocol
Definition: vrfExtProtocolDefines.h:23
DT_DLL_vrfExtProtocol time_t localTimeFromTimeOfDay(time_t dtod, time_t tod)
Given the utc date/time of day and a proposed new time return a new local time with that new time of ...
DT_DLL_vrfExtProtocol time_t utcTimeOfDayFromDateAndTime(time_t dtod)
Returns the time of day portion (UTC) from the given UTC date/time of day.
DT_DLL_vrfExtProtocol bool getFontColorFromEnvironmentalFormattingData(const DtString &fd, unsigned int &color)
Returns color of text font (if exists)
DT_DLL_vrfExtProtocol time_t utcTimeFromTimeOfDay(time_t dtod, time_t tod, time_t timezoneOffset=0)
Given the utc date/time of day and a proposed new time return a new utc time with that new time of da...

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)