Files
core/ASCOfficeOdtFile/Source/Utility/FileNameUtility.h
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

18 lines
889 B
C++

#pragma once
#ifndef UTILITY_FILE_NAME_UTILITY_INCLUDE_H_
#define UTILITY_FILE_NAME_UTILITY_INCLUDE_H_
#include <string>
#include <boost/filesystem.hpp>
const boost::filesystem::path operator +(boost::filesystem::path filename, const int index);
const boost::filesystem::wpath operator +(boost::filesystem::wpath filename, const int index);
const boost::filesystem::wpath replace_extension(const boost::filesystem::wpath& filename, const std::wstring& extension);
const boost::filesystem::wpath replace_extension(const boost::filesystem::wpath& filename, const std::wstring& old_extension, const std::wstring& new_extension);
const size_t max_name_index(const boost::filesystem::wpath& path, const std::wstring& filename);
const std::wstring max_name(const boost::filesystem::wpath& path, const std::wstring& filename);
#endif // UTILITY_FILE_NAME_UTILITY_INCLUDE_H_