55 full_name_(
""), directory_(
""), name_(
""), extension_(
"") {
67 split(full_name_, directory_, name_, extension_);
99 return (name_ + extension_);
150 void split(
const std::string& full_name, std::string&
directory,
155 std::string full_name_;
156 std::string directory_;
158 std::string extension_;
std::string expandWithDefault(const std::string &defname) const
Expand Name with Default.
void setDirectory(const std::string &new_directory)
Set directory for the file.
std::string fullName() const
void setName(const std::string &name)
Sets Stored Filename.
std::string extension() const
std::string useAsDefault(const std::string &name) const
Use as Default and Substitute into String.
void normalizeSlash(std::string &name)
Normalize Backslash.
std::string nameAndExtension() const
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::string directory() const
string trim(const string &instring)
Trim Leading and Trailing Spaces.
Class to Manipulate Filenames.
Filename(const std::string &name)
Constructor.