- **status**: unassigned --> review
- **assigned_to**: Vu Minh Nguyen
- **Comment**:

Printout formats with this patch.

```bash
Name                                               Type         Value(s)
========================================================================
immWrpTestMultipleCfg                              SA_STRING_T  
immWrpTestMultipleCfg=1 
SaUint64TMultiple                                  SA_UINT64_T  10 (0xa) 
1234567 (0x12d687) 
SaUint32TMultiple                                  SA_UINT32_T  22 (0x16) 33 
(0x21) 
SaStringMultiple                                   SA_STRING_T  hello there 
SaNameTMultiple                                    SA_NAME_T    world (5) hey 
(3) 
SaInt64TMultiple                                   SA_INT64_T   -1345 
(0xfffffffffffffabf) 123456 (0x1e240) 
SaInt32TMultiple                                   SA_INT32_T   -5678 
(0xffffe9d2) 5678 (0x162e) 
SaImmAttrImplementerName                           SA_STRING_T  <Empty>
SaImmAttrClassName                                 SA_STRING_T  
ImmWrpTestMultipleConfig 
SaImmAttrAdminOwnerName                            SA_STRING_T  <Empty>
SaFloatMultiple                                    SA_FLOAT_T   193.23544 
123.456 
SaDoubleMultiple                                   SA_DOUBLE_T  1.123456789 
0.123456789 

```



---

** [tickets:#2753] imm: improve immlist printout for multiple attribute values**

**Status:** review
**Milestone:** 5.18.01
**Created:** Fri Jan 05, 2018 09:38 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Jan 05, 2018 09:38 AM UTC
**Owner:** Vu Minh Nguyen


For SA_STRING_T type, multiple values are separeted by a space. However, for 
SA_FLOAT_T, there is no separation at all.

E.g: Below display for `SaFloatValues` , its multiple values `{1.1, 1.2}` are 
sticked to each other. 

```bash
Name                                               Type         Value(s)
======================================================================
immTestValuesCfg                            SA_STRING_T  TestObj1=1
SaUint64TValues                             SA_UINT64_T  5 (0x5)6 (0x6)
SaUint32TValues                             SA_UINT32_T  1 (0x1)2 (0x2)
SaStringValues                              SA_STRING_T  str_value1 str_value2
SaNameTValues                               SA_NAME_T    a_name1 (7) a_name2 (7)
SaInt64TValues                              SA_INT64_T   7 (0x7)8 (0x8)
SaInt32TValues                              SA_INT32_T   3 (0x3)4 (0x4)
SaFloatValues                               SA_FLOAT_T   1.11.2
```




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to