update dsv_io

This commit is contained in:
张壹 2025-02-13 10:44:07 +08:00
parent 12e15b869b
commit 75ad8a3d27

View File

@ -467,6 +467,8 @@ void gctl::dsv_io::info(int t)
if (table_[0][i].str_ != "")
{
std::clog << table_[0][i].str_ << " | ";
if (table_[0][i].type_) std::clog << "Enabled | ";
else std::clog << "Disabled | ";
if (table_[1][i].type_ == String) std::clog << "String | ";
if (table_[1][i].type_ == Int) std::clog << "Int | ";
if (table_[1][i].type_ == Float) std::clog << "Float | ";
@ -475,6 +477,8 @@ void gctl::dsv_io::info(int t)
else
{
std::clog << "C" + std::to_string(i) << " | ";
if (table_[0][i].type_) std::clog << "Enabled | ";
else std::clog << "Disabled | ";
if (table_[1][i].type_ == String) std::clog << "String | ";
if (table_[1][i].type_ == Int) std::clog << "Int | ";
if (table_[1][i].type_ == Float) std::clog << "Float | ";
@ -495,6 +499,8 @@ void gctl::dsv_io::info(int t)
if (table_[i][0].str_ != "")
{
std::clog << table_[i][0].str_ << " | ";
if (table_[i][0].type_) std::clog << "Enabled | ";
else std::clog << "Disabled | ";
if (table_[i][1].type_ == String) std::clog << "String | ";
if (table_[i][1].type_ == Int) std::clog << "Int | ";
if (table_[i][1].type_ == Float) std::clog << "Float | ";
@ -503,6 +509,8 @@ void gctl::dsv_io::info(int t)
else
{
std::clog << "R" + std::to_string(i) << " | ";
if (table_[i][0].type_) std::clog << "Enabled | ";
else std::clog << "Disabled | ";
if (table_[i][1].type_ == String) std::clog << "String | ";
if (table_[i][1].type_ == Int) std::clog << "Int | ";
if (table_[i][1].type_ == Float) std::clog << "Float | ";