Object/Class

ch.ninecode.model

NetworkModelProjectCollection

Related Docs: class NetworkModelProjectCollection | package model

Permalink

object NetworkModelProjectCollection extends Parseable[NetworkModelProjectCollection] with Serializable

Linear Supertypes
Serializable, Serializable, Parseable[NetworkModelProjectCollection], Parser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetworkModelProjectCollection
  2. Serializable
  3. Serializable
  4. Parseable
  5. Parser
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Expression = (Pattern, Int)

    Permalink
    Definition Classes
    Parser
  2. type Field = (String, Boolean)

    Permalink
    Definition Classes
    Parser
  3. type Fielder = FielderFunction

    Permalink
    Definition Classes
    Parser
  4. trait FielderFunction extends AnyRef

    Permalink
    Definition Classes
    Parser
  5. trait FielderFunctionMultiple extends AnyRef

    Permalink
    Definition Classes
    Parser
  6. type FielderMultiple = FielderFunctionMultiple

    Permalink
    Definition Classes
    Parser
  7. type Fields = (List[String], Boolean)

    Permalink
    Definition Classes
    Parser

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attribute(cls: String, name: String): Expression

    Permalink

    Regular expression to parse an attribute.

    Regular expression to parse an attribute. For example: <cim:ACLineSegmentPhase.phase rdf:resource="http://iec.ch/TC57/2013/CIM-schema-cim16#SinglePhaseKind.A"/>

    cls

    The class name.

    name

    The attribute name (without namespace prefix).

    returns

    The compiled regex pattern and the index of the match group.

    Definition Classes
    Parser
  6. val classname: String

    Permalink
    Definition Classes
    Parseable
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val cls: String

    Permalink
    Definition Classes
    Parseable
  9. def element(cls: String, name: String): Expression

    Permalink

    Regular expression to parse an element.

    Regular expression to parse an element. For example: <cim:ACLineSegment.r>0.224</cim:ACLineSegment.r>

    cls

    The class name.

    name

    The element name (without namespace prefix).

    returns

    The compiled regex pattern and the index of the match group.

    Definition Classes
    Parser
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. val fields: Array[String]

    Permalink
    Definition Classes
    Parser
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def mask(field: Field, position: Int)(implicit bitfields: Array[Int]): String

    Permalink
    Definition Classes
    Parseable
  18. def masks(field: Fields, position: Int)(implicit bitfields: Array[Int]): List[String]

    Permalink
    Definition Classes
    Parseable
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def parse(context: Context): NetworkModelProjectCollection

    Permalink

    Abstract parse function.

    Abstract parse function. To be overridden in each implemented class. This is intended to be used by the companion object of each CIM class to provide a way to parse the XML element and generate the CIM class. The hierarchical nature of the generated elements necessitates CIM classes to call their CIM superclass parser, for example, since Terminal is a subclass of ACDCTerminal, it should invoke the superclass parse method.

    def parse (context: Context): Terminal =
    {
        Terminal
        (
            ACDCTerminal.parse (context),
            ...
        )
    }
    context

    The context for the substring in the XML and line number and position context for reporting in case of an error.

    returns

    The parsed CIM element, e.g. ACLineSegment.

    Definition Classes
    NetworkModelProjectCollectionParser
  23. def parse_attribute(pattern: (Pattern, Int)): FielderFunction

    Permalink

    Create a function to parse one attribute from an XML string.

    Create a function to parse one attribute from an XML string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the attribute.

    Definition Classes
    Parser
  24. def parse_attributes(pattern: (Pattern, Int)): FielderMultiple

    Permalink

    Create a function to parse one or more attributes from an XML string.

    Create a function to parse one or more attributes from an XML string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the attributes.

    Definition Classes
    Parser
  25. def parse_element(pattern: Expression): FielderFunction

    Permalink

    Create a function to parse one XML element from a string.

    Create a function to parse one XML element from a string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the element.

    Definition Classes
    Parser
  26. def parse_elements(pattern: Expression): FielderFunctionMultiple

    Permalink

    Parse one or more XML elements from a string.

    Parse one or more XML elements from a string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the elements.

    Definition Classes
    Parser
  27. def register: ClassInfo

    Permalink
    Definition Classes
    Parseable
  28. val relations: List[Relationship]

    Permalink
    Definition Classes
    Parser
  29. val runtime_class: Class[_]

    Permalink
    Definition Classes
    Parseable
  30. val subsetter: CIMSubsetter[_ <: Product]

    Permalink
    Definition Classes
    Parseable
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toBoolean(string: String)(implicit context: Context): Boolean

    Permalink

    Convert a string into a boolean.

    Convert a string into a boolean.

    string

    The string to convert. Should be either "true" or "false". <null> and the empty string are considered false.

    context

    The context for reporting in case of an unparseable boolean.

    returns

    The boolean value.

    Definition Classes
    Parser
  33. def toDouble(string: String)(implicit context: Context): Double

    Permalink

    Convert a string into a floating point value.

    Convert a string into a floating point value.

    string

    The string to convert. Should be a valid floating point formatted number although whitespace at the beginning or end is tolerated.

    context

    The context for reporting in case of an unparseable double.

    returns

    The double value.

    Definition Classes
    Parser
  34. def toInteger(string: String)(implicit context: Context): Int

    Permalink

    Convert a string into an integer.

    Convert a string into an integer.

    string

    The string to convert. Should be just digits although whitespace at the beginning or end is tolerated.

    context

    The context for reporting in case of an unparseable integer.

    returns

    The integer value.

    Definition Classes
    Parser
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Parser

Inherited from AnyRef

Inherited from Any

Ungrouped