CN103412764A - Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming - Google Patents

Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming Download PDF

Info

Publication number
CN103412764A
CN103412764A CN2013103907406A CN201310390740A CN103412764A CN 103412764 A CN103412764 A CN 103412764A CN 2013103907406 A CN2013103907406 A CN 2013103907406A CN 201310390740 A CN201310390740 A CN 201310390740A CN 103412764 A CN103412764 A CN 103412764A
Authority
CN
China
Prior art keywords
data type
data
key word
memory access
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103907406A
Other languages
Chinese (zh)
Other versions
CN103412764B (en
Inventor
方鸿灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN ROADROVER TECHNOLOGY Co Ltd filed Critical SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Priority to CN201310390740.6A priority Critical patent/CN103412764B/en
Publication of CN103412764A publication Critical patent/CN103412764A/en
Application granted granted Critical
Publication of CN103412764B publication Critical patent/CN103412764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the field of computer programming, in particular to a method, a unit and a processor for generating properties in ios programming. In the method, the related information of a data member to be declared, which is the data type and data name of the data member, is first obtained, and according to the related information and the corresponding relation between prestored data types and keywords property, a corresponding keyword property is then generated. By means of the method, when the keyword property of a certain data member needs to be obtained, the keyword property of the data member to be declared can be generated and outputted as long as the related information is inputted by a worker, consequently, the keyword property of the data member can be conveniently used by the worker, and does not need to be manually declared any more, the steps of property generation are simplified, and a great deal of time is saved.

Description

Method, device and processor that in the ios programming, memory access generates
Technical field
The present invention relates to the computer programming field, particularly relate to method, device and processor that in a kind of ios programming, memory access generates.
Background technology
At ios(Internetworking Operating System-Cisco, CISCO network configuration system) in the programming, system provides a key word property, this key word is for identification data member's attribute, can automatically generate the method that function is set and the method for obtaining function, a kind of more succinct way access data member is provided, usually described key word property has been called to memory access.Therefore, in the programming process of ios, described key word property is by a large amount of uses.
In prior art, during for a key word property of each data member statement, all need the staff to obtain the data type of this data member, then, according to the data type of described data member, manually for described data member, state its corresponding key word property.
But the inventor finds in the application's research process, while according to prior art, being data member statement key word property, the mode of the artificial statement of adopting, after needing the staff to determine the corresponding key word property of described data member, by its manual input, workload is larger.Especially, in a procedural item, often has a lot of classes, and in each class, have a large amount of data members, in this case, when completing a project, need to carry out for a large amount of data members the statement of key word property, thereby expend the plenty of time.
Summary of the invention
In view of this, the object of the present invention is to provide method, device and processor that in a kind of ios programming, memory access generates, while to solve the data member proposed in background technology, carrying out the statement of key word property, can expend the problem of plenty of time, specific embodiments is as follows:
A kind of method that in ios programming, memory access generates comprises:
Obtain the relevant information of data member to be stated, described relevant information comprises: data type and data name;
Corresponding relation and described relevant information according to the data type prestored and key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
Preferably, when described relevant information is while by the mode that priority is obtained data type and data name, obtaining, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
After obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
After obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
Preferably, when described relevant information is while by the mode that priority is obtained data name and data type, obtaining, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
After obtaining described data name, according to described data name, generate the data name memory access that comprises described data name;
After obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
Preferably, when the described relevant information got for the information that comprises simultaneously data type and data name to the time, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
According to the separator of described information centering, extract data type and the data name of described information centering;
According to described data type, and the corresponding relation of described data type and key word property, the data type memory access that comprises described data type generated;
According to described data type memory access and described data name, generate and export corresponding key word property;
Or,
According to the separator of described information centering, extract data type and the data name of described information centering;
According to the described data name received, generate the data name memory access that comprises described data name;
According to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
Accordingly, the invention also discloses the device that in a kind of ios programming, memory access generates, comprising:
Acquisition module, be used to obtaining the relevant information of data member to be stated, described relevant information comprises: data type and data name;
Generate output module, for the data type according to prestoring and corresponding relation and the described relevant information of key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
Preferably, in described acquisition module, when described relevant information is while by the mode that priority is obtained data type and data name, obtaining, described generation output module comprises:
The first generation unit, for after obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The second generation unit, for after obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
Preferably, in described acquisition module, when described relevant information is while by the mode that priority is obtained data name and data type, obtaining, described generation output module comprises:
The 3rd generates unit, for after obtaining described data name, according to described data name, generates the data name memory access that comprises described data name;
The 4th generation unit, for after obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
Preferably, in described acquisition module, when the described relevant information got for the information that comprises simultaneously data type and data name to the time, described generation output module comprises:
The first extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 5th generation unit, for according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The 6th generation unit, for according to described data type memory access and described data name, generate and export corresponding key word property;
Or,
The second extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 7th generation unit, for the described data name according to receiving, generate the data name memory access that comprises described data name;
The 8th generation unit, for according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
Accordingly, the invention also discloses a kind of processor, it is characterized in that, on the chip of described processor, be integrated with the device that in ios programming as above, memory access generates.
The method that in the disclosed ios programming of the application, memory access generates, at first obtain the relevant information of data member to be stated, described relevant information is data type and the data name of described data member, then, according to described relevant information, and the corresponding relation of the data type prestored and key word property, can generate corresponding key word property.By the disclosed method of the application, when needs obtain the key word property of a certain data member, only need the staff to input corresponding relevant information, can generate the key word property of data member described to be stated, and, by described key word property output, be convenient to the staff and use, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Wherein, the mode of described output key word property, can be that the display window by processor shows, is convenient to the staff and obtains.In the ios programming, when the described key word property of needs, the key word property that the staff shows by copying described display window, can affix to it in required ios program.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the workflow schematic diagram of the method that in the disclosed a kind of ios programming of the embodiment of the present invention, memory access generates;
Fig. 2 is in the method that in the disclosed a kind of ios programming of the embodiment of the present invention, memory access generates, and generates the workflow schematic diagram of memory access;
Fig. 3 is in the method that in disclosed another the ios programming of the embodiment of the present invention, memory access generates, and generates the workflow schematic diagram of memory access;
Fig. 4 is the structural representation of the device that in the disclosed a kind of ios programming of the embodiment of the present invention, memory access generates.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
In order to solve in prior art, when carrying out the ios programming, for a large amount of data members, carry out the statement of key word property, can expend a large amount of manpowers and the problem of time, the application discloses a kind of method that in ios programming, memory access generates, key word property can the identification data member attribute, for automatically generating, functional based method is set and obtains functional based method, therefore be commonly called memory access.
Embodiment mono-
Workflow schematic diagram shown in Figure 1, the method that in the disclosed ios programming of the application, memory access generates comprises the following steps:
Step S1, obtain the relevant information of data member to be stated, described relevant information comprises: data type and data name.
Data member in same class, often have different data types, and have certain corresponding relation between the attribute of different data types and key word property.This data type of NSMutableDictionary for example, the attribute of corresponding key word property is nonatomic, copy, this data type of IBOutletUIView, the attribute of corresponding key word property is nonatomic, strong.Therefore, when the relevant information of obtaining wait the data member of stating, need to obtain described data type and data name.
The data type that step S2, basis prestore and corresponding relation and the described relevant information of key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
Before generating described key word property, owing between data type and key word property, having certain corresponding relation, therefore, need the corresponding relation between pre-stored described data type and key word property.After getting described relevant information and described corresponding relation, generate and export the key word property that data member described to be stated is corresponding, described key word property is the memory access of data member described to be stated.
The method that in the disclosed ios programming of the application, memory access generates, at first obtain the relevant information of data member to be stated, described relevant information is data type and the data name of described data member, then, according to described relevant information, and the corresponding relation of the data type prestored and key word property, can generate corresponding key word property.By the disclosed method of the application, when needs obtain the key word property of a certain data member, only need the staff to input corresponding relevant information, can generate the key word property of data member described to be stated, and, by described key word property output, be convenient to the staff and use, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Wherein, the mode of described output key word property, can be that the display window by processor shows, is convenient to the staff and obtains.In the ios programming, when the described key word property of needs, the key word property that the staff shows by copying described display window, can affix to it in required ios program.
Embodiment bis-
In the application's the disclosed embodiments two, disclose in step S2, generated and exported the mode of the key word property that data member described to be stated is corresponding.Wherein, when in step S1, obtaining the relevant information of data member to be stated, when successively obtaining the mode of data type and data name successively, workflow schematic diagram shown in Figure 2, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
Step S11, after obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type.
For example, when the data type of data member to be stated is the NSString type, when data name is str, when getting described data type, while being the NSString type, corresponding generation comprises one section code "@property (nonatomic, copy) NSString* " of this data type, and this section code is the data type memory access that comprises data type.
Step S12, after obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
For example, when getting data name and be str, in conjunction with before the data type memory access "@property (nonatomic; copy) NSString* " that gets, generation output code " (@property (nonatomic; copy) NSString*str) ", this section code is corresponding key word property.
In this embodiment, at first obtain the data type of data member to be stated, then obtain the data name of this data member.When getting described data type, generate the data type memory access that comprises accordingly this data type; After getting described data name, again according to described data type memory access and described data name, can generate and export corresponding key word property, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Embodiment tri-
The another kind of mode that generates and export the key word property that data member described to be stated is corresponding, in the application's the disclosed embodiments three, is disclosed in step S2.Wherein, when in step S1, obtaining the relevant information of data member to be stated, when successively obtaining the mode of data type and data name successively, workflow schematic diagram shown in Figure 3, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
Step S21, after obtaining described data name, according to described data name, generate the data name memory access comprise described data name.
Receiving after the data name of the data member of stating, can generate the code that comprises described data name, for example, when the data type of data member to be stated is the NSString type, when data name is str, after receiving data name str, generate one section code that comprises this data name, this code is the data name memory access, wherein, the way of realization of described data name memory access can be " (property*str) ", certainly, can be other way of realization, the application does not do restriction yet.
Step S22, after obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
For example, after when generation, comprising the data name memory access of data name str, when getting described data type and be the NSString type, namely can be according to described data name memory access and described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property and be " (@property (nonatomic, copy) NSString*str) ", this section code is corresponding key word property.
In this embodiment, at first obtain the data name of data member to be stated, and, according to described data name, generate the one section code that comprises accordingly data name, i.e. the data name memory access; Then, then after getting data type, the corresponding relation according to described data name memory access and described data type and key word property, can generate and export corresponding key word property.
In this embodiment, when needs obtain the key word property of a certain data member, only need the staff to input successively corresponding data name and data type, can generate and export the key word property of data member described to be stated, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Embodiment tetra-
The another kind of mode that generates and export the key word property that data member described to be stated is corresponding, in the application's the disclosed embodiments four, is disclosed in step S2.Wherein, when in step S1, obtaining the relevant information of data member to be stated, described relevant information is for to comprise the information pair of data type and data name simultaneously, in this case, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
At first, according to the separator of described information centering, extract data type and the data name of described information centering.
The information pair that includes data type and data name, in order to distinguish data type and data name, be provided with separator usually, and described separator can be " * ", or be that the forms such as space, underscore realize, the application does not do restriction to this.
To get described information to rear, in order according to described data type and data name, operating respectively, according to the separator of described information centering, described information, to decomposing, to be obtained respectively to data type and the data name of described information centering.
Secondly, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type.
Finally, according to described data type memory access and described data name, generate and export corresponding key word property.
Wherein, generate described data type memory access and generation and export the concrete steps of described key word property, basic identical with the disclosed scheme of embodiment bis-, repeat no more herein.
By above-mentioned disclosed scheme, when needs obtained the key word property of a certain data member, the staff only need to input the information pair that this data member is corresponding.Obtaining described information to rear, this programme extracts respectively data type and the data name of described information centering, and according to described data type, generate corresponding data type memory access, then according to described data type memory access and described data name, generate and export corresponding key word property.
Accordingly, when the described relevant information of obtaining for the information that comprises simultaneously data type and data name to the time, described generation is also exported the method for the key word property that data member described to be stated is corresponding, can also be:
At first, according to the separator of described information centering, extract data type and the data name of described information centering;
Secondly, according to the described data name received, generate the data name memory access that comprises described data name;
Finally, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
In this scheme, generate described data name memory access and generation and export the concrete steps of described key word property, basic identical with the disclosed scheme of embodiment tri-, repeat no more herein.
By such scheme, when needs obtained the key word property of a certain data member, the staff only need to input the information pair that this data member is corresponding.Obtaining described information to rear, this programme extracts respectively data type and the data name of described information centering, and according to described data name, generate corresponding data name memory access, then according to described data name memory access and described data type, generate and export corresponding key word property.
In the disclosed scheme of embodiment tetra-, when needs obtain the key word property of a certain data member, only need the staff to input the information pair that comprises data name and data type, can generate and export the key word property of data member described to be stated, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Embodiment five
Accordingly, the invention also discloses the device that in a kind of ios programming, memory access generates, structural representation shown in Figure 4, the device that in described ios programming, memory access generates comprises: acquisition module 11 and generate output module 12, wherein,
Described acquisition module 11, be used to obtaining the relevant information of data member to be stated, described relevant information comprises: data type and data name;
Described generation output module 12, for the data type according to prestoring and corresponding relation and the described relevant information of key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
The device that in the disclosed ios programming of the application, memory access generates, at first by acquisition module 11, obtain the relevant information of data member to be stated, described relevant information is data type and the data name of described data member, then, according to described relevant information, and the corresponding relation of the data type prestored and key word property, described generation output module 12 can generate corresponding key word property.By the disclosed device of the application, when needs obtain the key word property of a certain data member, only need the staff to input corresponding relevant information, can generate the key word property of data member described to be stated, and, by described key word property output, be convenient to the staff and use, and do not need to adopt again artificial mode to state the key word property of this data member, simplify the step that memory access generates, saved a large amount of time.
Further, in described acquisition module 11, when described relevant information is while by the mode that priority is obtained data type and data name, obtaining, described generation output module 12 comprises:
The first generation unit, for after obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The second generation unit, for after obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
Further, in described acquisition module 11, when described relevant information is while by the mode that priority is obtained data name and data type, obtaining, described generation output module 12 comprises:
The 3rd generates unit, for after obtaining described data name, according to described data name, generates the data name memory access that comprises described data name;
The 4th generation unit, for after obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
Further, in described acquisition module 11, when the described relevant information got for the information that comprises simultaneously data type and data name to the time, described generation output module 12 comprises:
The first extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 5th generation unit, for according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The 6th generation unit, for according to described data type memory access and described data name, generate and export corresponding key word property;
Or,
The second extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 7th generation unit, for the described data name according to receiving, generate the data name memory access that comprises described data name;
The 8th generation unit, for according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
According to above-mentioned disclosed device, the application, when the memory access obtained until claim data, only needs the staff to input and treats that relevant information corresponding to claim data gets final product, and compared to existing technology, has simplified the step that memory access generates, and has saved a large amount of time.
Accordingly, the invention also discloses a kind of processor, on the chip of described processor, be integrated with the device that in ios programming as above, memory access generates.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can with electronic hardware or computer software and electronic hardware in conjunction with realizing.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, namely can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.
If described function usings that the form of SFU software functional unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (9)

1. the method that in ios programming, memory access generates, is characterized in that, comprising:
Obtain the relevant information of data member to be stated, described relevant information comprises: data type and data name;
Corresponding relation and described relevant information according to the data type prestored and key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
2. method according to claim 1, is characterized in that, when described relevant information is while by the mode that priority is obtained data type and data name, obtaining, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
After obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
After obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
3. method according to claim 1, is characterized in that, when described relevant information is while by the mode that priority is obtained data name and data type, obtaining, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
After obtaining described data name, according to described data name, generate the data name memory access that comprises described data name;
After obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
4. method according to claim 1, is characterized in that, when the described relevant information got for the information that comprises simultaneously data type and data name to the time, described generation is also exported the key word property that data member described to be stated is corresponding, comprising:
According to the separator of described information centering, extract data type and the data name of described information centering;
According to described data type, and the corresponding relation of described data type and key word property, the data type memory access that comprises described data type generated;
According to described data type memory access and described data name, generate and export corresponding key word property;
Or,
According to the separator of described information centering, extract data type and the data name of described information centering;
According to the described data name received, generate the data name memory access that comprises described data name;
According to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
5. the device that in ios programming, memory access generates, is characterized in that, comprising:
Acquisition module, be used to obtaining the relevant information of data member to be stated, described relevant information comprises: data type and data name;
Generate output module, for the data type according to prestoring and corresponding relation and the described relevant information of key word property, generate and export the key word property that data member described to be stated is corresponding, thereby obtain the memory access of data member described to be stated.
6. device according to claim 5, is characterized in that, in described acquisition module, when described relevant information is while by the mode that priority is obtained data type and data name, obtaining, described generation output module comprises:
The first generation unit, for after obtaining described data type, according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The second generation unit, for after obtaining described data name, according to described data type memory access and described data name, generate and export corresponding key word property.
7. device according to claim 5, is characterized in that, in described acquisition module, when described relevant information is while by the mode that priority is obtained data name and data type, obtaining, described generation output module comprises:
The 3rd generates unit, for after obtaining described data name, according to described data name, generates the data name memory access that comprises described data name;
The 4th generation unit, for after obtaining described data type, according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
8. device according to claim 5, is characterized in that, in described acquisition module, when the described relevant information got for the information that comprises simultaneously data type and data name to the time, described generation output module comprises:
The first extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 5th generation unit, for according to described data type, and the corresponding relation of described data type and key word property, generate the data type memory access that comprises described data type;
The 6th generation unit, for according to described data type memory access and described data name, generate and export corresponding key word property;
Or,
The second extraction module, for the separator according to described information centering, extract data type and the data name of described information centering;
The 7th generation unit, for the described data name according to receiving, generate the data name memory access that comprises described data name;
The 8th generation unit, for according to described data name memory access, described data type, and the corresponding relation of described data type and key word property, generate and export corresponding key word property.
9. a processor, is characterized in that, on the chip of described processor, is integrated with the device that claim 5 generates to memory access in the described ios of claim 8 any one programming.
CN201310390740.6A 2013-08-30 2013-08-30 Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming Active CN103412764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310390740.6A CN103412764B (en) 2013-08-30 2013-08-30 Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310390740.6A CN103412764B (en) 2013-08-30 2013-08-30 Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming

Publications (2)

Publication Number Publication Date
CN103412764A true CN103412764A (en) 2013-11-27
CN103412764B CN103412764B (en) 2017-01-25

Family

ID=49605777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310390740.6A Active CN103412764B (en) 2013-08-30 2013-08-30 Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming

Country Status (1)

Country Link
CN (1) CN103412764B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881059A (en) * 2020-08-10 2020-11-03 网易(杭州)网络有限公司 Code file detection method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110302516A1 (en) * 2010-06-02 2011-12-08 Oracle International Corporation Mobile design patterns
CN102508669A (en) * 2011-11-14 2012-06-20 浙江鸿程计算机系统有限公司 Automatic program code generating method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110302516A1 (en) * 2010-06-02 2011-12-08 Oracle International Corporation Mobile design patterns
CN102508669A (en) * 2011-11-14 2012-06-20 浙江鸿程计算机系统有限公司 Automatic program code generating method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "IOS开发之----property详解", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_71715BF8010166UJ.HTML》, 24 August 2012 (2012-08-24), pages 1 - 4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881059A (en) * 2020-08-10 2020-11-03 网易(杭州)网络有限公司 Code file detection method and device and electronic equipment
CN111881059B (en) * 2020-08-10 2023-10-27 网易(杭州)网络有限公司 Code file detection method and device and electronic equipment

Also Published As

Publication number Publication date
CN103412764B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
Holten et al. Visual comparison of hierarchically organized data
WO2016144546A3 (en) Systems and methods for generating data visualization applications
CN103425632B (en) A kind of method of serializing, device and processor
CN105354314A (en) Data migration method and device
CN105279435A (en) Webpage vulnerability detecting method and webpage vulnerability detecting device
CN104020994A (en) Flow process definition device and method based on flow system
CN104504137A (en) Data storage method and system
US10891178B2 (en) Method and device for identifying problematic component in storage system
CN104866308A (en) Scenario image generation method and apparatus
CN104267922A (en) Information processing method and electronic equipment
CN104571338A (en) Theme replacement method, circuit and device
CN104460592A (en) Control method and device based on central control system
CN106648568B (en) Method and device for adding check box on table
CN104461649A (en) Chip compatible method and device
CN103605528A (en) Service development method and device
CN104484358A (en) Process template displaying method and system
CN104537301A (en) Method and device for logging in to application and mobile terminal
US9405519B2 (en) Method and system for register clearing in data flow analysis in decompilation
CN107247695A (en) Coding rule generation method, system and storage device
CN106484788A (en) Patent search system based on industry keyword
CN103412764A (en) Method, unit and processor for generating properties in ios (Internetworking Operating System-Cisco) programming
CN104539449A (en) Handling method and related device for fault information
CN105760382A (en) Method and device for importing excel data into database
CN104506630A (en) Method, server and system for generating authority data on basis of user roles
CN103902709A (en) Association analyzing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant