common_util 1.1.0
|
Define the structs about fileutil, such as filetype and file_entity. More...
#include <vector>
#include <string>
Go to the source code of this file.
Classes | |
struct | cutl::file_entity |
file entity struct. include file type and file path. More... | |
Typedefs | |
using | cutl::filevec = std::vector< file_entity > |
The vector of file_entity. | |
Enumerations | |
enum | cutl::filetype { cutl::ft_unknown = 0x00 , cutl::ft_directory = 0x01 , cutl::ft_file = 0x02 , cutl::ft_symlink = 0x04 , cutl::ft_char_special = 0x08 , cutl::ft_block_special = 0x10 , cutl::ft_pipefifo = 0x20 , cutl::ft_socket = 0x40 , cutl::ft_all = 0xFF } |
The type of file. More... | |
Variables | |
constexpr int | cutl::MAX_PATH_LEN = 1024 |
Constants value: max path length. | |
Define the structs about fileutil, such as filetype and file_entity.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations.
enum cutl::filetype |
The type of file.