1
0

feat: add more rules in BMapInspector

This commit is contained in:
2026-02-04 20:46:04 +08:00
parent 58ee7accff
commit 7b40c64470
10 changed files with 234 additions and 67 deletions

View File

@@ -12,7 +12,7 @@ namespace BMapInspector::Rule {
class YYCRule1 : public IRule {
public:
YYCRule1();
~YYCRule1();
virtual ~YYCRule1();
YYCC_DELETE_COPY_MOVE(YYCRule1)
public:
@@ -20,4 +20,21 @@ namespace BMapInspector::Rule {
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
/**
* @brief YYC12345 Rule 2
* @details
* The object grouped into physicalization group should not have isolated vertex,
* otherwise it will fail to be physicalized.
*/
class YYCRule2 : public IRule {
public:
YYCRule2();
virtual ~YYCRule2();
YYCC_DELETE_COPY_MOVE(YYCRule2)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
}