@@ -355,8 +355,8 @@ class DataInterfaceBase
355
355
*
356
356
* @return std::string - The location code
357
357
*/
358
- virtual std::string
359
- getLocationCode ( const std::string& inventoryPath) const = 0 ;
358
+ virtual std::string getLocationCode (
359
+ const std::string& inventoryPath) const = 0;
360
360
361
361
/* *
362
362
* @brief Get the list of system type names the system is called.
@@ -398,9 +398,9 @@ class DataInterfaceBase
398
398
*
399
399
* @return std::vector<std::string> - The inventory D-Bus objects
400
400
*/
401
- virtual std::vector<std::string>
402
- getInventoryFromLocCode ( const std::string& LocationCode, uint16_t node,
403
- bool expanded) const = 0 ;
401
+ virtual std::vector<std::string> getInventoryFromLocCode (
402
+ const std::string& LocationCode, uint16_t node,
403
+ bool expanded) const = 0;
404
404
405
405
/* *
406
406
* @brief Sets the Asserted property on the LED group passed in.
@@ -426,8 +426,8 @@ class DataInterfaceBase
426
426
*
427
427
* @param[in] objectPath - The D-Bus object path
428
428
*/
429
- virtual void
430
- setCriticalAssociation ( const std::string& objectPath) const = 0 ;
429
+ virtual void setCriticalAssociation (
430
+ const std::string& objectPath) const = 0;
431
431
432
432
/* *
433
433
* @brief Returns the manufacturing QuiesceOnError property
@@ -450,8 +450,8 @@ class DataInterfaceBase
450
450
* @param[in] locationCode - location code to split
451
451
* @return pair<string, string> - The base and connector segments
452
452
*/
453
- static std::pair<std::string, std::string>
454
- extractConnectorFromLocCode ( const std::string& locationCode);
453
+ static std::pair<std::string, std::string> extractConnectorFromLocCode (
454
+ const std::string& locationCode);
455
455
456
456
#ifdef PEL_ENABLE_PHAL
457
457
/* *
@@ -472,9 +472,9 @@ class DataInterfaceBase
472
472
* @param[in] priSRC - Primary SRC value (e.g. BD8D1001)
473
473
* @param[in] srcStruct - Full SRC base structure
474
474
*/
475
- virtual void
476
- createProgressSRC ( const uint64_t & priSRC,
477
- const std::vector<uint8_t >& srcStruct) const = 0 ;
475
+ virtual void createProgressSRC (
476
+ const uint64_t & priSRC,
477
+ const std::vector<uint8_t >& srcStruct) const = 0;
478
478
479
479
/* *
480
480
* @brief Get the list of unresolved OpenBMC event log ids that have an
@@ -501,8 +501,8 @@ class DataInterfaceBase
501
501
* @return std::optional<std::vector<uint8_t>> - The FRUs DI or
502
502
* std::nullopt
503
503
*/
504
- virtual std::optional<std::vector<uint8_t >>
505
- getDIProperty ( const std::string& locationCode) const = 0 ;
504
+ virtual std::optional<std::vector<uint8_t >> getDIProperty (
505
+ const std::string& locationCode) const = 0;
506
506
507
507
/* *
508
508
* @brief Wrpper API to call pHAL API 'getFRUType()' and check whether the
@@ -788,8 +788,8 @@ class DataInterface : public DataInterfaceBase
788
788
*
789
789
* @return std::string - The location code
790
790
*/
791
- std::string
792
- getLocationCode ( const std::string& inventoryPath) const override ;
791
+ std::string getLocationCode (
792
+ const std::string& inventoryPath) const override ;
793
793
794
794
/* *
795
795
* @brief Get the list of system type names the system is called.
@@ -831,9 +831,9 @@ class DataInterface : public DataInterfaceBase
831
831
*
832
832
* @return std::vector<std::string> - The inventory D-Bus objects
833
833
*/
834
- std::vector<std::string>
835
- getInventoryFromLocCode ( const std::string& locationCode, uint16_t node,
836
- bool expanded) const override ;
834
+ std::vector<std::string> getInventoryFromLocCode (
835
+ const std::string& locationCode, uint16_t node,
836
+ bool expanded) const override ;
837
837
838
838
/* *
839
839
* @brief Sets the Asserted property on the LED group passed in.
@@ -886,9 +886,9 @@ class DataInterface : public DataInterfaceBase
886
886
* @param[in] priSRC - Primary SRC value
887
887
* @param[in] srcStruct - Full SRC base structure
888
888
*/
889
- void
890
- createProgressSRC ( const uint64_t & priSRC,
891
- const std::vector<uint8_t >& srcStruct) const override ;
889
+ void createProgressSRC (
890
+ const uint64_t & priSRC,
891
+ const std::vector<uint8_t >& srcStruct) const override ;
892
892
893
893
/* *
894
894
* @brief Get the list of unresolved OpenBMC event log ids that have an
@@ -915,8 +915,8 @@ class DataInterface : public DataInterfaceBase
915
915
* @return std::optional<std::vector<uint8_t>> - The FRUs DI or
916
916
* std::nullopt
917
917
*/
918
- std::optional<std::vector<uint8_t >>
919
- getDIProperty ( const std::string& locationCode) const override ;
918
+ std::optional<std::vector<uint8_t >> getDIProperty (
919
+ const std::string& locationCode) const override ;
920
920
921
921
/* *
922
922
* @brief Finds all D-Bus Associated paths that contain any of the
0 commit comments