2023-02-14 16:28:37 +08:00
|
|
|
#pragma once
|
|
|
|
|
2023-08-26 20:34:51 +08:00
|
|
|
#include <VTAll.hpp>
|
|
|
|
#include <CK2/CKFile.hpp>
|
2023-02-14 16:28:37 +08:00
|
|
|
|
2023-03-04 00:13:03 +08:00
|
|
|
namespace Unvirt::StructFormatter {
|
2023-10-28 18:17:53 +08:00
|
|
|
|
|
|
|
#define PRIuSIZET "zu"
|
2023-02-14 16:28:37 +08:00
|
|
|
|
2023-03-04 00:13:03 +08:00
|
|
|
void PrintCKFileInfo(const LibCmo::CK2::CKFileInfo& fileinfo);
|
2023-08-29 10:42:13 +08:00
|
|
|
|
|
|
|
void PrintObjectList(
|
|
|
|
const LibCmo::XContainer::XArray<LibCmo::CK2::CKFileObject>& ls,
|
|
|
|
const LibCmo::CK2::CKFileInfo& fileinfo,
|
2023-10-28 18:17:53 +08:00
|
|
|
size_t page, size_t pageitems,
|
|
|
|
bool full_detail);
|
|
|
|
void PrintSearchedObjectList(
|
|
|
|
const LibCmo::XContainer::XArray<size_t>& idxls,
|
|
|
|
const LibCmo::XContainer::XArray<LibCmo::CK2::CKFileObject>& ls,
|
|
|
|
const LibCmo::CK2::CKFileInfo& fileinfo,
|
|
|
|
size_t page, size_t pageitems,
|
|
|
|
bool full_detail);
|
|
|
|
|
2023-08-29 10:42:13 +08:00
|
|
|
void PrintManagerList(
|
|
|
|
const LibCmo::XContainer::XArray<LibCmo::CK2::CKFileManagerData>& ls,
|
2023-10-28 18:17:53 +08:00
|
|
|
size_t page, size_t pageitems,
|
|
|
|
bool full_detail);
|
|
|
|
void PrintSearchedManagerList(
|
|
|
|
const LibCmo::XContainer::XArray<size_t>& idxls,
|
|
|
|
const LibCmo::XContainer::XArray<LibCmo::CK2::CKFileManagerData>& ls,
|
|
|
|
size_t page, size_t pageitems,
|
|
|
|
bool full_detail);
|
2023-08-29 10:42:13 +08:00
|
|
|
|
2023-08-27 16:45:07 +08:00
|
|
|
void PrintCKObject(const LibCmo::CK2::ObjImpls::CKObject*);
|
|
|
|
void PrintCKBaseManager(const LibCmo::CK2::MgrImpls::CKBaseManager*);
|
|
|
|
void PrintCKStateChunk(const LibCmo::CK2::CKStateChunk*);
|
2023-02-14 16:28:37 +08:00
|
|
|
|
|
|
|
}
|