#include <PBProperties.h>
Definition at line 413 of file PBProperties.h.
◆ PBPropertyValueArray() [1/3]
PBPropertyValueArray::PBPropertyValueArray |
( |
| ) |
|
|
inline |
◆ PBPropertyValueArray() [2/3]
Definition at line 425 of file PBProperties.h.
426 {
427 if ( other.m_iSize != 0 )
428 {
429 m_pValues = new PBPropertyValue[ other.m_iSize ];
430
431 for (
TSIZE i = 0; i < other.m_iSize; i++ )
432 m_pValues[ i ] = other.m_pValues[ i ];
433 }
434 else
435 {
437 }
438
439 m_iSize = other.m_iSize;
440 }
◆ PBPropertyValueArray() [3/3]
Definition at line 442 of file PBProperties.h.
443 {
444 m_pValues = other.m_pValues;
445 m_iSize = other.m_iSize;
446 other.m_pValues =
TNULL;
447 other.m_iSize = 0;
448 }
◆ ~PBPropertyValueArray()
PBPropertyValueArray::~PBPropertyValueArray |
( |
| ) |
|
|
inline |
◆ Add() [1/7]
Definition at line 502 of file PBProperties.h.
503 {
504 return AllocValue( PBPropertyValue( a_pchValue ) );
505 }
◆ Add() [2/7]
PBPropertyValue * PBPropertyValueArray::Add |
( |
const Toshi::TString8 & | a_sValue | ) |
|
|
inline |
Definition at line 497 of file PBProperties.h.
498 {
499 return AllocValue( PBPropertyValue( a_sValue ) );
500 }
◆ Add() [3/7]
Definition at line 492 of file PBProperties.h.
493 {
494 return AllocValue( PBPropertyValue( a_strLocaleString ) );
495 }
◆ Add() [4/7]
Definition at line 477 of file PBProperties.h.
478 {
479 return AllocValue( PBPropertyValue( a_bValue ) );
480 }
◆ Add() [5/7]
Definition at line 482 of file PBProperties.h.
483 {
484 return AllocValue( PBPropertyValue( a_fValue ) );
485 }
◆ Add() [6/7]
Definition at line 472 of file PBProperties.h.
473 {
474 return AllocValue( PBPropertyValue( a_iValue ) );
475 }
◆ Add() [7/7]
Definition at line 487 of file PBProperties.h.
488 {
489 return AllocValue( PBPropertyValue( a_uiValue ) );
490 }
◆ GetSize()
TUINT32 PBPropertyValueArray::GetSize |
( |
| ) |
const |
|
inline |
◆ GetValue() [1/2]
Definition at line 455 of file PBProperties.h.
456 {
458 return &m_pValues[ a_iIndex ];
459 }
◆ GetValue() [2/2]
Definition at line 461 of file PBProperties.h.
462 {
464 return &m_pValues[ a_iIndex ];
465 }
◆ operator=() [1/2]
Definition at line 517 of file PBProperties.h.
518 {
519 if ( this != &other )
520 {
521 Delete();
522
523 if ( other.m_iSize != 0 )
524 {
525 m_pValues = new PBPropertyValue[ other.m_iSize ];
526
527 for (
TSIZE i = 0; i < other.m_iSize; i++ )
528 m_pValues[ i ] = other.m_pValues[ i ];
529
530 m_iSize = other.m_iSize;
531 }
532 }
533 }
◆ operator=() [2/2]
Definition at line 535 of file PBProperties.h.
536 {
537 if ( this != &other )
538 {
539 Delete();
540
541 m_pValues = other.m_pValues;
542 m_iSize = other.m_iSize;
543 other.m_pValues =
TNULL;
544 other.m_iSize = 0;
545 }
546 }
◆ operator[]() [1/2]
Definition at line 507 of file PBProperties.h.
508 {
510 }
PBPropertyValue * GetValue(TSIZE a_iIndex)
◆ operator[]() [2/2]
◆ PPropertiesWriter
The documentation for this class was generated from the following file:
- D:/_dev/OpenBarnyard/Source/Toshi/Source/Plugins/PPropertyParser/PBProperties.h