LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query Related To GOOP

Help for GOOP
I want to do something like this in GOOP can some body help me out

1. when i create an instance of my object it should have one property (Say "Name")which should be different for each instance
2. i want to have one more property (say "all instance Names"). when i read this property it should give me array of string which will contain the "name" property of all the instances that are currently in memory
 

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 1 of 3
(2,493 Views)
If I were doing this I'd create a separate class that's a collection class of your objects that you can use to list your objects, add/remove, etc. That would be more in-line with OO principles.
Message 2 of 3
(2,489 Views)

Smiley Very HappyThanks a lot

 

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 3 of 3
(2,486 Views)