Skip to content

Add table format for class object output #249

@KSchopmeyer

Description

@KSchopmeyer

DISCUSSION: Looking for ideas here

Today we can output instances and qualifier decls in a table format where the columns are rows but not classes. It might be logical to have a table format for classes.

This could be used to see what properties occur in which classes in a hiearchy.

This has a couple of issues to be resolved:

  1. What would we do with qualifiers since they are a key part of each property and also of the class.

  2. With classes the default value of most properties is Null so it would be an almost empty table. Therefore it might make sense to do something different but I am not sure what yet.

QUESTION: What would goals be for displaying classes in a table format.

  1. Display a single class in something more easily readable on the console than MOF. This could include things like the addition of properties in subclasses, NOTE: From note below that since the class is really fairly complex it will be difficult to do this with a single table, especially on the console.

  2. Display more information on the relations between classes than is in the tree. Note sure this one applies. This could include things like the addition of properties in subclasses, Note that another pr is adding display of the tree-like display of the association relations between classes and instances expanding on the associators and references operations.

  3. Display common or differing characteristics between classes than you can see with things like Enumerate. This could show the changing functionality in a tree of classes, for example.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions