trait DataProduct[-A] extends AnyRef
Typeclass interface for getting elements of type Data
This is needed for validating DataViews targeting type A
.
Can be thought of as "can be the Target of a DataView".
Chisel provides some implementations in object DataProduct that are available by default in the implicit scope.
- A
Type that has elements of type Data
- Annotations
- @implicitNotFound( ... )
- See also
- Alphabetic
- By Inheritance
- DataProduct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
dataIterator(a: A, path: String): Iterator[(Data, String)]
Provides Data elements within some containing object
Provides Data elements within some containing object
- a
Containing object
- path
Hierarchical path to current signal (for error reporting)
- returns
Data elements and associated String paths (Strings for error reporting only!)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
dataSet(a: A): (Data) ⇒ Boolean
Returns a checker to test if the containing object contains a
Data
objectReturns a checker to test if the containing object contains a
Data
object- a
Containing object
- returns
A checker that itself returns True if a given
Data
is contained ina
as determined by an==
test
- Note
Implementers may want to override if iterating on all
,Data
is expensive forA
andA
will primarily be used inPartialDataViews
The returned value is a function, not a true Set, but is describing the functionality of Set containment
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )