List模板改名为ArrayList

This commit is contained in:
2025-04-23 00:21:59 +08:00
parent cf494b4f86
commit a7b0cb6112
18 changed files with 55 additions and 53 deletions

View File

@@ -10,11 +10,11 @@ namespace hgl
{
protected:
List<FileInfo> *fi_list;
ArrayList<FileInfo> *fi_list;
public:
OnlyFileEnum(List<FileInfo> *lfi)
OnlyFileEnum(ArrayList<FileInfo> *lfi)
{
fi_list=lfi;
}
@@ -26,7 +26,7 @@ namespace hgl
};//class OnlyFileEnum:public EnumFile
}//namespace
int GetFileInfoList(List<FileInfo> &fi_list,const OSString &folder_name,bool proc_folder,bool proc_file,bool sub_folder)
int GetFileInfoList(ArrayList<FileInfo> &fi_list,const OSString &folder_name,bool proc_folder,bool proc_file,bool sub_folder)
{
EnumFileConfig efc(folder_name);

View File

@@ -9,7 +9,7 @@ namespace hgl
{
namespace logger
{
RWLockObject<List<Logger *>> log_list; //记录器列表
RWLockObject<ArrayList<Logger *>> log_list; //记录器列表
bool AddLogger(Logger *log)
{

View File

@@ -17,7 +17,7 @@ namespace hgl
SC id_str[16];
const SC gap_str[4]={SC(' '),SC(':'),SC(' '),0};
const List<ConstStringView<SC>> &csv_list=css->GetConstStringList();
const ArrayList<ConstStringView<SC>> &csv_list=css->GetConstStringList();
for(auto &csv:csv_list)
{