Nuclide
Software Development Kit for id Tech
NSDict.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
17class
19{
20public:
21 void NSDict(void);
22
23 nonvirtual float GetFloat(string);
24 nonvirtual string GetString(string);
25 nonvirtual vector GetVector(string);
26 nonvirtual bool GetBool(string);
27
28 nonvirtual void SetDeclBody(string);
29 nonvirtual string GetDeclBody(void);
30
31 nonvirtual void AddKey(string, string);
32 nonvirtual void RemoveKey(string);
33
34private:
35 nonvirtual void _AddRemoveKey(string, string, bool);
36 string m_strBody;
37};
Definition: NSDict.h:19