String attribute.
More...
import"SALOMEDS_Attributes.idl";
String attribute.
The attribute stores a string value containing arbitrary information.
- See also
- AttributeInteger, AttributeReal
◆ CheckLocked()
void SALOMEDS::GenericAttribute::CheckLocked |
( |
| ) |
|
raises | ( | LockProtection |
| ) | | |
|
inherited |
Method CheckLocked.
Checks whether the Study is protected for modifications.
- Note
This exception is raised only outside a transaction.
◆ Destroy()
void SALOME::GenericObj::Destroy |
( |
| ) |
|
|
inherited |
Obsolete, left for compatibility reasons only.
Use UnRegister() instead.
◆ GetClassType()
string SALOMEDS::GenericAttribute::GetClassType |
( |
| ) |
|
|
inherited |
◆ GetLocalImpl()
long long SALOMEDS::GenericAttribute::GetLocalImpl |
( |
in string |
theHostname, |
|
|
in long |
thePID, |
|
|
out boolean |
isLocal |
|
) |
| |
|
inherited |
Private method, returns an implementation of this GenericAttribute.
- Parameters
-
theHostname | is a hostname of the caller |
thePID | is a process ID of the caller |
isLocal | is set True if the GenericAttribute is launched locally with the caller |
◆ GetSObject()
SObject SALOMEDS::GenericAttribute::GetSObject |
( |
| ) |
|
|
inherited |
◆ Register()
void SALOME::GenericObj::Register |
( |
| ) |
|
|
inherited |
Increase the reference count (mark as used by another object).
◆ SetValue()
void SALOMEDS::AttributeString::SetValue |
( |
in string |
value | ) |
|
Sets the value of the attribute.
- Parameters
-
value | value being set to the attribute |
◆ Type()
string SALOMEDS::GenericAttribute::Type |
( |
| ) |
|
|
inherited |
◆ UnRegister()
void SALOME::GenericObj::UnRegister |
( |
| ) |
|
|
inherited |
◆ Value()
string SALOMEDS::AttributeString::Value |
( |
| ) |
|
Returns the value of the attribute.
- Returns
- attribute value