5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the
17 // Free Software Foundation, Inc.,
18 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 \brief UNAddress non-inline non-template implementation */
23 #include "UNAddress.hh"
24 //#include "UNAddress.ih"
28 //#include "UNAddress.mpp"
30 ///////////////////////////////cc.p////////////////////////////////////////
32 prefix_ senf::UNAddress::UNAddress()
35 path = boost::filesystem::path("");
38 prefix_ senf::UNAddress::UNAddress(boost::filesystem::path p)
44 prefix_ senf::UNAddress::UNAddress senf::UNAddress::fromString(std::string & s)
46 return senf::UNAddress::UNAddress(boost::filesystem::path(s));
49 prefix_ senf::UNAddress::UNAddress senf::UNAddress::fromPath(boost::filesystem::path & p){
50 return senf::UNAddress::UNAddress(p);
53 prefix_ std::string senf::UNAddress::pathString()
59 prefix_ senf::UNAddress::UNAddress senf::UNAddress::clone()
61 senf::UNAddress::UNAddress local_addr = senf::UNAddress::UNAddress(pathString());
65 prefix_ std::ostream & senf::operator<<(std::ostream & os, UNAddress const & addr)
67 os << addr.pathString();
71 ///////////////////////////////cc.e////////////////////////////////////////
73 //#include "UNAddress.mpp"
80 // c-file-style: "senf"
81 // indent-tabs-mode: nil
82 // ispell-local-dictionary: "american"
83 // compile-command: "scons -u test"