20 using namespace KKLSC;
60 KKStr tempHomeDir = *homeDirEnvVar;
83 return scsFilesDefaultDir;
93 const char* s = str
.Str ();
102 if ((s[y] ==
'(') || (s[y] ==
'{') || (s[y] ==
'['))
118 kkint32 x = LocateEnvStrStart (src);
122 char startChar = src
[x + 1
];
124 if (startChar ==
'(')
127 else if (startChar ==
'{')
130 else if (startChar ==
'[')
147 if (envStrValue == NULL)
153 if (envStrValue == NULL)
156 str
= beforeEnvStr
+ (*envStrValue)
+ afterStrName;
158 x = LocateEnvStrStart (str);
Variables that specify where we can locate Camera Application directories and files.
bool EqualIgnoreCase(const char *s2) const
static KKStr SubstituteInEnvironmentVariables(const KKStr &src)
Expands the supplied string by substituting in Environment variable values.
KKStr operator+(const char *right) const
KKStr & operator=(KKStr &&src)
static KKStr ScannerFilesDefaultDir()
KKB::KKStr osAddSlash(const KKStr &fileSpec)
kkuint32 Len() const
Returns the number of characters in the string.
static KKStr ConfigurationDir()
KKStr(const KKStr &str)
Copy Constructor.
KKStr SubStrPart(kkint32 firstChar, kkint32 lastChar) const
returns a SubString consisting of all characters starting at index 'firstChar' and ending at 'lastInd...
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
kkint32 LocateCharacter(char ch) const
Returns index of 1st occurrence of 'ch' otherwise -1.
Contains Classes that are specific to Cameras physical characteristics.
static void SetHomeDir(const KKStr &_homeDir)
KKStrPtr osGetEnvVariable(const KKStr &_varName)
KKStr operator+(const KKStr &right) const
const char * Str() const
Returns a pointer to a ascii string.
char operator[](kkint32 i) const
KKStr & operator=(const KKStr &src)
KKStr SubStrPart(kkint32 firstChar) const
returns a SubString consisting of all characters starting at index 'firstChar' until the end of the s...