Warning, file /utilities/krusader/app/DiskUsage/radialMap/builder.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2003-2004 Max Howell <max.howell@methylblue.com>
0003     SPDX-FileCopyrightText: 2004-2022 Krusader Krew <https://krusader.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef BUILDER_H
0009 #define BUILDER_H
0010 
0011 #include "fileTree.h"
0012 #include "radialMap.h" //Segment, defines
0013 
0014 template<class T>
0015 class Chain;
0016 
0017 namespace RadialMap
0018 {
0019 class Map;
0020 
0021 // temporary class that builds the Map signature
0022 
0023 class Builder
0024 {
0025 public:
0026     Builder(Map *, const Directory *const, bool fast = false);
0027 
0028 private:
0029     void findVisibleDepth(const Directory *const dir, const uint = 0);
0030     void setLimits(const uint &);
0031     bool build(const Directory *const, const uint = 0, uint = 0, const uint = 5760);
0032 
0033     Map *m_map;
0034     const Directory *const m_root;
0035     const FileSize m_minSize;
0036     uint *m_depth;
0037     Chain<Segment> *m_signature;
0038     FileSize *m_limits;
0039 };
0040 }
0041 
0042 #endif