FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbSymbolUtilities.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#define AcDbSymUtil AcDbSymbolUtilities
21{
22public:
23
25{
26 public:
27 const ACHAR * regAppAcadName() const;
29 virtual const ACHAR * linetypeContinuousName() const;
31 virtual bool isLinetypeByLayerName( const ACHAR * ) const;
32 virtual bool isLinetypeByBlockName( const ACHAR * ) const ;
33 virtual bool isLinetypeContinuousName(const ACHAR * ) const;
38};
39
40
41 bool __cdecl getAnonymousNameInfo(unsigned int &,wchar_t &,int &,bool &,wchar_t const *);
42 static Services const * __cdecl servicesPtr(void);
43
44 static Acad::ErrorStatus getSymbolName( ACHAR *& , AcDbObjectId );
45 static Acad::ErrorStatus getLayerId( AcDbObjectId&, const ACHAR *, AcDbDatabase * );
46 static Acad::ErrorStatus getTextStyleId( AcDbObjectId &, const wchar_t *, AcDbDatabase *);
47 static bool hasLinetype(const wchar_t *, AcDbDatabase * );
49 static Acad::ErrorStatus getBlockId(AcDbObjectId & ,const wchar_t *, AcDbDatabase *) ;
51 static bool hasBlock(wchar_t const *, AcDbDatabase *);
53 static bool hasLayer(wchar_t const *, AcDbDatabase *);
54 static Acad::ErrorStatus getLinetypeId(AcDbObjectId & , const wchar_t *, AcDbDatabase *) ;
55 static bool hasRegApp( wchar_t const *, AcDbDatabase * );
57 static Acad::ErrorStatus getRegAppId(AcDbObjectId&, const ACHAR *, AcDbDatabase *);
58 static Acad::ErrorStatus getDimStyleId(AcDbObjectId &, const wchar_t *, AcDbDatabase *);
59 static bool hasDimStyle(wchar_t const *, AcDbDatabase *);
61 static bool hasTextStyle(wchar_t const *, AcDbDatabase *);
63 static Acad::ErrorStatus getViewportId(AcDbObjectId &, const wchar_t *, AcDbDatabase *);
64 static bool hasViewport(wchar_t const *, AcDbDatabase *);
66 static Acad::ErrorStatus getViewId(AcDbObjectId &, const wchar_t *, AcDbDatabase *);
67 static bool hasView(wchar_t const *, AcDbDatabase *);
69 static Acad::ErrorStatus getUCSId(AcDbObjectId &, const wchar_t *, AcDbDatabase *);
70 static bool hasUCS(wchar_t const *, AcDbDatabase *);
72};
73
75
80
AcDbSymbolUtilities::Services AcDbSymUtilServices
const AcDbSymUtilServices * acdbSymUtil()
virtual bool isLinetypeByLayerName(const ACHAR *) const
virtual AcDbObjectId textStyleStandardId(AcDbDatabase *) const
const ACHAR * regAppAcadName() const
virtual AcDbObjectId blockModelSpaceId(AcDbDatabase *) const
virtual AcDbObjectId linetypeByLayerId(AcDbDatabase *) const
virtual bool isLinetypeByBlockName(const ACHAR *) const
virtual AcDbObjectId linetypeContinuousId(AcDbDatabase *) const
virtual bool isLinetypeContinuousName(const ACHAR *) const
virtual const ACHAR * linetypeContinuousName() const
virtual AcDbObjectId linetypeByBlockId(AcDbDatabase *) const
virtual AcDbObjectId layerZeroId(AcDbDatabase *) const
static Acad::ErrorStatus getViewId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static bool hasUCS(wchar_t const *, AcDbDatabase *)
static bool hasLayer(wchar_t const *, AcDbDatabase *)
static bool hasViewport(AcDbObjectId, AcDbDatabase *)
static bool hasViewport(wchar_t const *, AcDbDatabase *)
static Acad::ErrorStatus getTextStyleId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static Services const *__cdecl servicesPtr(void)
static bool hasBlock(wchar_t const *, AcDbDatabase *)
static Acad::ErrorStatus getDimStyleId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static Acad::ErrorStatus getLinetypeId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static Acad::ErrorStatus getUCSId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static bool hasView(AcDbObjectId, AcDbDatabase *)
static bool hasTextStyle(wchar_t const *, AcDbDatabase *)
static Acad::ErrorStatus getBlockId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
bool __cdecl getAnonymousNameInfo(unsigned int &, wchar_t &, int &, bool &, wchar_t const *)
static bool hasLayer(AcDbObjectId, AcDbDatabase *)
static bool hasBlock(AcDbObjectId, AcDbDatabase *)
static bool hasDimStyle(wchar_t const *, AcDbDatabase *)
static bool hasUCS(AcDbObjectId, AcDbDatabase *)
static Acad::ErrorStatus getViewportId(AcDbObjectId &, const wchar_t *, AcDbDatabase *)
static Acad::ErrorStatus getLayerId(AcDbObjectId &, const ACHAR *, AcDbDatabase *)
static bool hasView(wchar_t const *, AcDbDatabase *)
static bool hasRegApp(wchar_t const *, AcDbDatabase *)
static bool hasLinetype(const wchar_t *, AcDbDatabase *)
static Acad::ErrorStatus getSymbolName(ACHAR *&, AcDbObjectId)
static Acad::ErrorStatus getRegAppId(AcDbObjectId &, const ACHAR *, AcDbDatabase *)
static bool hasLinetype(AcDbObjectId, AcDbDatabase *)
static bool hasRegApp(AcDbObjectId, AcDbDatabase *)
static bool hasDimStyle(AcDbObjectId, AcDbDatabase *)
static bool hasTextStyle(AcDbObjectId, AcDbDatabase *)