Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  vrpathregistry_public.h   Sprache: C

 
//========= Copyright Valve Corporation ============//
#pragma once

#include <string>
#include <vector>
#include <stdint.h>

static const char *k_pchRuntimeOverrideVar = "VR_OVERRIDE";
static const char *k_pchConfigOverrideVar = "VR_CONFIG_PATH";
static const char *k_pchLogOverrideVar = "VR_LOG_PATH";

class CVRPathRegistry_Public
{
public:
 static std::string GetVRPathRegistryFilename();
 static std::string GetOpenVRConfigPath();

public:
 CVRPathRegistry_Public();

 /** Returns paths using the path registry and the provided override values. Pass NULL for any paths you don't care about. 
* Returns false if the path registry could not be read. Valid paths might still be returned based on environment variables. */

 static bool GetPaths( std::string *psRuntimePath, std::string *psConfigPath, std::string *psLogPath, const char *pchConfigPathOverride, const char *pchLogPathOverride, std::vector<std::string> *pvecExternalDrivers = NULL );

 bool BLoadFromFile( std::string *psError = nullptr );
 bool BSaveToFile() const;

 bool ToJsonString( std::string &sJsonString );

 // methods to get the current values
 std::string GetRuntimePath() const;
 std::string GetConfigPath() const;
 std::string GetLogPath() const;

protected:
 typedef std::vector< std::string > StringVector_t;

 // index 0 is the current setting
 StringVector_t m_vecRuntimePath;
 StringVector_t m_vecLogPath;
 StringVector_t m_vecConfigPath;

 // full list of external drivers
 StringVector_t m_vecExternalDrivers;
};

Messung V0.5
C=86 H=100 G=93

¤ Dauer der Verarbeitung: 0.19 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge