G#

Highlighted

What's the differences between ClassAttributes and ObjectAttributes?

K{P$CP]$WYH50ZBCVHA10QQ.png

0 Kudos
Message 1 of 3
(130 Views)
2 REPLIES 2
Highlighted

Re: What's the differences between ClassAttributes and ObjectAttributes?

HI,

 

ObjectAttributes - are unique for each object.

ClassAttributes - are shared by all objects in the class, actually you don't need any objects at all to use class attributes. Compared to C#, class attributes are the same as "static".

 

As you might notice, the util method GetClassAttributes.vi doesn't even have any reference in and reference out in the connector pane. You can also create a class that only contains class attributes, which is the "Static template" when creating a new class.

 

The reason they are called ClassAttributes and not StaticAttributes are due to backward compability to old GOOP.

 

Mattias

Message 2 of 3
(117 Views)
Highlighted

Re: What's the differences between ClassAttributes and ObjectAttributes?

Thanks for your explanation。

0 Kudos
Message 3 of 3
(103 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.