libcmo21/Unvirt/StructFormatter.hpp

38 lines
1.1 KiB
C++
Raw Normal View History

2023-02-14 16:28:37 +08:00
#pragma once
2023-08-26 20:34:51 +08:00
#include <VTAll.hpp>
2023-02-14 16:28:37 +08:00
2023-03-04 00:13:03 +08:00
namespace Unvirt::StructFormatter {
#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,
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,
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
}