43 nout <<
"**unexpected PathStore value: (" << (int)store <<
")**";
51 operator << (std::ostream &out,
PathStore store) {
61 if (cmp_nocase(str,
"relative") == 0 ||
62 cmp_nocase(str,
"rel") == 0) {
65 }
else if (cmp_nocase(str,
"absolute") == 0 ||
66 cmp_nocase(str,
"abs") == 0) {
69 }
else if (cmp_nocase_uh(str,
"rel_abs") == 0) {
72 }
else if (cmp_nocase(str,
"strip") == 0) {
75 }
else if (cmp_nocase(str,
"keep") == 0) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PathStore
This enumerated type lists the methods by which a filename path might be mangled before storing in a ...
std::string format_path_store(PathStore store)
Returns the string corresponding to this method.
PathStore string_path_store(const std::string &str)
Stores from a string, as might be input by the user, to one of the known PathStore types.